|
|
@ -570,6 +570,10 @@ export default { |
|
|
|
submit() { |
|
|
|
this.$refs['dataForm'].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
if (this.formobj.customer === '') { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '客户名称不能为空' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.formobj.clientNo === '') { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '证件号码不能为空' }) |
|
|
|
return |
|
|
|