Browse Source

客户登记修改

lizhenhao 2 years ago
parent
commit
ed8287d85b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/modules/cw/workClientInfo/WorkClientTaskForm.vue

+ 4 - 0
src/views/modules/cw/workClientInfo/WorkClientTaskForm.vue

@@ -890,6 +890,9 @@
             if (this.commonJS.isEmpty(this.inputForm.workAttachmentDtoList)) {
               this.inputForm.workAttachmentDtoList = []
             }
+            if (this.commonJS.isEmpty(this.inputForm.createDate)) {
+              this.inputForm.createDate = this.moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
+            }
             if (this.commonJS.isEmpty(this.inputForm.createBy.name)) {
               this.inputForm.createBy.name = JSON.parse(localStorage.getItem('user')).name
             }
@@ -1093,6 +1096,7 @@
         let id = this.gridData[event.rowIndex].companyid
         await this.enterpriseSearchService.enterpriseTicketInfo(id).then((data) => {
           this.inputForm.name = data.data.ENTNAME
+          this.inputForm.uscCode = data.data.UNCID
         })
         this.visiblePop = false
       },