| | |
| | | :disabled="addAndSubtractCoalDisabled" |
| | | @click="addAndSubtractCoal" |
| | | class="jiajian" |
| | | v-if="outsourcing"></u-button> |
| | | v-if="outBuy"></u-button> |
| | | <u-button type="primary" |
| | | text="继续卸货" |
| | | @click="UnloadingAgainHandle" |
| | | v-if='outBuy'></u-button> |
| | | v-if='canUnload'></u-button> |
| | | </view> |
| | | <!-- <view class="four" v-if="weighList.orderType !== '外购'">如您需要调整装载货品吨数,请点击返回加减吨</view> --> |
| | | <!-- 放空弹窗 --> |
| | |
| | | isfocus2: false, |
| | | // 外购类型 |
| | | outBuy: true, |
| | | // 外销类型 |
| | | outsourcing: true |
| | | // 继续卸货按钮 |
| | | canUnload: false |
| | | }; |
| | | }, |
| | | watch: { |
| | |
| | | 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; |
| | | 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.outBuy = true |
| | | // this.outsourcing = false; |
| | | // } |
| | | // } else if (this.weighList.orderType == '外销') { |
| | | // if (this.weighList.hair > 0) { |
| | | // this.outsourcing = true; |
| | | // this.outBuy = false |
| | | // } |
| | | // } |
| | | this.outBuy = (this.weighList.orderType.indexOf('销') !== -1) && this.showWeigh.hair > 0; |
| | | // 继续卸货第二次称重就会有,无订单类型限制 |
| | | this.canUnload = this.showWeigh.hair > 0 || this.showWeigh.skin > 0; |
| | | } |
| | | }); |
| | | }, |
| | |
| | | width: calc(100% - 60rpx); |
| | | box-sizing: border-box; |
| | | height: 630rpx; |
| | | margin: 0 vww(15) vww(45) vww(15); |
| | | margin: 0 vww(15) vww(25) vww(15); |
| | | background: #ffffff; |
| | | box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12); |
| | | border-radius: 20rpx; |
| | |
| | | } |
| | | |
| | | .three { |
| | | margin: 0 auto vww(20); |
| | | flex: 0.7; |
| | | display: flex; |
| | | margin: 0 auto vww(5); |
| | | width: 96%; |
| | | display: grid; |
| | | grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); |
| | | justify-content: center; |
| | | gap: vww(10); |
| | | color: #939393; |
| | | |
| | | .u-button { |
| | | &:nth-of-type(2) { |
| | | margin-left: vww(10); |
| | | } |
| | | |
| | | &:nth-of-type(3) { |
| | | margin-left: vww(10); |
| | | } |
| | | width: vww(90); |
| | | } |
| | | |
| | | // .u-button { |
| | | // &:nth-of-type(2) { |
| | | // margin-left: vww(10); |
| | | // } |
| | | |
| | | // &:nth-of-type(3) { |
| | | // margin-left: vww(10); |
| | | // } |
| | | // } |
| | | } |
| | | |
| | | .four { |