zuozhengqing
2023-11-15 4610d87bfa8c8330c8f3c0b2db0ee5cc30352117
src/components/makepager/CommonFormTableView.vue
@@ -151,6 +151,7 @@
                    v-model="scope.row[item.prop]"
                    placeholder="请选择"
                    size="mini"
                    filterable
                    style="width: 80%"
                    @change="
                      (val) => {
@@ -208,6 +209,7 @@
                    v-model="locacionName"
                    placeholder="请选择"
                    size="mini"
                    filterable
                    style="width: 80%"
                    @change="
                      (val) => {
@@ -237,6 +239,7 @@
                    v-model="scope.row[item.prop]"
                    placeholder="请选择"
                    size="mini"
                    filterable
                    style="width: 80%"
                    clearable
                    @clear="setValueNull(scope.row[item.prop])"
@@ -427,7 +430,7 @@
          tableData: [], // 接口返回数据
          tableColumn: [
            // table表单
            { label: "", prop: "", min: 200, tooltip: true }
            { label: "", prop: "", min: 200, tooltip: true}
          ]
        }
      }
@@ -512,6 +515,7 @@
      })
    },
    async handleSelectClient(value, item) {
      this.$emit("selProductClick",value,item)
      if (value === "product") {
        if(item.categoryId===0||item.categoryName===""){
          this.productTypeNameOptions =[]
@@ -533,7 +537,6 @@
      }else if(value==="productType"){
        console.log("产品类型选中")
      }
      this.$emit("selProductClick",value,item)
    },
    querySearchAsync(queryString, cb, value) {
      let restaurants=''
@@ -583,7 +586,6 @@
        page: 1,
        pageSize: 15
      }).then((res) => {
        console.log(res, "看看产品类型列表")
        if (res.code === 200) {
          const list = res.data ? res.data : []
          this.productTypeNameOptions = list