|
|
@ -275,9 +275,7 @@ |
|
|
|
wechatPay, |
|
|
|
wechatPay, |
|
|
|
getHuiLianTongCardBalance, |
|
|
|
getHuiLianTongCardBalance, |
|
|
|
cardPay, |
|
|
|
cardPay, |
|
|
|
orderToGoldPay, |
|
|
|
|
|
|
|
findUser, |
|
|
|
findUser, |
|
|
|
oilCardPay, |
|
|
|
|
|
|
|
getUserOrderPreList, |
|
|
|
getUserOrderPreList, |
|
|
|
canUseDiscount, |
|
|
|
canUseDiscount, |
|
|
|
create, |
|
|
|
create, |
|
|
@ -311,8 +309,6 @@ |
|
|
|
user: '', |
|
|
|
user: '', |
|
|
|
paytype: 'weixin', |
|
|
|
paytype: 'weixin', |
|
|
|
PaymentPassword: '', |
|
|
|
PaymentPassword: '', |
|
|
|
// timedeductionPrice: '0', //本次优惠金额 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
orderPrice: '', //原价 |
|
|
|
orderPrice: '', //原价 |
|
|
|
deductionPrice: '0.00', //优惠金额 |
|
|
|
deductionPrice: '0.00', //优惠金额 |
|
|
|
OrderPreList: [], //优惠券数据 |
|
|
|
OrderPreList: [], //优惠券数据 |
|
|
@ -348,7 +344,6 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
onShow() { |
|
|
|
let that = this; |
|
|
|
let that = this; |
|
|
|
// that.paytype = ''; |
|
|
|
|
|
|
|
that.findUser(); |
|
|
|
that.findUser(); |
|
|
|
this.priceValue[1] = 0; |
|
|
|
this.priceValue[1] = 0; |
|
|
|
this.reload(); |
|
|
|
this.reload(); |
|
|
@ -488,14 +483,6 @@ |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
this.orderList = res.return_data; |
|
|
|
this.orderList = res.return_data; |
|
|
|
this.payPrice = res.return_data.payPrice; |
|
|
|
this.payPrice = res.return_data.payPrice; |
|
|
|
// let payprice = parseFloat(this.payPrice * 100).toFixed( |
|
|
|
|
|
|
|
// 0); |
|
|
|
|
|
|
|
// if (payprice > this.user.gold) { |
|
|
|
|
|
|
|
// this.availIntegal = this.user.gold; |
|
|
|
|
|
|
|
// } else { |
|
|
|
|
|
|
|
// this.availIntegal = payprice; |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.getRebateIntegral(); |
|
|
|
this.getRebateIntegral(); |
|
|
|
this.getThirdPartyByDetail(); |
|
|
|
this.getThirdPartyByDetail(); |
|
|
|
} |
|
|
|
} |
|
|
@ -831,7 +818,7 @@ |
|
|
|
"payGold": this.priceValue[1], |
|
|
|
"payGold": this.priceValue[1], |
|
|
|
"promoteCode": this.identificationCode, |
|
|
|
"promoteCode": this.identificationCode, |
|
|
|
"payPwd": this.PaymentPassword, |
|
|
|
"payPwd": this.PaymentPassword, |
|
|
|
memDiscountId: this.memDiscountId |
|
|
|
"memDiscountId": this.memDiscountId |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
create(goods).then(res => { |
|
|
|
create(goods).then(res => { |
|
|
|