From ec6857c9e95fbe1b175d7f697a836c210c0c2b2c Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期五, 29 三月 2024 10:32:19 +0800 Subject: [PATCH] 公共组件选择产品信息处理 --- src/store/modules/getSupplierName.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/modules/getSupplierName.js b/src/store/modules/getSupplierName.js index 3a9a5c5..897d522 100644 --- a/src/store/modules/getSupplierName.js +++ b/src/store/modules/getSupplierName.js @@ -12,9 +12,9 @@ }, actions:{ getSupplier(context){ - getSupplierList({page:1,pageSize:50}).then((res) => { - if (res.data.code == 200) { - context.commit("supplierNameList", res.data.data.list) + getSupplierList({page:1,pageSize:100,status:1}).then((res) => { + if (res.code == 200) { + context.commit("supplierNameList", res.data.list) } else { Message.error(res.msg) } -- Gitblit v1.8.0