|
@@ -416,7 +416,8 @@ export default {
|
|
|
inputTrip: false,
|
|
|
focus: true,
|
|
|
goodsSpecId: 0,
|
|
|
- freight: 0
|
|
|
+ freight: 0,
|
|
|
+ zoneType: 0,
|
|
|
};
|
|
|
},
|
|
|
computed: mapGetters(['isLogin']),
|
|
@@ -653,7 +654,8 @@ export default {
|
|
|
remark: that.remark,
|
|
|
settleType: 1,
|
|
|
userAddressId: that.addressInfo.id,
|
|
|
- wlPrice: that.freight
|
|
|
+ wlPrice: that.freight,
|
|
|
+ promotionCode: that.zoneType == 8?that.$Cache.get("INVITE_CODE"):''
|
|
|
}).then(res => {
|
|
|
that.orderKey = res.data.orderNo,
|
|
|
uni.showLoading({
|
|
@@ -890,6 +892,7 @@ export default {
|
|
|
.then((res) => {
|
|
|
that.cartInfo = []
|
|
|
let porject = res.data
|
|
|
+ that.zoneType = porject.zoneType
|
|
|
//找出选择的规格
|
|
|
porject.goodsSpecList.forEach(element => {
|
|
|
if (that.goodsSpecId == element.id) {
|