| | |
| | | :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')" |
| | | > |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <!-- <el-col :span="12"> |
| | | <el-form-item label="物流公司" prop="logisticCompany"> |
| | | <el-input v-model="editConfig.infomation.logisticCompany" :disabled="isView"></el-input> |
| | | </el-form-item> |
| | |
| | | <el-form-item label="物流单号" prop="logisticNumber"> |
| | | <el-input v-model="editConfig.infomation.logisticNumber" :disabled="isView"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col> --> |
| | | <el-col :span="12"> |
| | | <el-form-item label="物流费用" prop="logisticCost"> |
| | | <el-input-number |
| | |
| | | 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] |
| | | } |
| | | }, |