|
|
@ -553,6 +553,10 @@ export default { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '因其中订金大于采购单价,订金使用规则请选择均分使用' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.formobj.deposit !== '0' && this.formobj.deposit !== '' && this.formobj.modelAccountName === '') { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '因其中订金不为0,订金账户不能为空' }) |
|
|
|
return |
|
|
|
} |
|
|
|
// 提交的代码 |
|
|
|
this.submitdisabled = true |
|
|
|
this.formobj.userSid = window.sessionStorage.getItem('userSid') |
|
|
@ -784,6 +788,10 @@ export default { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '因其中订金大于采购单价,订金使用规则请选择均分使用' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.formobj.deposit !== '0' && this.formobj.deposit !== '' && this.formobj.modelAccountName === '') { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '因其中订金不为0,订金账户不能为空' }) |
|
|
|
return |
|
|
|
} |
|
|
|
this.$refs['form_obj'].validate(valid => { |
|
|
|
if (valid) { |
|
|
|
this.submitdisabled = true |
|
|
|