Prechádzať zdrojové kódy

项目登记联系人问题

lizhenhao 2 rokov pred
rodič
commit
46d89d6fb4

+ 1 - 1
src/views/modules/program/registered/RegisItemForm.vue

@@ -1114,7 +1114,7 @@
         if (this.commonJS.isNotEmpty(this.inputForm.clientList)) {
           this.inputForm.clientList.forEach(item => {
             rows.forEach(row => {
-              if (item.id === row.id) {
+              if (item.contacts === row.contacts && item.linkMobilePhoneFirst === row.linkMobilePhoneFirst && item.linkMobilePhoneSecoed === row.linkMobilePhoneSecoed) {
                 this.$message.error('联系人已存在')
                 throw new Error()
               }