zuozhengqing
2023-11-15 4610d87bfa8c8330c8f3c0b2db0ee5cc30352117
src/components/makepager/CommonFormTableView.vue
@@ -430,7 +430,7 @@
          tableData: [], // 接口返回数据
          tableColumn: [
            // table表单
            { label: "", prop: "", min: 200, tooltip: true }
            { label: "", prop: "", min: 200, tooltip: true}
          ]
        }
      }
@@ -515,6 +515,7 @@
      })
    },
    async handleSelectClient(value, item) {
      this.$emit("selProductClick",value,item)
      if (value === "product") {
        if(item.categoryId===0||item.categoryName===""){
          this.productTypeNameOptions =[]
@@ -536,7 +537,6 @@
      }else if(value==="productType"){
        console.log("产品类型选中")
      }
      this.$emit("selProductClick",value,item)
    },
    querySearchAsync(queryString, cb, value) {
      let restaurants=''
@@ -586,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