yangan
2024-12-05 b63dc8ccc6163e73b9f4e4b79f9497070e8ba5ec
pages/loadUnload-page/selectTarget/selectTarget.vue
@@ -139,7 +139,7 @@
                   <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">
@@ -823,6 +823,12 @@
         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({
@@ -913,7 +919,13 @@
         },
         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`,
@@ -1015,6 +1027,8 @@
            // }
         this.enterZx = true;
            }
            
         },
         closeModal(){
@@ -1028,6 +1042,7 @@
         cancelModal(){
            this.enterZx = false;
            this.checkNum = '';
            this.discountReason = ''; //情况备注
            this.isEmptyCar = null;
         },
         cancelModaledit(){