yusijie
2026-04-13 b25be565b2d9b856179d207aa5099abd3ae3fa45
pages/ZLGL/QualityReportStep/QualityReportStepBill.vue
@@ -93,7 +93,12 @@
                     <input type="number" v-model="hform.HCheckQty" :disabled="hasCheckQty" />
                  </view>
               </view>
               <view class="form-item">
                  <view class="left">不良数量</view>
                  <view class="right">
                     {{ totalNum }}
                  </view>
               </view>
               <view class="form-item">
                  <view class="left">检验员</view>
                  <view class="right-select">
@@ -293,6 +298,11 @@
         BillListPopupVue,
      },
      computed: {
         // 计算 num 合计
         totalNum() {
           if (!this.HBadReasonList || this.HBadReasonList.length === 0) return 0;
           return this.HBadReasonList.reduce((sum, item) => sum + (item.num || 0), 0);
         }
      },
      data() {
         return {
@@ -1062,7 +1072,7 @@
         
      },
      async onLoad(e) {
         this.setAuto();
         //this.setAuto();
         this.operationType = e.operationType || 1;
         this.hform.HInterID = e.linterid || 0;
         if (this.operationType == 1) {