haoxuan
2024-04-19 4c71426795d126d0491f2e4105090273909e6d51
src/components/makepager/CommonFormTableView.vue
@@ -89,7 +89,7 @@
                    size="mini"
                    @select="
                      (val) => {
                        handleSelectClient(val, item.prop, scope.row)
                        handleSelectClient(val, item.prop, scope.row,scope)
                      }
                    "
                  ></el-autocomplete>
@@ -160,7 +160,7 @@
                    :controls="false"
                    size="mini"
                    style="width: 100%; margin-right: 5px"
                    :min="item.prop === 'minInventory' ? 0 : 1"
                    :min="item.prop === 'minInventory' ? 0 : 0"
                    @change="
                      (val) => {
                        commonInputChange(val, item.prop, scope.row)
@@ -588,8 +588,8 @@
      })
    },
    // 下拉搜索
    async handleSelectClient(value, item) {
      this.$emit("selProductClick", value, item)
    async handleSelectClient(value, item,row,scope) {
      this.$emit("selProductClick", value, item,row,scope)
      if (value === "product") {
        if (item.categoryId === 0 || item.categoryName === "") {
          this.productTypeNameOptions = []