| | |
| | | <uni-td align="center"> |
| | | <view class="btnBox"> |
| | | <!-- --> |
| | | <!-- <u-button text='查看' @click="viewDetail(subItem)"></u-button> --> |
| | | <u-button size='mini' v-if="item.isPindan === 1 && $store.state.pvcIdList.includes(subItem.productId) " type='primary' text='查看拼单' @click.native.stop="toViewPindan(subItem)"></u-button> |
| | | <u-button type='primary' text='确认装卸' size='mini' v-if="subItem.flag && isBtnShow(item) && !( item.tmTaskCoalList.length >1 && !item.tmTaskCoalList.find(item=>item.isWeight !== 0) && item.packingType !== 1)" @click.native.stop="enterOk(item,subItem)"></u-button> |
| | | </view></uni-td> |
| | | <uni-td align="left"> |
| | |
| | | close(){ |
| | | |
| | | }, |
| | | toViewPindan(item){ |
| | | uni.navigateTo({ |
| | | url: `/subPages/pvcSplicePage/view?item=${JSON.stringify(item) }` |
| | | }); |
| | | |
| | | }, |
| | | uploadFilePromise(url, num) { |
| | | return new Promise((resolve, reject) => { |
| | | let a = uni.uploadFile({ |
| | |
| | | |
| | | }, |
| | | enterOk(parintItem,item){ |
| | | this.yelvFlag = false; |
| | | if(parintItem.isPindan === 1 && this.$store.state.pvcIdList.includes( item.productId) ){ |
| | | uni.navigateTo({ |
| | | url: `/subPages/pvcSplicePage/kuguan?id=${parintItem.id}&item=${JSON.stringify(parintItem)}` |
| | | }); |
| | | |
| | | }else{ |
| | | this.yelvFlag = false; |
| | | console.log(parintItem,'priintItem') |
| | | // uni.request({ |
| | | // url: `${BaseUrl}/admin/dict/type/tray_weight`, |
| | |
| | | |
| | | // } |
| | | this.enterZx = true; |
| | | } |
| | | |
| | | |
| | | }, |
| | | closeModal(){ |
| | |
| | | cancelModal(){ |
| | | this.enterZx = false; |
| | | this.checkNum = ''; |
| | | this.discountReason = ''; //情况备注 |
| | | this.isEmptyCar = null; |
| | | }, |
| | | cancelModaledit(){ |