Commit 60d5d489 authored by youjie's avatar youjie

no message

parent d50f4659
...@@ -623,7 +623,7 @@ ...@@ -623,7 +623,7 @@
</span> </span>
<span> <span>
<el-input type="text" class="w135 _border_b_1" <el-input type="text" class="w135 _border_b_1"
v-model="msg.PayReceiptNo" :placeholder="msg.CourseId==1?'输入银行卡号后四位':'输入平台名称'" style="width: 364px;" clearable></el-input> v-model="msg.PayReceipt_No" :placeholder="msg.CourseId==1?'输入银行卡号后四位':'输入平台名称'" style="width: 364px;" clearable></el-input>
</span> </span>
</p> </p>
</template> </template>
...@@ -785,8 +785,8 @@ ...@@ -785,8 +785,8 @@
ContractCustomer: null, ContractCustomer: null,
Description: '', Description: '',
msg: { msg: {
CourseName: '', Course_Name: '',
PayReceiptNo: null, PayReceipt_No: null,
CourseId: null, CourseId: null,
ReFinanceId: '', ReFinanceId: '',
FrID: 0, FrID: 0,
...@@ -937,11 +937,11 @@ ...@@ -937,11 +937,11 @@
methods: { methods: {
getCourseId(){ getCourseId(){
if(!this.msg.CourseId){ if(!this.msg.CourseId){
this.msg.CourseName = '' this.msg.Course_Name = ''
return return
} }
let list = this.PaymentMethodList.filter(x=>{ return x.Id==this.msg.CourseId }) let list = this.PaymentMethodList.filter(x=>{ return x.Id==this.msg.CourseId })
this.msg.CourseName = list[0].Name this.msg.Course_Name = list[0].Name
}, },
deleteRow(i, obj) { deleteRow(i, obj) {
obj.show = false; obj.show = false;
...@@ -1431,7 +1431,7 @@ ...@@ -1431,7 +1431,7 @@
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null
}, },
AddFinancial(z) { //保存 AddFinancial(z) { //保存
if(this.msg.TemplateId==27&&this.msg.CourseId&&!this.msg.PayReceiptNo){ if(this.msg.TemplateId==27&&this.msg.CourseId&&!this.msg.PayReceipt_No){
return this.Error(`请输入${this.msg.CourseId==1?'银行卡号后四位':'请输入平台名称'}`) return this.Error(`请输入${this.msg.CourseId==1?'银行卡号后四位':'请输入平台名称'}`)
} }
if ((this.orderObj && !this.orderObj.isPrestore) || this.msg.DepositCustomerId) { if ((this.orderObj && !this.orderObj.isPrestore) || this.msg.DepositCustomerId) {
...@@ -1833,6 +1833,13 @@ ...@@ -1833,6 +1833,13 @@
this.msg = JSON.parse(JSON.stringify(data)); this.msg = JSON.parse(JSON.stringify(data));
this.msg.SigningCustomerId = data.SigningCustomerId ? Number(data.SigningCustomerId) : '' this.msg.SigningCustomerId = data.SigningCustomerId ? Number(data.SigningCustomerId) : ''
this.msg.DepositCustomerId = data.DepositCustomerId ? Number(data.DepositCustomerId) : '' this.msg.DepositCustomerId = data.DepositCustomerId ? Number(data.DepositCustomerId) : ''
this.msg.PayReceipt_No = data.PayReceipt_No
this.msg.Course_Name = data.Course_Name
if(data.Course_Name=='银行') this.msg.CourseId = 1
if(data.Course_Name=='平台') this.msg.CourseId = 4
this.msg.TemplateId = data.TemplateId
if (this.msg.DepositCustomerId) this.isDepositCustomer = true if (this.msg.DepositCustomerId) this.isDepositCustomer = true
if (this.orderObj&&(this.msg.SigningCustomerId||this.msg.DepositCustomerId)) this.$set(this.orderObj, 'isPrestore', true) if (this.orderObj&&(this.msg.SigningCustomerId||this.msg.DepositCustomerId)) this.$set(this.orderObj, 'isPrestore', true)
let obj = { let obj = {
......
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