gjy 2 лет назад
Родитель
Сommit
42f40a29d5
1 измененных файлов с 32 добавлено и 32 удалено
  1. 32 32
      src/views/houseSelfCollect/inspectionManagementNew.vue

+ 32 - 32
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -434,7 +434,7 @@
                     v-model="deptBudgetList.reImperfectGrain" type="number" @mousewheel.native.prevent
                     placeholder="请输入不完善粒占比" maxlength="40" size="small" />
                 </ws-form-item>
-                <ws-form-item v-if="deptBudgetList.type == '潮粮' && serviceManagementType == 3" label="水分增价(元/公斤)" span="1" prop="imperfectGrain">
+                <!-- <ws-form-item v-if="deptBudgetList.type == '潮粮' && serviceManagementType == 3" label="水分增价(元/公斤)" span="1" prop="imperfectGrain">
                   <ws-input v-if='statusTypetext != "复检"'
                     v-model="deptBudgetList.waterPriceIncrease" type="number" @input="deductionchange"
                     placeholder="请输入水分增价" maxlength="40" size="small" />
@@ -453,7 +453,7 @@
                   <ws-input v-if='statusTypetext != "复检"'
                     v-model="deptBudgetList.qualityPriceDeduction" type="number" @input="deductionchange"
                     placeholder="请输入质量扣价" maxlength="40" size="small" />
-                </ws-form-item>
+                </ws-form-item> -->
               </ws-info-table>
               <ws-info-table v-if="zjJurisdiction&&statusTypetext == '初检'||statusTypetext != '初检'">
                 <ws-form-item label="净重单价(元/公斤)" span="1" prop="tidalGrainPrice"
@@ -2735,36 +2735,36 @@ export default {
 
 
       }
-      if (this.serviceManagementType==3&&this.zjJurisdiction&&this.statusTypetext=='初检') {
-        if (this.deptBudgetList.waterPriceIncrease>10||this.deptBudgetList.waterPriceIncrease<0) {
-          this.$message({
-            message: '水分增价输入错误',
-            type: 'warning',
-          })
-          return
-        }
-        if (this.deptBudgetList.waterPriceDeduction>10||this.deptBudgetList.waterPriceDeduction<0) {
-          this.$message({
-            message: '水分扣价输入错误',
-            type: 'warning',
-          })
-          return
-        }
-        if (this.deptBudgetList.qualityPriceIncrease>10||this.deptBudgetList.qualityPriceIncrease<0) {
-          this.$message({
-            message: '质量增价输入错误',
-            type: 'warning',
-          })
-          return
-        }
-        if (this.deptBudgetList.qualityPriceDeduction>10||this.deptBudgetList.qualityPriceDeduction<0) {
-          this.$message({
-            message: '质量扣价输入错误',
-            type: 'warning',
-          })
-          return
-        }
-      }
+      // if (this.serviceManagementType==3&&this.zjJurisdiction&&this.statusTypetext=='初检') {
+      //   if (this.deptBudgetList.waterPriceIncrease>10||this.deptBudgetList.waterPriceIncrease<0) {
+      //     this.$message({
+      //       message: '水分增价输入错误',
+      //       type: 'warning',
+      //     })
+      //     return
+      //   }
+      //   if (this.deptBudgetList.waterPriceDeduction>10||this.deptBudgetList.waterPriceDeduction<0) {
+      //     this.$message({
+      //       message: '水分扣价输入错误',
+      //       type: 'warning',
+      //     })
+      //     return
+      //   }
+      //   if (this.deptBudgetList.qualityPriceIncrease>10||this.deptBudgetList.qualityPriceIncrease<0) {
+      //     this.$message({
+      //       message: '质量增价输入错误',
+      //       type: 'warning',
+      //     })
+      //     return
+      //   }
+      //   if (this.deptBudgetList.qualityPriceDeduction>10||this.deptBudgetList.qualityPriceDeduction<0) {
+      //     this.$message({
+      //       message: '质量扣价输入错误',
+      //       type: 'warning',
+      //     })
+      //     return
+      //   }
+      // }
        if (this.serviceManagementType==3&&this.qyJurisdiction&&this.statusTypetext=='初检'
       ||this.serviceManagementType==3&&this.statusTypetext!='初检'
       ||this.serviceManagementType==1) {