| | |
| | | > |
| | | </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'], |
| | |
| | | cancelModal(){ |
| | | this.enterZx = false; |
| | | this.checkNum = ''; |
| | | this.discountReason = ''; //情况备注 |
| | | this.isEmptyCar = null; |
| | | }, |
| | | cancelModaledit(){ |
| | |
| | | }else if( this.isEmptyCar === null){ |
| | | this.$u.toast(`请检查${this.isNumOk ? '计件数量' :'折吨'},以及是否空车出厂项!`); |
| | | //装卸 为 2 ,但是必须得称重 |
| | | }else if( (this.activeObj.isWeight === 2 ) && (!this.activeObj.skin && !this.activeObj.hair) ){ |
| | | console.log('》》》》》》》》》》》触发') |
| | | this.enterZx = false; |
| | | this.$u.toast(`请先称重后装卸确认!`); |
| | | } |
| | | else{ |
| | | this.enterZx = false; |
| | |
| | | realityMeasure:this.isFlagNum ? this.checkNum : null, |
| | | productId:this.isFlagNum ? this.activeObj.productId : null, |
| | | discountJpg:this.discountJpg, |
| | | containerNumber:this.activeObj.containerNumber ? this.activeObj.containerNumber : null |
| | | containerNumber:this.activeObj.containerNumber ? this.activeObj.containerNumber : null, |
| | | discountReason:this.discountReason, |
| | | },'json').then(res=>{ |
| | | uni.hideLoading(); |
| | | console.log(res,'rez') |