Commit b8af3657 authored by youjie's avatar youjie

no message

parent ea09d1e5
......@@ -2016,6 +2016,7 @@
{Name:'银行卡',Id:1},
{Name:'支付宝',Id:2},
{Name:'微信',Id:3},
{Name:'平台',Id:4},
],
isOrderOP: false,//是否跳转op订单页面
financeShow: true,
......
......@@ -590,14 +590,43 @@
</div>
<div class="_explain">
<p>{{$t('fnc.fjshuoming')}}</p>
<div style="display: flex;justify-content: start;">
<p>{{$t('fnc.fygsbumen')}}:<span>
<div style="display: flex;flex-wrap: wrap; justify-content: start;">
<p style="width: 300px;">
<span style="flex-shrink: 0;">{{$t('fnc.fygsbumen')}}:</span>
<span>
<el-select filterable v-model='msg.RB_Depart_Id' class="w135 _border_b_1">
<el-option v-for='item in departmentList' :label='item.DepartmentName' :value='item.DepartmentID'
:key='item.DepartmentID'>
</el-option>
</el-select>
</span></p>
<template v-if="msg.TemplateId==27">
<p style="display: flex;">
<span style="flex-shrink: 0;">类型:</span>
<span>
<el-select v-model="msg.CourseId" placeholder="选择收款类型" clearable
class="w135 _border_b_1"
style="width: 100%;" @change="getCourseId">
<el-option v-for="item in PaymentMethodList" :key="item.Id" :label="item.Name"
:value="item.Id"></el-option>
</el-select>
</span>
</p>
<p v-if="msg.CourseId" style="display: flex;margin-left: 15px;">
<span style="flex-shrink: 0;">
<template v-if="msg.CourseId==1">
卡号:
</template>
<template v-if="msg.CourseId==4">
平台:
</template>
</span>
<span>
<el-input type="text" class="w135 _border_b_1"
v-model="msg.PayReceiptNo" :placeholder="msg.CourseId==1?'输入银行卡号后四位':'输入平台名称'" style="width: 364px;" clearable></el-input>
</span>
</p>
</template>
<template v-if="(orderObj&&!orderObj.isPrestore)||msg.SigningCustomerId||msg.DepositCustomerId">
<template v-if="!msg.DepositCustomerId">
<p v-if="CustomerIdList&&CustomerIdList.length" style="margin-left: 15px;">签约客户:<span>
......@@ -746,10 +775,19 @@
export default {
data() {
return {
PaymentMethodList:[
{Name:'银行卡',Id:1},
// {Name:'支付宝',Id:2},
// {Name:'微信',Id:3},
{Name:'平台',Id:4},
],
DepositCustomer: null,
ContractCustomer: null,
Description: '',
msg: {
CourseName: '',
PayReceiptNo: null,
CourseId: null,
ReFinanceId: '',
FrID: 0,
ClientType: 0,
......@@ -897,6 +935,14 @@
}
},
methods: {
getCourseId(){
if(!this.msg.CourseId){
this.msg.CourseName = ''
return
}
let list = this.PaymentMethodList.filter(x=>{ return x.Id==this.msg.CourseId })
this.msg.CourseName = list[0].Name
},
deleteRow(i, obj) {
obj.show = false;
this.msg.detailList.splice(i, 1);
......@@ -1385,6 +1431,9 @@
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null
},
AddFinancial(z) { //保存
if(this.msg.TemplateId==27&&this.msg.CourseId&&!this.msg.PayReceiptNo){
return this.Error(`请输入${this.msg.CourseId==1?'银行卡号后四位':'请输入平台名称'}`)
}
if ((this.orderObj && !this.orderObj.isPrestore) || this.msg.DepositCustomerId) {
let To = Number(this.allPrice + this.msg.Fee)
let totalAmount = 0;
......
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