yangan
昨天 a28d0135ee42809b2c5863609da37155d3ecba5b
subPages/bill-of-lading-details/bill-of-lading-details.vue
@@ -119,7 +119,7 @@
                  <uni-th align="center">件数</uni-th>      
               </uni-tr>
               <uni-tr v-for="(subItem, index) in tmTaskCoalList" :key="index">
                  <uni-td align="center">
                  <uni-td align="left">
                     <view class="name">{{ subItem.productName }}</view></uni-td>
               <!-- <uni-td align='right'>
                  <view  v-if="subItem.skin">{{ Number( subItem.skin).toFixed(2)  || ''}}</view>
@@ -153,7 +153,7 @@
         </view>
      </view>
      <view class="origin-info"
         v-if="originInfoVisible&&!isSpecial">
         v-if="originInfoVisible&&!isSpecial&&isShowYuanFa">
         <view class="origin-info_wrapper">
            <view class="origin-info_content">
               <!-- 折叠 -->
@@ -618,6 +618,9 @@
         name() {
            return uni.getStorageSync('name');
         },
         roleType() {
            return uni.getStorageSync('roleType');
         },
         openid() {
            return uni.getStorageSync('openid');
         },
@@ -702,9 +705,16 @@
               return  tempArr[index];
             }
         },
         isShowYuanFa(){
            if(this.coalContactClean && !this.coalDetailsData.tmTaskCoalList.length){
               return false
            }else{
               return true
            }
         }
      },
      methods: {
         ...mapMutations(['changewsgVisiable', 'changeisUploadimg', 'changeglobalIsFirstWeighing']),
@@ -831,7 +841,7 @@
                  }
               }, 1000)
               }
               this.coalDayPage();
            })
         },
         // 日志查询
@@ -841,17 +851,32 @@
                  if (res.code == 0) {
                     this.timeLineStatus = res.data[0].taskStatus
                     this.timeLineEqCode = res.data[0].eqCode
                     this.dayRZ = res.data.map(v => {
                        let slicedate = v.taskStatusDes.slice(0, 10);
                        if (slicedate == this.currentDate) {
                     this.dayRZ = res.data.map((v,i) => {
                           let slicedate = v.taskStatusDes.slice(0, 10);
                        if(this.coalDetailsData.packingType === 1 && (this.roleType == 3 || this.roleType ==1 )){
                        if (slicedate == this.currentDate && !/[皮毛净]/.test(v.taskStatusDes)) {
                           return {
                              ...v,
                              taskStatusDes: v.taskStatusDes.slice(10)
                           };
                        } else {
                           return { ...v }
                        } else if( /[皮毛净]/.test(v.taskStatusDes)){
                           return null
                        }else{
                           return {...v}
                        }
                     });
                        }else{
                           if (slicedate == this.currentDate) {
                        return {
                           ...v,
                                 taskStatusDes: v.taskStatusDes.slice(10)
                              };
                           } else {
                              return { ...v }
                           }
                        }
                     }).filter(Boolean);
                  }
               });
            }, 5000);