| | |
| | | <view class="suffix">{{ weighList.coalName || '' }}</view> |
| | | </view> |
| | | <view class="main-information"> |
| | | <view class="prefix">订单类型:</view> |
| | | <view class="suffix">{{ weighList.orderType || '' }}</view> |
| | | </view> |
| | | <view class="main-information"> |
| | | <view class="prefix">皮重:</view> |
| | | <view class="suffix">{{ showWeigh.skin||"" }} |
| | | </view> |
| | |
| | | <!-- 外销订单称皮时,返回加减吨按钮置灰。称毛时可用.外购订单,不出现返回加减吨的按钮 --> |
| | | <u-button type="primary" |
| | | text="确定称重" |
| | | :disabled="realTimeWeigh == 0 || globalinfraredStatus || isweigh || !isInputOrigin" |
| | | :disabled="realTimeWeigh == 0 || globalinfraredStatus || isweigh " |
| | | :loading="isConfirmWeighLoading" |
| | | loadingText="确认" |
| | | @click="confirmWeigh"></u-button> |
| | |
| | | this.weighData.filedId = res.data.filedId; |
| | | this.weighData.coalContactHair = res.data.hairTwo ? res.data.hairTwo : 0; |
| | | this.weighData.coalContactSkin = res.data.skinTwo ? res.data.skinTwo : 0; |
| | | if (this.weighList.orderType == '外购') { |
| | | this.outBuy = true |
| | | this.outsourcing = false; |
| | | // this.firstHairCustomernameShow = true; |
| | | this.outBuy = this.weighList.orderType == '外购' && this.weighList.hair > 0; |
| | | this.outsourcing = this.weighList.orderType == '外销' && this.weighList.hair > 0; |
| | | // if (this.weighList.orderType == '外购') { |
| | | // if (this.weighList.hair > 0) { |
| | | // this.haveInputOrigin = true; |
| | | // this.isInputOrigin = true; |
| | | // this.outBuy = true |
| | | // this.outsourcing = false; |
| | | // } |
| | | // if (this.weighList.hair == 0) { |
| | | // this.outBuy = false; |
| | | // } else if (this.weighList.orderType == '外销') { |
| | | // if (this.weighList.hair > 0) { |
| | | // this.outsourcing = true; |
| | | // this.outBuy = false |
| | | // } |
| | | } else if (this.weighList.orderType == '外销') { |
| | | this.outsourcing = true; |
| | | this.outBuy = false |
| | | } |
| | | // } |
| | | } |
| | | }); |
| | | }, |