yangan
2023-11-10 f880863b9292a4cc4c0a484f721bb87bf42e57ed
pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue
@@ -25,7 +25,7 @@
                  font-weight: 400;
                  color: #F81414;
                  text-shadow: 0rpx 4rpx 0rpx #1A66FE;">
                     /{{ cars2 ||carNum||'' }}
                     /{{ (cars2||'') ||(carNum||'')||'' }}
                  </text>
               </view>
            </view>
@@ -60,7 +60,7 @@
            </view>
         </view>
         <view class="block-top">
            <combined-title title="提煤单历史"></combined-title>
            <combined-title title="通知单历史"></combined-title>
            <view class="total">
               总净重
               <text>{{ total.toFixed(2) || 0 }}</text>
@@ -68,7 +68,7 @@
         </view>
         <view class="main-banner">
            <view class="empty-pointer"
               v-if="!yyDailyList">暂无更多数据</view>
               v-if="yyDailyList.length===0">暂无更多数据</view>
            <view class="main-block">
               <view class="main-container">
                  <view class="main-container_content"
@@ -86,7 +86,8 @@
                     <view class="second-line">
                        <view class="line-content">
                           <view class="line-content_text">净重</view>
                           <view class="line-content_num">{{ item.clean.toFixed(2)  || 0 }}</view>
                           <view class="line-content_num">{{ item.clean?item.clean.toFixed(2):''  || '' }}
                           </view>
                        </view>
                        <view class="line-content">
                           <view class="line-content_text">余量</view>
@@ -122,7 +123,7 @@
            orderPlanId: null,
            orderCode: null,
            orderPlanDetail: {},
            coalStatus: ['未称重', '称重中', '验质中', '称重完成'],
            coalStatus: ['未称重', '称重中', '验质中', '称重完成', '处理完成'],
            yyDailyList: [],
            // 领取数量
            cars2: '',
@@ -160,11 +161,13 @@
                  this.yyDailyList = res.data.yyDailyList;
                  if (res.data.yyDailyList) {
                     this.total = this.yyDailyList.reduce((prev, cur) => {
                        cur.clean = cur.clean ? cur.clean : 0
                        return prev + cur.clean;
                     }, 0);
                  } else {
                     this.total = 0;
                  }
                  console.log();
                  uni.hideLoading();
               } else {
                  this.$u.toast('加载失败,请稍后重试');