|
|
@@ -64,6 +64,7 @@ export default {
|
|
|
deduction: 0,
|
|
|
actuallypaid: 0,
|
|
|
chabao: 0,
|
|
|
+ brand_id: ""
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -75,7 +76,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getIntegral(){
|
|
|
- post("local/getIntegral",{type:1}).then(res=>{
|
|
|
+ post("local/getIntegral",{type:1,brand_id: this.brand_id}).then(res=>{
|
|
|
if (res.code == 0) {
|
|
|
let i1 = res.data.integral, i2 = res.data.chabao;
|
|
|
this.Integral = this.$h.Mul(i1,100);
|
|
|
@@ -180,6 +181,7 @@ export default {
|
|
|
this.getuserInfo();
|
|
|
},
|
|
|
onLoad(da) {
|
|
|
+ this.brand_id = da.brand_id;
|
|
|
this.getMerchant(da);
|
|
|
this.getCartList(da.restaurant_id);
|
|
|
},
|