| | |
| | | </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-col :span="12" v-if="editConfig.infomation.activeName==='second'"> |
| | | <el-form-item label="销售负责人" prop="member_id"> |
| | | <el-select |
| | | v-model="editConfig.infomation.member_id" |
| | |
| | | }, |
| | | // 编辑 |
| | | handleClick(row) { |
| | | console.log(row) |
| | | this.editConfig.title = "编辑" |
| | | this.editConfig.infomation = { |
| | | ...row |
| | | ...row, |
| | | activeName:this.activeName, |
| | | } |
| | | this.editConfig.visible = true |
| | | }, |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.getChanceList(this.editConfig.infomation.client_id) |
| | | if(this.editContactsConfig.title==="编辑"){ |
| | | this.isChance=false |
| | | } |
| | | this.$store.dispatch("geClient") |
| | | this.getCommonData() |
| | | this.getContactInfoList() |
| | |
| | | content = this.addConfig.id |
| | | } |
| | | this.search_map = { |
| | | [this.addConfig.id_name]: content |
| | | // [this.addConfig.id_name]: content |
| | | contact_id: content |
| | | } |
| | | } |
| | | this.getData(this.search_map) |
| | |
| | | let config=JSON.parse(JSON.stringify(row)); |
| | | config.client_status_id=config.client_status_id?config.client_status_id:null |
| | | config.contact_information_id=config.contact_information_id?config.contact_information_id:null |
| | | this.editConfig.infomation = { ...config, sale_chance_name: "", sales_leads_name: "" } |
| | | this.editConfig.infomation = { ...config, sale_chance_name:row.sale_chance.name, sales_leads_name: "" } |
| | | this.editConfig.visible = true |
| | | }, |
| | | // 删除 |
| | |
| | | }, |
| | | // 编辑 |
| | | handleClick(row) { |
| | | console.log(row) |
| | | this.editConfig.visible = true |
| | | this.editConfig.title = "编辑" |
| | | this.editConfig.infomation = { |