提交 4ad20038 编写于 作者: vino's avatar vino

修改商品管理和订单管理BUG

上级 6cc81190
...@@ -800,6 +800,7 @@ ...@@ -800,6 +800,7 @@
this.searchForm.goodsName = '' this.searchForm.goodsName = ''
this.searchForm.goodsType = '' this.searchForm.goodsType = ''
this.searchForm.commissionType = 0; this.searchForm.commissionType = 0;
this.searchForm.saleType = 0;
this.searchForm.pageNo = 1 this.searchForm.pageNo = 1
this.searchForm.pageSize = 10 this.searchForm.pageSize = 10
...@@ -816,9 +817,9 @@ ...@@ -816,9 +817,9 @@
this.getLists(); this.getLists();
}, },
exportOpt() { exportOpt() {
const { goodsIdList, goodsType, goodsName, storeId } = this.searchForm; const { goodsIdList, goodsType, goodsName, storeId, saleType } = this.searchForm;
getGoodsExportUrl({ goodsIdList, goodsType, goodsName, storeId }).then(res => { getGoodsExportUrl({ goodsIdList, goodsType, goodsName, storeId, saleType }).then(res => {
if (res.code != '000000') { if (res.code != '000000') {
this.$message({ message: res.message, type: 'error' }); this.$message({ message: res.message, type: 'error' });
return; return;
......
...@@ -520,6 +520,7 @@ ...@@ -520,6 +520,7 @@
orderDate: '', orderDate: '',
brokerId:'', brokerId:'',
ownerId:'', ownerId:'',
saleType:0,
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
}; };
...@@ -721,9 +722,9 @@ ...@@ -721,9 +722,9 @@
}); });
}, },
exportOrder() { exportOrder() {
const { goodsName, orderNo, receiver, orderDate, storeId, brokerId, ownerId, prescriberName, orderBeginTime, orderEndTime} = this.searchForm; const { goodsName, orderNo, receiver, orderDate, storeId, brokerId, ownerId, prescriberName, orderBeginTime, orderEndTime, saleType} = this.searchForm;
getOrdersExportUrl({ goodsName, orderNo, receiver, orderDate, storeId,brokerId,ownerId,prescriberName, orderBeginTime, orderEndTime}).then(res => { getOrdersExportUrl({ goodsName, orderNo, receiver, orderDate, storeId,brokerId,ownerId,prescriberName, orderBeginTime, orderEndTime, saleType}).then(res => {
if (res.code != '000000') { if (res.code != '000000') {
this.$message({ message: res.message, type: 'error' }); this.$message({ message: res.message, type: 'error' });
return; return;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册