Commit 3eebbe65 authored by youjie's avatar youjie

no message

parent 83e2e83a
......@@ -6,7 +6,7 @@
<i class="el-icon-circle-close-outline fr" style="cursor: pointer; margin: 3px 0 0 0;" @click="closePic()"></i>
</p>
<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=''">
<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'>
......@@ -34,8 +34,9 @@
<el-option label="二维码" value="1"></el-option>
<el-option label="团队收款" value="2"></el-option>
<el-option v-if='item.orderState===1' label="团队退款" value="3"></el-option>
<el-option label="团队小费" value="4"></el-option>
<el-option v-if="photoF" label="照片服务费" value="5"></el-option>
<el-option label="团队小费" value="4"></el-option>
<el-option v-if="photoF" label="照片服务费" value="5"></el-option>
<el-option label="月结平台费" value="6"></el-option>
</el-select>
</el-popover>
</div>
......@@ -47,7 +48,7 @@
data() {
return {
value:'',
visible:false,
visible:false,
payObj: {},
payWay: '3',
minpay: '0',
......@@ -79,9 +80,9 @@
if(this.timer)
{
clearInterval(this.timer)
}
}
},
deep: true
......@@ -97,7 +98,7 @@
if(this.timer)
{
clearInterval(this.timer)
clearInterval(this.timer)
}
},
......@@ -193,6 +194,26 @@
'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 = ''
},
......@@ -245,7 +266,7 @@
if(res.data.data.LowDeposit != -1) {
this.minpay = res.data.data.LowDeposit
this.payMoney = res.data.data.LowDeposit>this.item.preferPrice?this.item.preferPrice:res.data.data.LowDeposit
}
}
}, err => {})
......@@ -262,9 +283,9 @@
this.$message.warning('请选择费用类型!')
return
}
this.apipost('OnlinePay_post_GetCodeUrl', msg, res => {
if(res.data.resultCode == 1) {
if(res.data.resultCode == 1) {
this.payPic = res.data.data.CodeURL
this.lastTime = new Date(res.data.data.ExpireDate)
this.nowDate=new Date(res.data.data.NowDate)
......@@ -306,7 +327,7 @@
// this.descMin = 0
// this.descSecond = 0
// }
//
//
// // 一秒后递归
// },
descTime() {
......@@ -330,11 +351,11 @@
this.descMin = 0
this.descSecond = 0
this.descHour = 0
clearInterval(this.timer)
clearInterval(this.timer)
}
this.chaTime-=1000
// 一秒后递归
},
},
getFylx() {
this.apipost('Financial_post_GetByOrderCostTypeList', {Type:1}, res => {
if(res.data.resultCode == 1) {
......@@ -352,4 +373,4 @@
<style>
.templatePayURL .el-input--suffix .el-input__inner{padding: 0 10px 0 8px!important; font-size: 12px;}
.templatePayURL .el-input__suffix{right: 0!important;}
</style>
\ No newline at end of file
</style>
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