zrg
2026-04-15 fb7fd244e76d456029558f8a764371658c3bdb28
pages/ZLGL/QualityReportStep/QualityReportStepBill.vue
@@ -81,23 +81,14 @@
                     <input type="text" disabled :value="hform.HMaterName" />
                  </view>
               </view>
               <view class="form-item">
                   <view class="left">源单数量</view>
                   <view class="right disabled">
                       <input type="number" v-model="hform.HSourceBillQty" />
                   </view>
               </view>
               <view class="form-item">
                  <view class="left">检验数量</view>
                  <view class="right">
                     <input type="number" v-model="hform.HCheckQty" :disabled="hasCheckQty" />
                  <view class="left">工序</view>
                  <view class="right disabled">
                     <input type="text" disabled :value="hform.HProcName" />
                  </view>
               </view>
               <view class="form-item">
                  <view class="left">不良数量</view>
                  <view class="right">
                     {{ totalNum }}
                  </view>
               </view>
               <view class="form-item">
                  <view class="left">检验员</view>
@@ -113,17 +104,42 @@
                  </view>
               </view>
               
               <view class="form-item">
                  <view class="left">工序</view>
                  <view class="right disabled">
                     <input type="text" disabled :value="hform.HProcName" />
                  </view>
                   <view class="left">源单数量</view>
                   <view class="right disabled">
                       <input type="number" v-model="hform.HSourceBillQty" />
                   </view>
               </view>
               
               
               
               <view class="form-item">
                  <view class="left">送检数量</view>
                  <view class="right">
                     <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">
                     {{ hform.HCheckQty-totalNum }}
                  </view>
               </view>
               <view class="form-item">
                  <view class="left">不良率</view>
                  <view class="right">
                     {{ totalNum/(hform.HCheckQty==0?1:hform.HCheckQty) }}
                  </view>
               </view>
               <view class="form-item" style="width: 1350rpx;">
                  <view class="left">备注</view>
                  <view class="right">
                     <input type="text" v-model="hform.HRemark" value="" />
@@ -486,7 +502,7 @@
            let sWhere = ` and HUSEORGID = '${uni.getStorageSync('OrganizationID')}' and ISNULL(审核人,'')  != '' `
            if (this.serverUrl == 'http://122.228.39.234:7177/API/') {
                //海诚根据物料分组设置不良原因
               sWhere += " and 不良类型 like '%成品%' order by 不良原因代码"
               sWhere += (" and HDeptID="+this.hform.HDeptID+" order by 不良原因代码")
            }else{
               sWhere += " order by 不良原因代码"
            }
@@ -577,7 +593,7 @@
               this.hform.HProcID= data[0].HProcID
               this.hform.HProcName= data[0].当前工序
               this.hform.HDeptID= data[0].HWorkShopID
               this.getGy_BadReasonList();
            } else {
               CommonUtils.showTips({
                  title: '温馨提示',
@@ -648,6 +664,7 @@
                     this.hform.HProcName= data[0].当前工序
                  this.hform.HDeptID= data[0].HWorkShopID
                     this.$refs['billList'].exit()
                  this.getGy_BadReasonList();
                 } else {
                     CommonUtils.showTips({
                         title: '温馨提示',
@@ -1080,7 +1097,7 @@
         } else if (this.operationType == 2) {
         } 
         this.getGy_BadReasonList();
         //this.getGy_BadReasonList();
         await this.InitHSource();
         await this.InitHEmp();
         await this.InitHGroup();
@@ -1179,6 +1196,7 @@
               font-size: 30rpx;
            }
         }
         .right-select {
            //padding: 8rpx 20rpx;
            font-size: 30rpx;