src/views/other/commonDialog/SelectCommonDialog.vue
@@ -39,7 +39,7 @@ </template> <script> import { getProductList } from "@/api/productManage/product" import { getProductListFromGrpc,getProductList } from "@/api/productManage/product" export default { name: "EditSelCommonDialog", props: { @@ -52,6 +52,10 @@ tableInfomation: [] } } }, sign:{ type:String, default:'' } }, components: {}, @@ -105,7 +109,9 @@ }, // 产品名称 async getProductList() { await getProductList({ let fn = this.sign == "purchase" ? getProductList : getProductListFromGrpc; await fn({ page: 1, pageSize: 100 }).then((res) => {