Commit 3eebbe65 authored by youjie's avatar youjie

no message

parent 83e2e83a
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<i class="el-icon-circle-close-outline fr" style="cursor: pointer; margin: 3px 0 0 0;" @click="closePic()"></i> <i class="el-icon-circle-close-outline fr" style="cursor: pointer; margin: 3px 0 0 0;" @click="closePic()"></i>
</p> </p>
<div style="margin: 15px 0;" v-show="!isShowPic"> <div style="margin: 15px 0;" v-show="!isShowPic">
<el-input placeholder="请输入金额" v-model="payMoney" <el-input placeholder="请输入金额" v-model="payMoney"
@input="payMoney=/^\d+\.?\d{0,2}$/.test(payMoney)||payMoney == '' ? payMoney : payMoney=''"> @input="payMoney=/^\d+\.?\d{0,2}$/.test(payMoney)||payMoney == '' ? payMoney : payMoney=''">
<el-select class='fz12 w120' v-model="payType" slot="prepend" placeholder="请选择费用类型" filterable :readonly="false"> <el-select class='fz12 w120' v-model="payType" slot="prepend" placeholder="请选择费用类型" filterable :readonly="false">
<el-option v-for='item in fylxList' :label="item.Name" :value="item.ID" :key='item.ID'> <el-option v-for='item in fylxList' :label="item.Name" :value="item.ID" :key='item.ID'>
...@@ -34,8 +34,9 @@ ...@@ -34,8 +34,9 @@
<el-option label="二维码" value="1"></el-option> <el-option label="二维码" value="1"></el-option>
<el-option label="团队收款" value="2"></el-option> <el-option label="团队收款" value="2"></el-option>
<el-option v-if='item.orderState===1' label="团队退款" value="3"></el-option> <el-option v-if='item.orderState===1' label="团队退款" value="3"></el-option>
<el-option label="团队小费" value="4"></el-option> <el-option label="团队小费" value="4"></el-option>
<el-option v-if="photoF" label="照片服务费" value="5"></el-option> <el-option v-if="photoF" label="照片服务费" value="5"></el-option>
<el-option label="月结平台费" value="6"></el-option>
</el-select> </el-select>
</el-popover> </el-popover>
</div> </div>
...@@ -47,7 +48,7 @@ ...@@ -47,7 +48,7 @@
data() { data() {
return { return {
value:'', value:'',
visible:false, visible:false,
payObj: {}, payObj: {},
payWay: '3', payWay: '3',
minpay: '0', minpay: '0',
...@@ -79,9 +80,9 @@ ...@@ -79,9 +80,9 @@
if(this.timer) if(this.timer)
{ {
clearInterval(this.timer) clearInterval(this.timer)
} }
} }
}, },
deep: true deep: true
...@@ -97,7 +98,7 @@ ...@@ -97,7 +98,7 @@
if(this.timer) if(this.timer)
{ {
clearInterval(this.timer) clearInterval(this.timer)
} }
}, },
...@@ -193,6 +194,26 @@ ...@@ -193,6 +194,26 @@
'orderObj':JSON.stringify(orderObj) 'orderObj':JSON.stringify(orderObj)
} }
}); });
} else if (this.value === '6') {
this.visible=false
let orderObj = {
OrderID:obj.orderId,//订单号
OrderSource:8,//12
Obj: {},
SourceID:obj.ID,//机票id
TCIDList: TCIDARR
}
this.$router.push({
name: 'ChoiceAddFinancialDocuments',
query:{
"Type":2,
'searchTitle': '月结',
"companyID":obj.outBranchId,//公司id
"path": "",
'blank':'y',
'orderObj':JSON.stringify(orderObj)
}
});
} }
this.value = '' this.value = ''
}, },
...@@ -245,7 +266,7 @@ ...@@ -245,7 +266,7 @@
if(res.data.data.LowDeposit != -1) { if(res.data.data.LowDeposit != -1) {
this.minpay = res.data.data.LowDeposit this.minpay = res.data.data.LowDeposit
this.payMoney = res.data.data.LowDeposit>this.item.preferPrice?this.item.preferPrice:res.data.data.LowDeposit this.payMoney = res.data.data.LowDeposit>this.item.preferPrice?this.item.preferPrice:res.data.data.LowDeposit
} }
} }
}, err => {}) }, err => {})
...@@ -262,9 +283,9 @@ ...@@ -262,9 +283,9 @@
this.$message.warning('请选择费用类型!') this.$message.warning('请选择费用类型!')
return return
} }
this.apipost('OnlinePay_post_GetCodeUrl', msg, res => { this.apipost('OnlinePay_post_GetCodeUrl', msg, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
this.payPic = res.data.data.CodeURL this.payPic = res.data.data.CodeURL
this.lastTime = new Date(res.data.data.ExpireDate) this.lastTime = new Date(res.data.data.ExpireDate)
this.nowDate=new Date(res.data.data.NowDate) this.nowDate=new Date(res.data.data.NowDate)
...@@ -306,7 +327,7 @@ ...@@ -306,7 +327,7 @@
// this.descMin = 0 // this.descMin = 0
// this.descSecond = 0 // this.descSecond = 0
// } // }
// //
// // 一秒后递归 // // 一秒后递归
// }, // },
descTime() { descTime() {
...@@ -330,11 +351,11 @@ ...@@ -330,11 +351,11 @@
this.descMin = 0 this.descMin = 0
this.descSecond = 0 this.descSecond = 0
this.descHour = 0 this.descHour = 0
clearInterval(this.timer) clearInterval(this.timer)
} }
this.chaTime-=1000 this.chaTime-=1000
// 一秒后递归 // 一秒后递归
}, },
getFylx() { getFylx() {
this.apipost('Financial_post_GetByOrderCostTypeList', {Type:1}, res => { this.apipost('Financial_post_GetByOrderCostTypeList', {Type:1}, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
...@@ -352,4 +373,4 @@ ...@@ -352,4 +373,4 @@
<style> <style>
.templatePayURL .el-input--suffix .el-input__inner{padding: 0 10px 0 8px!important; font-size: 12px;} .templatePayURL .el-input--suffix .el-input__inner{padding: 0 10px 0 8px!important; font-size: 12px;}
.templatePayURL .el-input__suffix{right: 0!important;} .templatePayURL .el-input__suffix{right: 0!important;}
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment