| | |
| | | :disabled="isNameChanceEdit || isView" |
| | | ></el-autocomplete> |
| | | <div |
| | | v-if="!isNameChanceEdit && !isView" |
| | | v-if="!isNameChanceEdit && !isView&&editConfig.infomation.client_name" |
| | | class="common-select-btn" |
| | | @click="selClientClick('chance')" |
| | | > |
| | |
| | | :disabled="isAddQuatation || isView" |
| | | ></el-autocomplete> |
| | | <div |
| | | v-if="!isAddQuatation && !isView" |
| | | v-if="!isAddQuatation && !isView&&editConfig.infomation.sale_chance_name" |
| | | class="common-select-btn" |
| | | @click="selClientClick('quotation')" |
| | | > |
| | |
| | | if (res.code == 200) { |
| | | console.log(res) |
| | | this.quotationList = res.data.list |
| | | this.count=res.data.count; |
| | | if (value === "全部产品") { |
| | | // this.quotationList.map((item) => { |
| | | // if (item.id === this.editConfig.infomation.quotationId) { |
| | |
| | | restaurants = this.clientList |
| | | console.log(restaurants, "客户单") |
| | | } else if (value === "chance") { |
| | | restaurants = this.saleChancelist |
| | | if(this.editConfig.infomation.client_name){ |
| | | restaurants = this.saleChancelist |
| | | } |
| | | } else if (value === "subbill") { |
| | | restaurants = this.subOrderList |
| | | } else if (value === "quotation") { |
| | | restaurants = this.quotationList |
| | | if(this.editConfig.infomation.sale_chance_name){ |
| | | restaurants = this.quotationList |
| | | } |
| | | } |
| | | var results = queryString ? restaurants.filter(this.createStateFilter(queryString, value)) : restaurants |
| | | cb(results) |
| | |
| | | this.editSelCommonConfig.title = "报价单" |
| | | this.editSelCommonConfig.editVisible = true |
| | | this.editSelCommonConfig.clientId = this.clientId |
| | | this.editSelCommonConfig.isRequest = false |
| | | this.editSelCommonConfig.count=this.count |
| | | this.editSelCommonConfig.tableInfomation = [...this.quotationList] |
| | | } |
| | | }, |