yangan
2024-06-26 9166395640600a5ec596bfbeefa00906597f095d
pages/loadUnload-page/selectTarget/selectTarget.vue
@@ -77,7 +77,7 @@
                           <view class="third-line_text">仓库:</view>
                           <view >{{ item.bunkerName }}</view>
                        </view>
                        <view class="third-line">
                        <view class="third-line"  v-if="item.productName === 'EDC'">
                           <view class="third-line_text">质检状态:</view>
                           <view> <u-tag :text="checkStatusList[item.checkStatus]" plain > </u-tag></view>
                        </view>
@@ -105,7 +105,6 @@
                  <uni-th width='140'
                  align="center">操作</uni-th>
                   <uni-th align="center" width='120'>产品</uni-th>
                  <uni-th align="center">车牌号</uni-th>
                  <uni-th align="center">类型</uni-th>
                  <uni-th align="center">皮重</uni-th>
                  <uni-th align="center">毛重</uni-th>
@@ -124,8 +123,6 @@
                  </view></uni-td>
                  <uni-td align="center">
                     <view>{{ subItem.productName }}</view></uni-td>
                     <uni-td align="center">
                     <view style="width:150rpx">{{ subItem.carNo }}</view></uni-td>
               <uni-td>
                  <view class="name">{{ subItem.orderType }}</view>
               </uni-td>
@@ -237,7 +234,7 @@
               bunkerId:""
            },
            checkStatusList:[
               '待取样','已取样','合格','不合格'
               '待取样','已取样','质检中','待复核','复核中','待审定','审定中','已完成'
            ],
            index: '',
            enterZx:false,
@@ -332,8 +329,12 @@
                  });
                  console.log(this.detailData,'detailData')
               }else if(res.code === 1){
                  this.detailData = [];
                  this.$u.toast(res.msg ? res.msg : '操作失败!!')
               }
            }).catch(err=>{
               this.detailData = [];
               this.$u.toast(res.msg ? res.msg : '操作失败!!')
            })
         },
@@ -361,7 +362,6 @@
         },
         open(){},
         enterOk(item){
            console.log('123外购退 和 外购',item)
            this.activeObj = item;
            if( (item.orderType === '外购' ||item.orderType === '外购退' ) &&  item.productQuantity){
               this.isNumOk = true;
@@ -400,6 +400,7 @@
               discount:this.isClean ? this.checkNum : null,
               isPretendDischar:this.activeObj.isPretendDischar
             },'json').then(res=>{
               uni.hideLoading();
               console.log(res,'rez')
               this.checkNum = '';
               if(res.code === 1){
@@ -416,7 +417,7 @@
            }).catch((err) => {
                this.$u.toast(err.msg || '失败');
            }).finally(() => {
            uni.hideLoading();
                   
            })
         },
@@ -463,6 +464,9 @@
<style lang="scss"
   scoped>
::-webkit-scrollbar{
        display: none;
   }
   .table{
   width: 100%;
  /deep/ .uni-table{
@@ -657,7 +661,7 @@
         .third {
            width: 96%;
            height:  120rpx;
            height:  auto;
            font-size: 30rpx;
            font-weight: 300;
            color: #515151;