|
@@ -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;
|