shish 4 سال پیش
والد
کامیت
dcdf1c57a0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      hdApp/src/mixins/cgPlantProduct.js

+ 1 - 1
hdApp/src/mixins/cgPlantProduct.js

@@ -435,7 +435,7 @@ export default {
 				}
 				}
 			}
 			}
 			//开单、采购花材 采购盆栽绿植需要使用价格
 			//开单、采购花材 采购盆栽绿植需要使用价格
-			if(this.selectJobType == 'bill' || this.selectJobType == 'purchase' || this.selectJobType == 'cgPlant'){
+			if(this.selectJobType == 'bill' || this.selectJobType == 'purchase' || this.selectJobType == 'cgPlant' || this.selectJobType == 'addOrder'){
 				if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.customData.userPrice) == false){
 				if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.customData.userPrice) == false){
 					uni.showToast({title:"金额错误",icon:"none"})
 					uni.showToast({title:"金额错误",icon:"none"})
 					return;
 					return;