src/views/sales/salesDetails/AddSalesDetailsDialog.vue
@@ -107,7 +107,7 @@
                      :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')"
                    >
@@ -178,7 +178,7 @@
                      :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')"
                    >
@@ -787,6 +787,7 @@
        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) {
@@ -814,11 +815,15 @@
        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)
@@ -896,6 +901,8 @@
        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]
      }
    },