fix: 移除产品查询中的默认类型参数

产品列表查询和产品选择组件中移除了默认的'product'类型参数,改为不指定类型以获取所有类型的产品数据
This commit is contained in:
砂糖
2025-11-05 09:59:22 +08:00
parent 19d06e69d0
commit f6b7875851
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ export default {
},
methods: {
getProductOptions() {
listProductWithBom({ pageNum: 1, pageSize: 1000, type: 'product' }).then(res => {
listProductWithBom({ pageNum: 1, pageSize: 1000 }).then(res => {
this.productOptions = res.rows || [];
});
},

View File

@@ -314,7 +314,7 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 20,
type: 'product',
type: undefined,
productCode: undefined,
productName: undefined,
owner: undefined,