|
@@ -76,6 +76,13 @@
|
|
|
<el-radio label="5">授信余额</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item v-if="rebookForm.diffPrice > 0 && rebookForm.paymentType == 2 " label="收取现金 :" prop="realPrice_1">
|
|
|
+ <el-input @input="setRealPrice_1" style="width: 200px;" v-model="rebookForm.realPrice_1"></el-input>
|
|
|
+ <span>元</span>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="找零金额 :" v-if="rebookForm.diffPrice > 0 && ruleForm.paymentType == 2">
|
|
|
+ ¥{{ rebookForm.small }}元
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="备注:">
|
|
|
<el-input
|
|
|
v-model="rebookForm.resubmitRemark"
|
|
@@ -86,7 +93,7 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div class="tip-box">
|
|
|
- <p>温馨提示:每张票仅限改签一次,改签成功后原订单费用将原路返回退还给客户,请知悉。</p>
|
|
|
+ <p>温馨提示:仅限改签一次,且改签后禁止退款,确认要继续改签吗?</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="rebook1_seat" v-loading="seatLoading" :element-loading-text="seatLoadText">
|
|
@@ -174,6 +181,7 @@ import { countBySeatTyp } from '@/api/ticketMr/InventoryTemplate'
|
|
|
import { pageList as getSeatType } from '@/api/seatTypeMr/seatTypeMr'
|
|
|
import seatBox from '@/components/seatBox/index.vue';
|
|
|
import payJs from "../mixins/pay"
|
|
|
+const mathM = require('mathjs')
|
|
|
export default {
|
|
|
name: "RebookBox",
|
|
|
components: { seatBox },
|
|
@@ -227,7 +235,7 @@ export default {
|
|
|
this.rebookDialog = true
|
|
|
this.payStatus = null
|
|
|
this.rebookForm = {
|
|
|
- resubmitType: 2, // 改签类型: 1-改签 2-升舱 不传默认为改签
|
|
|
+ resubmitType: 1, // 改签类型: 1-改签 2-升舱 不传默认为改签
|
|
|
goodsDiffAmount: undefined,
|
|
|
performName: row.performName,
|
|
|
goodsName: row.goodsName,
|
|
@@ -259,6 +267,8 @@ export default {
|
|
|
this.intervalListLoading = true
|
|
|
this.rebookForm.performTimeId = undefined
|
|
|
this.intervalList = []
|
|
|
+ this.$set(this.rebookForm,'realPrice',0)
|
|
|
+ this.$set(this.rebookForm,'realPrice',0)
|
|
|
if (!this.rebookForm.performDate) return
|
|
|
|
|
|
getDateTimeAll({
|
|
@@ -438,6 +448,11 @@ export default {
|
|
|
this.rebookForm.seatList = list1
|
|
|
console.log("已选择的====",list)
|
|
|
},
|
|
|
+ setRealPrice_1(value) {
|
|
|
+ if(this.rebookForm.realPrice && !isNaN(this.rebookForm.realPrice) && value && !isNaN(value)) {
|
|
|
+ this.$set(this.rebookForm,'small',mathM.format(Number(value) - Number(this.rebookForm.realPrice),10) )
|
|
|
+ }
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|