| | |
| | | " |
| | | value-key="name" |
| | | @select="handleSelectClient('client', $event)" |
| | | :disabled="isNameChanceEdit" |
| | | ></el-autocomplete> |
| | | <div class="common-select-btn" @click="selClientClick('client')"> |
| | | <div v-if="!isNameChanceEdit" class="common-select-btn" @click="selClientClick('client')"> |
| | | <i class="el-icon-circle-plus-outline" title="选择"></i> |
| | | </div> |
| | | <div |
| | | v-if="editConfig.infomation.client_name && editConfig.infomation.client_name.length > 0" |
| | | v-if=" |
| | | editConfig.infomation.client_name && |
| | | editConfig.infomation.client_name.length > 0 && |
| | | !isNameChanceEdit |
| | | " |
| | | class="common-select-btn" |
| | | @click="clearupClient('client')" |
| | | > |
| | |
| | | " |
| | | value-key="name" |
| | | @select="handleSelectClient('chance', $event)" |
| | | :disabled="isNameChanceEdit" |
| | | ></el-autocomplete> |
| | | <div class="common-select-btn" @click="selClientClick('chance')"> |
| | | <div v-if="!isNameChanceEdit" class="common-select-btn" @click="selClientClick('chance')"> |
| | | <i class="el-icon-circle-plus-outline"></i> |
| | | </div> |
| | | <div |
| | | v-if="editConfig.infomation.sale_chance_name && editConfig.infomation.sale_chance_name.length > 0" |
| | | v-if=" |
| | | editConfig.infomation.sale_chance_name && |
| | | editConfig.infomation.sale_chance_name.length > 0 && |
| | | !isNameChanceEdit |
| | | " |
| | | class="common-select-btn" |
| | | @click="clearupClient('chance')" |
| | | > |
| | |
| | | title: "新建", |
| | | infomation: {} |
| | | }, |
| | | amountTotal: 0 |
| | | amountTotal: 0, |
| | | isNameChanceEdit: false |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | this.setTableForm() |
| | | this.getCommonData() |
| | | this.formInfo() |
| | | if (this.editConfig.title === "新建" && this.editConfig.infomation.client_name.length > 0) { |
| | | this.isNameChanceEdit = true |
| | | } |
| | | // else { |
| | | |
| | | // } |
| | | }, |
| | | watch: { |
| | | "editClientManageConfig.visible"(val) { |