gjy 2 роки тому
батько
коміт
4ff235e229
1 змінених файлів з 18 додано та 18 видалено
  1. 18 18
      pages/erpbusiness/add_quality_testing.vue

+ 18 - 18
pages/erpbusiness/add_quality_testing.vue

@@ -294,7 +294,7 @@
 				</view>
 				<button class='cu-btn bg-green shadow' @click="changeprice">{{pricetext}}</button>
 			</view>
-			<view v-show="gridList.type == '潮粮'&&utils.getCurrectRoles('acquisitionQuality.initial')&&typevalue==1"
+			<!-- <view v-show="gridList.type == '潮粮'&&utils.getCurrectRoles('acquisitionQuality.initial')&&typevalue==1"
 				class="c-row">
 				<view class="title">水分增价(元/公斤)</view>
 				<view class="con-list">
@@ -326,7 +326,7 @@
 					<input v-model='gridList.qualityPriceDeduction' :disabled='disabled1' @input='deductionchange'
 						placeholder="自动获取,不可编辑" name="input" type="digit"></input>
 				</view>
-			</view>
+			</view> -->
 			
 			<view v-show="gridList.type == '潮粮'&&utils.getCurrectRoles('acquisitionQuality.initial')&&typevalue==1"
 				class="c-row">
@@ -1365,22 +1365,22 @@
 							return
 						}
 					}
-					if (this.gridList.waterPriceIncrease>10||this.gridList.waterPriceIncrease<0) {
-						this.$api.msg('水分增价输入错误')
-						return
-					}
-					if (this.gridList.waterPriceDeduction>10||this.gridList.waterPriceDeduction<0) {
-						this.$api.msg('水分扣价输入错误')
-						return
-					}
-					if (this.gridList.qualityPriceIncrease>10||this.gridList.qualityPriceIncrease<0) {
-						this.$api.msg('质量增价输入错误')
-						return
-					}
-					if (this.gridList.qualityPriceDeduction>10||this.gridList.qualityPriceDeduction<0) {
-						this.$api.msg('质量扣价输入错误')
-						return
-					}
+					// if (this.gridList.waterPriceIncrease>10||this.gridList.waterPriceIncrease<0) {
+					// 	this.$api.msg('水分增价输入错误')
+					// 	return
+					// }
+					// if (this.gridList.waterPriceDeduction>10||this.gridList.waterPriceDeduction<0) {
+					// 	this.$api.msg('水分扣价输入错误')
+					// 	return
+					// }
+					// if (this.gridList.qualityPriceIncrease>10||this.gridList.qualityPriceIncrease<0) {
+					// 	this.$api.msg('质量增价输入错误')
+					// 	return
+					// }
+					// if (this.gridList.qualityPriceDeduction>10||this.gridList.qualityPriceDeduction<0) {
+					// 	this.$api.msg('质量扣价输入错误')
+					// 	return
+					// }
 					if (!this.gridList.type) {
 						this.$api.msg('类型不能为空')
 						return