|
|
@ -638,6 +638,10 @@ export default { |
|
|
|
submit() { |
|
|
|
this.$refs['form_obj'].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
if (this.formobj.pmsPurchaseBillDetailList.length === 0) { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '商品列表不能为空' }) |
|
|
|
return |
|
|
|
} |
|
|
|
this.submitdisabled = true |
|
|
|
this.formobj.payableAmount = this.yfTotal |
|
|
|
this.formobj.purchasePay.goodsMoney = this.calculateGoodsMoney |
|
|
|