Commit 80d744b5 authored by youjie's avatar youjie

收款制单 日本客户 是否有转账手续费

parent 7a8ea3b1
......@@ -1722,7 +1722,7 @@
if (this.orderObj && this.orderObj.TravelReplenish) {
this.msg.TravelReplenish = this.orderObj.TravelReplenish
}
this.loading = true;
this.msg.Description = this.Description;
......@@ -1741,6 +1741,33 @@
this.msg.OtherType = this.czmsg.OtherType;
this.msg.ReTCID = this.czmsg.ReTCID;
}
// 是否是日本客户
let that = this
let ClientAccountObj = this.ClientAccountList.find(x=>{
return x.ID==this.msg.ClientID
})
// 是否存在转账手续费
let detailObj = this.msg.detailList.find(x=>{
return x.CostTypeId==114
})
if(ClientAccountObj.ClientAccountType==1&&!detailObj){
let title = z?'暂存':'制单'
this.$confirm('转账付款给日本账户,请确认此单无转账手续费吗?', this.$t('tips.tips'), {
confirmButtonText: `继续${title}`,
cancelButtonText: `取消${title}`,
type: 'warning'
}).then(() => {
that.loading = true;
that.FinancialPostSet()
}).catch(() => {})
}else{
that.loading = true;
that.FinancialPostSet()
}
},
// 提交 暂存接口
FinancialPostSet(z){
this.apipost('Financial_post_Set', this.msg, res => {
if (res.data.resultCode == 1) {
//清除旅客名单数据
......@@ -1789,6 +1816,7 @@
}
this.loading = false;
}, err => {})
},
FinancialFlowTemplate_post_GetProcessList(id) {
this.apipost('FinancialFlowTemplate_post_GetProcessList', {
......@@ -2019,6 +2047,7 @@
OpenBankName: x.OpenBankName,
allName: x.CardNum + " " + x.OpenBankName,
ObjID: x.ObjID,
ClientAccountType: x.ClientAccountType,
}
ClientAccountList.push(obj)
})
......@@ -2031,6 +2060,7 @@
Nom: x.CardNum,
OpenBankName: x.OpenBankName,
ObjID: x.ObjID,
ClientAccountType: x.ClientAccountType,
}
ClientAccountList.push(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