diff --git a/pages/massif/add_transaction.vue b/pages/massif/add_transaction.vue index 4e10c11..4d81803 100644 --- a/pages/massif/add_transaction.vue +++ b/pages/massif/add_transaction.vue @@ -52,7 +52,7 @@ - + @@ -93,7 +93,7 @@ export default { if(!(val>0))call(new Error('交易重量必填!')); else if(val>this.detail.harvestNum)call(new Error(`交易重量不能大于可交易重量${this.detail.harvestNum}!`)); else call() - }}, + },trigger:["blur","change"]}, specification:{required:true,message:"规格必填!"}, tradeNum:{required:true,message:"交易数量必填!",type:"number"}, buyerName:{required:true,message:"买方名称必填!"},