|
@@ -40,7 +40,7 @@
|
|
|
<el-form-item v-if="rebookForm.diffPrice > 0" label="升舱费用:" prop="goodsDiffAmount">
|
|
|
<el-input v-model="rebookForm.goodsDiffAmount" type="number" style="width: 200px;" @input="setRealPrice_2"
|
|
|
:min="0"></el-input>
|
|
|
- <span>元</span>
|
|
|
+ <span>元/人</span>
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="rebookForm.diffPrice > 0 && !rebookForm.channelType != 'group'" label="支付方式 :"
|
|
|
prop="paymentType">
|
|
@@ -143,7 +143,9 @@
|
|
|
payStatus==10 ? '订单已关闭,请重新选择座位,再购买!!!' :
|
|
|
payStatus==3 ? '现金支付记录入库失败,请重新提交' : '未知状态' }}
|
|
|
</span>
|
|
|
- <span v-if="payStatus==2">需支付{{ rebookForm.payAmount }}元</span>
|
|
|
+ <span v-if="payStatus==2" style="margin-bottom: 20px;">需支付¥{{ calTotalPrice(rebookForm.goodsDiffAmount,rebookForm.touristNum) }}元</span>
|
|
|
+ <!-- <span v-if="payStatus==2">需支付{{ rebookForm.payAmount }}元</span> -->
|
|
|
+
|
|
|
<!-- 重新生成订单 1 -->
|
|
|
<div v-if="payStatus==1" style="display: flex;">
|
|
|
<el-button @click="payStatus = null" type="success">修改信息</el-button>
|
|
@@ -152,6 +154,8 @@
|
|
|
</div>
|
|
|
<!-- 生成订单成功 选择支付方式 -->
|
|
|
<div>
|
|
|
+ <!-- 取消支付 -->
|
|
|
+ <el-button @click="handleClose()" type="primary">取消支付</el-button>
|
|
|
<!-- 扫码支付 2 -->
|
|
|
<el-button v-if="payStatus==2" @click="vbar_open(orderId)" type="success">扫码支付</el-button>
|
|
|
<!-- 扫码支付 4 -->
|
|
@@ -286,6 +290,7 @@ export default {
|
|
|
performId: row.performId,
|
|
|
auditoriumId: row.auditoriumId,
|
|
|
paymentType: "1", // 支付方式'
|
|
|
+ realPrice: row.realPrice,
|
|
|
touristNum: row.touristNum,
|
|
|
seatList: [],
|
|
|
performTimeEnd: row.performTimeEnd,
|
|
@@ -369,6 +374,15 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ // 计算 升舱支付费用
|
|
|
+ calTotalPrice(unitPrice, quantity) {
|
|
|
+ console.log(this.rebookForm,'2222');
|
|
|
+ let totalPrice = 0
|
|
|
+ if(unitPrice && quantity ) {
|
|
|
+ totalPrice = mathM.multiply(unitPrice, quantity);
|
|
|
+ }
|
|
|
+ return totalPrice
|
|
|
+ },
|
|
|
/** 退出窗口 */
|
|
|
handleClose(done) {
|
|
|
// if(this.payStatus==8) {
|