|
@@ -550,7 +550,7 @@ export default {
|
|
|
|
|
|
pageParams: {
|
|
pageParams: {
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
- pageSize: 5,
|
|
|
|
|
|
+ pageSize: 10,
|
|
},
|
|
},
|
|
};
|
|
};
|
|
},
|
|
},
|
|
@@ -560,7 +560,7 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
// 商品列表
|
|
// 商品列表
|
|
- getGoodsList(title) {
|
|
|
|
|
|
+ getGoodsList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
getGoodsList(
|
|
getGoodsList(
|
|
"pageNum=" +
|
|
"pageNum=" +
|
|
@@ -568,7 +568,7 @@ export default {
|
|
"&pageSize=" +
|
|
"&pageSize=" +
|
|
this.pageParams.pageSize +
|
|
this.pageParams.pageSize +
|
|
"&",
|
|
"&",
|
|
- { title: title, status: "on" }
|
|
|
|
|
|
+ { title: this.goodsTitle, status: "on" }
|
|
).then((res) => {
|
|
).then((res) => {
|
|
this.goodsList = res.rows.map((item) => {
|
|
this.goodsList = res.rows.map((item) => {
|
|
return {
|
|
return {
|
|
@@ -582,7 +582,7 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
// 卡券列表
|
|
// 卡券列表
|
|
- getCouponList(title) {
|
|
|
|
|
|
+ getCouponList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
getCouponList(
|
|
getCouponList(
|
|
"pageNum=" +
|
|
"pageNum=" +
|
|
@@ -590,7 +590,7 @@ export default {
|
|
"&pageSize=" +
|
|
"&pageSize=" +
|
|
this.pageParams.pageSize +
|
|
this.pageParams.pageSize +
|
|
"&",
|
|
"&",
|
|
- { title: title, status: "on" }
|
|
|
|
|
|
+ { title: this.couponTitle, status: "on" }
|
|
).then((res) => {
|
|
).then((res) => {
|
|
this.couponList = res.rows.map((item) => {
|
|
this.couponList = res.rows.map((item) => {
|
|
return {
|
|
return {
|
|
@@ -734,12 +734,12 @@ export default {
|
|
|
|
|
|
// 查询商品
|
|
// 查询商品
|
|
handleQueryGoods() {
|
|
handleQueryGoods() {
|
|
- this.getGoodsList(this.goodsTitle);
|
|
|
|
|
|
+ this.getGoodsList();
|
|
},
|
|
},
|
|
|
|
|
|
// 查询券
|
|
// 查询券
|
|
handleQueryCoupon() {
|
|
handleQueryCoupon() {
|
|
- this.getCouponList(this.couponTitle);
|
|
|
|
|
|
+ this.getCouponList();
|
|
},
|
|
},
|
|
|
|
|
|
// 选中商品
|
|
// 选中商品
|