Commit 736807a6 authored by v-yuchenglong's avatar v-yuchenglong

update:重置修改

parent 3bd002b6
...@@ -471,11 +471,11 @@ export default { ...@@ -471,11 +471,11 @@ export default {
// 活动名称的change事件 获取商品名称+获取自提点 // 活动名称的change事件 获取商品名称+获取自提点
async activityNameSel(val) { async activityNameSel(val) {
this.orderQueryObj.goods_id = ""; this.orderQueryObj.goods_id = "";
this.orderQueryObj.sub_shop_id = "";
const params = { const params = {
marketing_id: val, marketing_id: val,
}; };
const res = await newGetGoodsList(params); // 商品名称 const res = await newGetGoodsList(params); // 商品名称
console.log(res);
this.getSubShopListMet(val); //自提点 this.getSubShopListMet(val); //自提点
// const res = await getSubShopList(params); // const res = await getSubShopList(params);
this.tradeNameArr = res.result; this.tradeNameArr = res.result;
...@@ -503,6 +503,7 @@ export default { ...@@ -503,6 +503,7 @@ export default {
this.orderQueryObj.page = 1; this.orderQueryObj.page = 1;
this.orderQueryObj.page_size = 10; this.orderQueryObj.page_size = 10;
this.getOrderListMet(this.orderQueryObj); this.getOrderListMet(this.orderQueryObj);
this.getSubShopListMet();
}, },
// 搜索 // 搜索
...@@ -593,7 +594,6 @@ export default { ...@@ -593,7 +594,6 @@ export default {
} }
try { try {
const res = await newGetOrderList(this.orderQueryObj); const res = await newGetOrderList(this.orderQueryObj);
console.log(res);
this.goodsNum = res.goods_num; // 商品共计 this.goodsNum = res.goods_num; // 商品共计
this.totalNum = res.count; // 商品总数 this.totalNum = res.count; // 商品总数
this.orderTableData = res.result; this.orderTableData = res.result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment