From f450367d25cc92950b3ebed3e19d97627e0b3fb7 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 11 十月 2023 12:07:25 +0800 Subject: [PATCH] 跟进记录的编码 接口联调和修改 --- src/views/client/followupRecords/AddFollowupRecordsDialog.vue | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/views/client/followupRecords/AddFollowupRecordsDialog.vue b/src/views/client/followupRecords/AddFollowupRecordsDialog.vue index 662d570..5604167 100644 --- a/src/views/client/followupRecords/AddFollowupRecordsDialog.vue +++ b/src/views/client/followupRecords/AddFollowupRecordsDialog.vue @@ -28,20 +28,21 @@ </el-form-item> --> <el-form-item label="璺熻繘璁板綍缂栧彿" prop="number"> <WordInput - v-if="codenumer && (explain != '' || isIdDisabled)" + v-if="codenumer && (explain != '' || isIdDisabled)&&method == 0" :codenumer="codenumer" :sum="sum" :disabled="editConfig.infomation.id || isIdDisabled" :inputValue="inputValue" @codeList="codeList" /> - <span v-else style="color: #f56c6c" + <span v-else-if="method == 0" style="color: #f56c6c" >璇蜂紭鍏堥厤缃紪鐮佽鑼� <el-button type="text" @click="numberClick"> 閰嶇疆瑙勮寖 </el-button ></span > + <span v-else>鑷姩鐢熸垚</span> </el-form-item> </el-col> <el-col :span="12"> @@ -437,23 +438,23 @@ this.$store.dispatch("geLead") this.getCommonData() this.getContactInfoList() - this.getRCodeStandardList(); + this.formInfo(); }, watch:{ - 'editConfig.visible'(val){ + 'editContactsConfig.visible'(val){ if(val){ this.formInfo() } }, - 'editConfig.infomation'(){ + 'editContactsConfig.infomation.codeStandID'(){ this.formInfo() } }, methods: { formInfo(){ this.objCode.codeStandID = '' - if(this.editConfig.infomation.number&&this.editConfig.infomation.codeStandardID){ - this.objCode.codeStandID = this.editConfig.infomation.codeStandardID; + if(this.editConfig.infomation.codeStandID){ + this.objCode.codeStandID = this.editConfig.infomation.codeStandID; } this.getRCodeStandardList(); }, @@ -532,7 +533,9 @@ record: data.record || "", sale_chance_id: this.saleChanceId || 0, sales_leads_id: this.saleLeadId || 0, - topic: data.topic || "" + topic: data.topic || "", + codeStandID:data.ID, + codeRule:this.codeRule, } } let params = {} -- Gitblit v1.8.0