src/views/other/commonDialog/SelectCommonDialog.vue
@@ -149,7 +149,7 @@ { 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++) { @@ -305,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) => {