Commit 2f5d4038 authored by 黄卓's avatar 黄卓

新建客户,至少填写一个联系人信息

http://zentao.jdshangmen.com/bug-view-8.html
parent 966c4200
...@@ -498,6 +498,10 @@ export default { ...@@ -498,6 +498,10 @@ export default {
if (!valid) { if (!valid) {
return; return;
} }
if (this.form.customerContacts.length === 0){
this.$modal.msgError("至少填写一个联系人信息");
return
}
// 修改的提交 // 修改的提交
if (this.form.id != null) { if (this.form.id != null) {
this.form.customerContacts.forEach(e => { this.form.customerContacts.forEach(e => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment