Commit 6d507214 authored by liudong1993's avatar liudong1993

1 预付冲抵

parent 3d773fab
...@@ -2863,7 +2863,9 @@ ...@@ -2863,7 +2863,9 @@
msg = { msg = {
OtherType: 7, OtherType: 7,
ReFinanceId: that.yfHandmsg.ReFinanceId, ReFinanceId: that.yfHandmsg.ReFinanceId,
czState: that.yfHandmsg.czState czState: that.yfHandmsg.czState,
ClientType: this.yfcheckList[0].ClientType,
ClientID: this.yfcheckList[0].ClientID
} }
} }
......
...@@ -2367,6 +2367,9 @@ ...@@ -2367,6 +2367,9 @@
ObjID: 0, ObjID: 0,
CardNum: '' CardNum: ''
} }
if (this.czmsg && this.czmsg.ClientID) {
msg.ID = this.czmsg.ClientID;
}
this.apipost('financeinfo_post_GetClientAccountList', msg, res => { this.apipost('financeinfo_post_GetClientAccountList', msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
...@@ -2380,6 +2383,11 @@ ...@@ -2380,6 +2383,11 @@
ObjID: x.ObjID, ObjID: x.ObjID,
} }
if (x.ID == this.msg.ClientID) { if (x.ID == this.msg.ClientID) {
if (this.czmsg && this.czmsg.ClientID) {
this.msg.AccountNumber = x.CardNum +' '+x.OpenBankName;
this.msg.RemitterName = obj.Name;
this.ClientAccountListS.push(obj);
}
this.financeinfo_post_GetClientAccountList(this.msg.ClientType, x.ObjID); this.financeinfo_post_GetClientAccountList(this.msg.ClientType, x.ObjID);
} }
ClientAccountList.push(obj) ClientAccountList.push(obj)
...@@ -2512,6 +2520,13 @@ ...@@ -2512,6 +2520,13 @@
this.msg.KingdeeClientID = this.msg.KingdeeClientID == 0 ? '' : this.msg.KingdeeClientID; this.msg.KingdeeClientID = this.msg.KingdeeClientID == 0 ? '' : this.msg.KingdeeClientID;
this.msg.ClientType = this.msg.ClientType == 0 ? '' : this.msg.ClientType; this.msg.ClientType = this.msg.ClientType == 0 ? '' : this.msg.ClientType;
this.msg.ClientID = this.msg.ClientID == 0 ? '' : this.msg.ClientID; this.msg.ClientID = this.msg.ClientID == 0 ? '' : this.msg.ClientID;
if (this.czmsg && this.czmsg.ClientID) {
this.msg.ClientType = this.czmsg.ClientType;
this.msg.ClientID = this.czmsg.ClientID;
data.ClientType = this.czmsg.ClientType;
}
this.msg.DepositCustomerId = data.DepositCustomerId ? Number(data.DepositCustomerId) : '' this.msg.DepositCustomerId = data.DepositCustomerId ? Number(data.DepositCustomerId) : ''
if (this.msg.DepositCustomerId) this.isDepositCustomer = true if (this.msg.DepositCustomerId) this.isDepositCustomer = true
if (id || id === 0) { if (id || id === 0) {
...@@ -2595,6 +2610,9 @@ ...@@ -2595,6 +2610,9 @@
this.BillSonName = data.FinanceName; this.BillSonName = data.FinanceName;
this.IsUploadPic = data.IsUploadPic; this.IsUploadPic = data.IsUploadPic;
this.msg.IsPublic = data.IsPublic; this.msg.IsPublic = data.IsPublic;
if (this.czmsg && this.czmsg.ClientID) {
this.msg.IsPublic=1;
}
this.GetDetail = data; this.GetDetail = data;
this.GetHandFeeList() //获取手配费功能权限配置 this.GetHandFeeList() //获取手配费功能权限配置
if (this.orderObj != null && this.orderObj.OrderSource === 10) { if (this.orderObj != null && this.orderObj.OrderSource === 10) {
...@@ -3122,6 +3140,13 @@ ...@@ -3122,6 +3140,13 @@
if (this.czmsg.Rate) { if (this.czmsg.Rate) {
this.czmsgState = true; this.czmsgState = true;
} }
if(this.czmsg.ClientID&&this.czmsg.ClientID>0){
console.log('1:'+this.czmsg.ClientType);
console.log('2:'+this.czmsg.ClientID);
this.msg.IsPublic=1;
this.msg.ClientType = this.czmsg.ClientType;
this.msg.ClientID = this.czmsg.ClientID;
}
} }
if (this.$route.query.id >= 0) this.msg.TemplateId = this.$route.query.id; if (this.$route.query.id >= 0) this.msg.TemplateId = this.$route.query.id;
if (this.msg.TemplateId == 90 || this.msg.TemplateId == 91) { if (this.msg.TemplateId == 90 || this.msg.TemplateId == 91) {
......
...@@ -162,6 +162,8 @@ ...@@ -162,6 +162,8 @@
// 地接总表 预付款冲抵 // 地接总表 预付款冲抵
if(this.queryObj.czmsg){ if(this.queryObj.czmsg){
this.queryObj.czmsg.ReFinanceId = this.checkList[0].FrID this.queryObj.czmsg.ReFinanceId = this.checkList[0].FrID
this.queryObj.czmsg.ClientType = this.checkList[0].ClientType
this.queryObj.czmsg.ClientID = this.checkList[0].ClientID
// this.tradeObj.czmsg.Rate = this.checkList[0].Rate; // this.tradeObj.czmsg.Rate = this.checkList[0].Rate;
this.queryObj.czmsg.TCNUM = this.$route.query.id this.queryObj.czmsg.TCNUM = this.$route.query.id
this.queryObj.czmsg = JSON.stringify(this.queryObj.czmsg) this.queryObj.czmsg = JSON.stringify(this.queryObj.czmsg)
......
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