| | |
| | | <uni-th align="center" width='100'>数量</uni-th> --> |
| | | <uni-th align="center" width='120'>确认量</uni-th> |
| | | <uni-th align="center" width='120'>计划量</uni-th> |
| | | <uni-th align="center" width='120'>计重方式</uni-th> |
| | | <uni-th align="center" width='150'>计重方式</uni-th> |
| | | |
| | | <!-- <uni-th align="center" width='100'>实际量</uni-th> --> |
| | | |
| | |
| | | <uni-th align="center" width='100'>数量</uni-th> --> |
| | | <uni-th align="center" width='120'>确认量</uni-th> |
| | | <uni-th align="center" width='120'>计划量</uni-th> |
| | | <uni-th align="center" width='120'>计重方式</uni-th> |
| | | <uni-th align="center" width='150'>计重方式</uni-th> |
| | | |
| | | |
| | | </uni-tr> |
| | |
| | | <view v-if="activeObj.skin">皮重:{{activeObj.skin.toFixed(2) || ''}}</view> |
| | | <view v-if="activeObj.hair">毛重:{{activeObj.hair.toFixed(2) || ''}}</view> |
| | | </view> |
| | | <view v-if="activeObj.isContainerNum"><span>集装箱号: </span> |
| | | <u--input v-model="activeObj.containerNumber" |
| | | clearable |
| | | style="border: solid 1px #ccc;" |
| | | placeholder="输入集装箱号" |
| | | prefixIconStyle="color: #909399"></u--input> |
| | | <view><text style="color: red;">请认真核对集装箱号再提交!</text></view> |
| | | </view> |
| | | <!-- <view v-if="/聚氯乙烯树脂/.test(activeObj.productName)"> |
| | | <view>计划量:{{Number(activeObj.planMeasure)}}</view> |
| | | <view >实际量:{{ Number(activeObj.productQuantity)}}</view> |
| | | </view> --> |
| | | <view class="queren" v-show="isCleanFlag === '1'"> |
| | | <text>请输入</text>: |
| | | <text v-if="isNumOk || isFlagNum">确认量:</text> |
| | | <text v-if="isClean || blend">请输入:</text> |
| | | <u--input |
| | | type='digit' |
| | | :disabled="yelvFlag" |
| | |
| | | v-model="checkNum" |
| | | > |
| | | </u--input> |
| | | <text> {{isNumOk ? activeObj.productUnit : '吨' }}</text> |
| | | <text v-if="isNumOk || isFlagNum || blend"> {{ activeObj.productUnit || '件' }}</text> |
| | | <text v-if="isClean"> {{activeObj.productUnit || '吨' }}</text> |
| | | </view> |
| | | <!-- v-if="activeObj.containerNumber" --> |
| | | |
| | | |
| | | <!-- 是否输入折吨 --> |
| | | <view style="display:flex;margin-top:20rpx" v-if="isClean">是否需要折吨: <u-radio-group |
| | | v-model="isCleanFlag" |
| | |
| | | <view class="pvcBig" v-if="activeObj.productName === '聚氯乙烯树脂' && activeObj.packingType === 5"> |
| | | |
| | | </view> |
| | | |
| | | |
| | | <view v-if=" activeObj.planMeasure">计划量:{{activeObj.planMeasure}}{{ activeObj.productUnit || '件' }}</view> |
| | | <view v-if=" activeObj.productQuantity">确认量:{{activeObj.productQuantity}}{{ activeObj.productUnit || '件' }}</view> |
| | | |
| | | <view v-if="activeObj.containerNumber"><span>集装箱号:</span>{{activeObj.containerNumber}}</view> |
| | | |
| | | |
| | | </view> |
| | | <view style="display:flex;margin-top:20rpx">是否空车出厂: <u-radio-group |
| | |
| | | > |
| | | </u-radio> |
| | | </u-radio-group></view> |
| | | <!-- 折吨原因 --> |
| | | <view class="queren" style="display: flex;" v-if="isClean && isCleanFlag === '1'"> |
| | | <text>折吨原因: |
| | | </text><u--input |
| | | clearable |
| | | type='text' |
| | | border="bottom" |
| | | v-model="discountReason" |
| | | placeholder="请输入折吨原因" |
| | | /> |
| | | |
| | | </view> |
| | | <view v-if="isClean && isCleanFlag === '1'"><text>折吨照片:</text><u-upload :fileList="fileList1" |
| | | @afterRead="afterRead" |
| | | @delete="deletePic" |
| | |
| | | enterXg:false, |
| | | isOkNum:'', |
| | | fileList1:[], |
| | | discountReason:'', |
| | | activeObjedit:{}, |
| | | discountJpg:'', |
| | | proType:['散装','液氯瓶装','罐装','PVC25','PVC80','PVC1150','PVc1200'], |
| | |
| | | this.isCleanFlag = '1'; |
| | | this.blend = false; |
| | | this.isFlagNum = true;; |
| | | this.checkNum = item.planMeasure; |
| | | this.checkNum = item.productQuantity; |
| | | } |
| | | //瓶装液氯条件 |
| | | //EDC 质检完成方可确认 |
| | | if(item.packingType === 1){ |
| | | this.isNumOk = true; |
| | | this.isClean = false; |
| | | this.yelvFlag = true; |
| | | // this.yelvFlag = true; |
| | | this.checkNum = item.productQuantity; |
| | | this.blend = false; |
| | | this.isCleanFlag = '1'; |
| | |
| | | cancelModal(){ |
| | | this.enterZx = false; |
| | | this.checkNum = ''; |
| | | this.discountReason = ''; //情况备注 |
| | | this.isEmptyCar = null; |
| | | }, |
| | | cancelModaledit(){ |
| | |
| | | uni.showLoading({ |
| | | title:'加载中' |
| | | }); |
| | | console.log(this.activeObj,(this.activeObj.isWeight === 2 || this.activeObj.packingType === 1) && (this.activeObj.skin || this.activeObj.hair),'activeObj') |
| | | console.log(this.activeObj,this.activeObj.productName ==='二氯乙烷(EDC)' && this.activeObj.checkStatus !== 7,'12313') |
| | | if(this.activeObj.productName ==='二氯乙烷(EDC)' && this.activeObj.checkStatus !== 7){ |
| | | this.enterZx = false; |
| | | this.$u.toast(`请检查当前二氯乙烷(EDC)DC订单质检状态后在确认装卸!`); |
| | |
| | | realityMeasure:this.isFlagNum ? this.checkNum : null, |
| | | productId:this.isFlagNum ? this.activeObj.productId : null, |
| | | discountJpg:this.discountJpg, |
| | | containerNumber:this.activeObj.containerNumber ? this.activeObj.containerNumber : null, |
| | | discountReason:this.discountReason, |
| | | },'json').then(res=>{ |
| | | uni.hideLoading(); |
| | | console.log(res,'rez') |