Commit 60d5d489 authored by youjie's avatar youjie

no message

parent d50f4659
......@@ -623,7 +623,7 @@
</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>
v-model="msg.PayReceipt_No" :placeholder="msg.CourseId==1?'输入银行卡号后四位':'输入平台名称'" style="width: 364px;" clearable></el-input>
</span>
</p>
</template>
......@@ -785,8 +785,8 @@
ContractCustomer: null,
Description: '',
msg: {
CourseName: '',
PayReceiptNo: null,
Course_Name: '',
PayReceipt_No: null,
CourseId: null,
ReFinanceId: '',
FrID: 0,
......@@ -937,11 +937,11 @@
methods: {
getCourseId(){
if(!this.msg.CourseId){
this.msg.CourseName = ''
this.msg.Course_Name = ''
return
}
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) {
obj.show = false;
......@@ -1431,7 +1431,7 @@
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){
if(this.msg.TemplateId==27&&this.msg.CourseId&&!this.msg.PayReceipt_No){
return this.Error(`请输入${this.msg.CourseId==1?'银行卡号后四位':'请输入平台名称'}`)
}
if ((this.orderObj && !this.orderObj.isPrestore) || this.msg.DepositCustomerId) {
......@@ -1833,6 +1833,13 @@
this.msg = JSON.parse(JSON.stringify(data));
this.msg.SigningCustomerId = data.SigningCustomerId ? Number(data.SigningCustomerId) : ''
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.orderObj&&(this.msg.SigningCustomerId||this.msg.DepositCustomerId)) this.$set(this.orderObj, 'isPrestore', true)
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