|
@@ -273,14 +273,12 @@ export default {
|
|
|
/** 查询优惠劵管理列表 */
|
|
|
getList(query) {
|
|
|
listSum(query).then((response) => {
|
|
|
- console.log("listSum",response)
|
|
|
if (response.data!=null ) {
|
|
|
this.form.zongAmt = response.data.amt;
|
|
|
this.form.zongliters = response.data.orderLiters;
|
|
|
}
|
|
|
});
|
|
|
listOilType(query).then((response) => {
|
|
|
- console.log("listOilType",response)
|
|
|
if (response.hasOwnProperty("rows")) {
|
|
|
for (let i in response.rows) {
|
|
|
if (response.rows[i].oilType === "2") {
|
|
@@ -294,7 +292,6 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
listViewData(query).then((response) => {
|
|
|
- console.log("listViewData",response)
|
|
|
if (response.data!=null ) {
|
|
|
if (response.data.wxAmt) {
|
|
|
this.form.wxAmt = response.data.wxAmt;
|
|
@@ -398,6 +395,7 @@ export default {
|
|
|
query.beginTime = this.dateCalculate();
|
|
|
query.endTime = this.dateCalculate(1);
|
|
|
this.getTodayList(query);
|
|
|
+ break;
|
|
|
case 1: // 昨天
|
|
|
query.beginTime = this.dateCalculate(-1);
|
|
|
query.endTime = this.dateCalculate();
|