Commit 6d507214 authored by liudong1993's avatar liudong1993

1 预付冲抵

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