|
@@ -244,7 +244,8 @@
|
|
|
address: that.address,
|
|
|
goods: that.orderList,
|
|
|
total_detail: that.total_detail,
|
|
|
- coupon: that.coupon
|
|
|
+ coupon: that.coupon,
|
|
|
+ type: that.type
|
|
|
}
|
|
|
const arr = await that.$api(`/order`, 'POST', data)
|
|
|
if (arr.errcode == '0') {
|
|
@@ -376,8 +377,6 @@
|
|
|
}
|
|
|
if (total >= 0) {
|
|
|
this.$set(this, `goods_total`, total);
|
|
|
- console.log(total);
|
|
|
- console.log(this.total_detail);
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: `实付金额不能为负数 不能使用该优惠劵`,
|