|
@@ -61,6 +61,7 @@ export default defineComponent({
|
|
|
orderAmount: 0, // 订单金额,用于使用优惠券,余额,优惠等
|
|
|
orderPrice: 0, // 支付金额,最后支付金额
|
|
|
dataLoading: true,
|
|
|
+ disabledCoupon: false, // 是否禁用优惠券
|
|
|
exists: false, // 是否签署过用户注册协议
|
|
|
bottomHeight: 0,
|
|
|
paymentVendor: '', //支付厂商
|
|
@@ -140,6 +141,8 @@ export default defineComponent({
|
|
|
|
|
|
this.orderAmount = orderStatus.orderObject.actualPrice || 0
|
|
|
this.orderPrice = orderStatus.orderObject.actualPrice || 0
|
|
|
+
|
|
|
+ this.disabledCoupon = orderStatus.orderObject.orderNo ? true : false
|
|
|
this.dataLoading = false
|
|
|
// 0元支付特别处理
|
|
|
if (this.orderPrice === 0 && orderStatus.orderObject.orderType) {
|
|
@@ -557,7 +560,7 @@ export default defineComponent({
|
|
|
orderType={this.orderType}
|
|
|
orderAmount={this.orderAmount}
|
|
|
onCouponSelect={this.onCouponSelect}
|
|
|
- disabled={orderStatus.orderObject.orderNo ? true : false}
|
|
|
+ disabled={this.disabledCoupon}
|
|
|
/>
|
|
|
)}
|
|
|
|