haoxuan
2024-04-19 f2ca54c4037fe550253e46356cf34b446c645938
src/components/makepager/CommonFormTableView.vue
@@ -79,7 +79,11 @@
                <div class="custom-name">
                  <el-autocomplete
                    v-model="scope.row[item.prop]"
                    :fetch-suggestions="querySearchAsync"
                    :fetch-suggestions="
                      (queryString, callback) => {
                        querySearchAsync(queryString, callback, 'product')
                      }
                    "
                    value-key="name"
                    :disabled="!isOperate"
                    size="mini"
@@ -617,7 +621,7 @@
      } else if (value === "formLocation") {
        restaurants = this.selLocationOptions
      }
      var results = queryString ? restaurants.filter(this.createStateFilter(queryString, value)) : restaurants
      var results = (queryString&&restaurants) ? restaurants.filter(this.createStateFilter(queryString, value)) : restaurants
      cb(results)
      if (results.length === 0) {
        this.productTypeNameOptions = []
@@ -684,6 +688,7 @@
      this.locacionName = ""
      await getLocationList({
        // keyword: "",
        type:3,
        jointName: this.initialPosition ? this.initialPosition : null,
        productId: this.queryProductId ? this.queryProductId : null,
        productCategoryId: this.categoryId ? this.categoryId : null,