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