fixed bug 8.11

This commit is contained in:
2020-08-11 09:46:05 +08:00
parent 003bc07c6b
commit 4739ef71a9
8 changed files with 21 additions and 13 deletions

View File

@@ -148,7 +148,7 @@ export default {
onLoad(option) {
this.orderType = this.$store.state.orderType;
this.orderInfo = this.$store.state.orderInfo;
// console.log(this.orderType);
console.log('orderType' + this.orderType);
// console.log(this.orderInfo);
this.getGoodsClass();
this.setTotalPrice();
@@ -204,6 +204,8 @@ export default {
this.withImmediate();
} else if(this.orderType == 1) {
this.sendOrder(0);
} else if(this.orderType == 3) {
this.sendOrder(0);
} else {
this.sendOrder(1);
}

View File

@@ -109,7 +109,7 @@ export default {
})
},
switchCurrent(current) {
if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc;
if(current == 3 && this.current == 3) this.priceOrderAsc = !this.priceOrderAsc;
this.current = current;
},
setViewHeight() {