yangfeng
2023-08-21 46ed69e3b72658140a40127f4bae16bef9a02d56
src/views/other/commonDialog/SelectCommonDialog.vue
@@ -145,12 +145,11 @@
        this.tableList = {
          tableInfomation: [],
          tableColumn: [
            { label: "产品名称", prop: "Name", isClick: true },
            { label: "产品编号", prop: "Number" },
            { label: "规格型号", prop: "MaterialMode" }
            { label: "产品名称", prop: "name", isClick: true },
            { label: "产品编号", prop: "number" }
          ]
        }
        this.searchSel = { value: "Name", label: "产品名称" }
        this.searchSel = { value: "name", label: "产品名称" }
      }
      this.searchOptions = []
      for (let i = 0; i < this.tableList.tableColumn.length; i++) {
@@ -306,8 +305,8 @@
    // 产品名称
    async getProductList() {
      await getProductList({
        productName: "",
        productNumber: "",
        productName: this.keywordType === "产品名称" ? this.keyword : "",
        productNumber: this.keywordType === "产品编号" ? this.keyword : "",
        page: 1,
        pageSize: 5
      }).then((res) => {