From 506cb425d38489e47e05bd05c0c5ad1e37e7153f Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期三, 27 九月 2023 16:41:06 +0800 Subject: [PATCH] fix: 采购订单状态是为已完成时隐藏提交按钮;添加缺少的 catch;添加产品参数删除更新时间 --- src/views/other/commonDialog/SelectCommonDialog.vue | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/other/commonDialog/SelectCommonDialog.vue b/src/views/other/commonDialog/SelectCommonDialog.vue index f5597b4..cfe8f7b 100644 --- a/src/views/other/commonDialog/SelectCommonDialog.vue +++ b/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) => { -- Gitblit v1.8.0