yangan
2024-06-19 8bedb5a0c09876046b397a94a9b12bb6e805d284
pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue
@@ -12,7 +12,7 @@
            <view class="middle-container">
               <view class="dept-name">
                  {{ deptName }}
                  <text v-show="deptName">({{ coalName }})</text>
                  <text v-show="deptName">({{ coalName  || productName}})</text>
               </view>
               <view class="dept-num">
                  <text style="font-size: 46rpx;
@@ -114,6 +114,7 @@
         this.cars2 = value.cars2 ? value.cars2 : null;
         this.deptName = value.deptName;
         this.coalName = value.coalName;
         this.productName =  value.productName;
         this.carNum = value.carNum ? value.carNum : null
         console.log(value, '发运计划参数');
      },
@@ -129,6 +130,7 @@
            // 领取数量
            cars2: '',
            coalName: '',
            productName:'',
            deptName: '',
            total: 0,
            carNum: ''
@@ -164,6 +166,7 @@
                     this.total = this.yyDailyList.reduce((prev, cur) => {
                        return prev + cur.clean;
                     }, 0);
                     console.log(this.total,'total')
                  } else {
                     this.total = 0;
                  }