fix: 移除产品查询中的默认类型参数
产品列表查询和产品选择组件中移除了默认的'product'类型参数,改为不指定类型以获取所有类型的产品数据
This commit is contained in:
@@ -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 || [];
|
||||
});
|
||||
},
|
||||
|
||||
@@ -314,7 +314,7 @@ export default {
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 20,
|
||||
type: 'product',
|
||||
type: undefined,
|
||||
productCode: undefined,
|
||||
productName: undefined,
|
||||
owner: undefined,
|
||||
|
||||
Reference in New Issue
Block a user