Commit 14c97404 by fukai

新增保理模块

parent 440f8b64
import Pts from "../Pts.js";
export default class Fidgrp {
constructor() {
this.data = {
fidgrp: {
rec: {
inr:"",
// branchinr: '00000047',
ownref: "", // Reference .fidgrp.rec.ownref
nam: "", // Externally Displayed Name to Identify the Contract .fidgrp.rec.nam
dirflg: "", // indirect or direct flag .fidgrp.rec.dirflg
paybatnum: "", // Payment Batch Nbr .fidgrp.rec.paybatnum
invbatnum: "", // Invoice Batch Number .fidgrp.rec.invbatnum
invdat: "", // 发票转让日期 .fidgrp.rec.invdat
pnttyp:"",
pntinr:"",
pntownref:"",
trnflg:"",
ownusr:"",
factyp: ''
},
blk: {
mesinf: "", // Message Text .fidgrp.blk.mesinf
},
cbs: {
max: {
cur: "", // Total Amt of invoices .fidgrp.cbs.max.cur
amt: "", // Total Amt of invoices .fidgrp.cbs.max.amt
},
max2: {
cur: "", // Total Amt of invoices .fidgrp.cbs.max2.cur
amt: "", // Total Amt of invoices .fidgrp.cbs.max2.amt
},
opn1: {
cur: "", // Total Amt of invoices .fidgrp.cbs.opn1.cur
amt: "", // Total Amt of invoices .fidgrp.cbs.opn1.amt
},
},
slr: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .lrdgrp.slr.dbfadrblkcn
},
buy: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .lrdgrp.buy.dbfadrblkcn
},
imf: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .lrdgrp.imf.dbfadrblkcn
},
exf: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .lrdgrp.exf.dbfadrblkcn
},
con: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .lrdgrp.exf.dbfadrblkcn
},
},
}
}
}
\ No newline at end of file
import Pts from "../Pts.js";
export default class Lmdgrp {
constructor() {
this.data = {
lmdgrp:{
rec:{
ownref:"", // Reference .lmdgrp.rec.ownref
grcdat:"", // Grace period dates .lmdgrp.rec.grcdat
discut1:"", // Primary discount days .lmdgrp.rec.discut1
disrat1:"", // the first Discount rate .lmdgrp.rec.disrat1
discut2:"", // Second discount days .lmdgrp.rec.discut2
disrat2:"", // the Second Discount rate .lmdgrp.rec.disrat2
paytyp:"", // Pay type .lmdgrp.rec.paytyp
nam:"", // Externally Displayed Name to Identify the Contract .lmdgrp.rec.nam
preadvdt:"", // Date Pre-advised .lmdgrp.rec.preadvdt
bustyp:"", // Service Required .lmdgrp.rec.bustyp
paydat:"", // Net Payment Term .lmdgrp.rec.paydat
reqnum:"", // Request Number .lmdgrp.rec.reqnum
buynum:"", // % .lmdgrp.rec.buynum
cur:"", // the max discount currency .lmdgrp.rec.cur
dismaxrat:"", // the max discount rate .lmdgrp.rec.dismaxrat
amt:"", // Amount .lmdgrp.rec.amt
connam:"", // Contact Name .lmdgrp.rec.connam
salcur:"", // Exp. Total seller .lmdgrp.rec.salcur
salamt:"", // Exp. Total seller .lmdgrp.rec.salamt
crtcur:"", // exp. other turnover .lmdgrp.rec.crtcur
crtamt:"", // exp.open account turn- .lmdgrp.rec.crtamt
turcur:"", // exp.open account turn- .lmdgrp.rec.turcur
turamt:"", // exp. other turnover .lmdgrp.rec.turamt
slrcut:"", // Exp.number of buyers .lmdgrp.rec.slrcut
invcut:"", // Exp. number of invoice .lmdgrp.rec.invcut
crecut:"", // Exp. number of credit .lmdgrp.rec.crecut
ditflg:"", // If Allow Direct contact Buyer .lmdgrp.rec.ditflg
ageprf:"", // Agents profile .lmdgrp.rec.ageprf
slrnum:"", // Seller's Number .lmdgrp.rec.slrnum
cltact:"", // Client Account .lmdgrp.rec.cltact
msgf01:"", // Seller Msg Function .lmdgrp.rec.msgf01
selregnum:"", // Seller Company Registe Number for Seller .lmdgrp.rec.selregnum
selrespon:"", // ResponsibleAgency For Seller .lmdgrp.rec.selrespon
buyregnum:"", // Buyer Company Registe Number for Buyer .lmdgrp.rec.buyregnum
buyrespon:"", // ResponsibleAgency For Buyer .lmdgrp.rec.buyrespon
actnbr:"", // Account Number .lmdgrp.rec.actnbr
bnknam:"", // Name of bank .lmdgrp.rec.bnknam
brhnam:"", // Name of branch .lmdgrp.rec.brhnam
othifc:"", // other factors .lmdgrp.rec.othifc
msgf02:"", // Message Functionfor 02 .lmdgrp.rec.msgf02
},
slr:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .lmdgrp.slr.dbfadrblkcn
},
imf:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .lmdgrp.imf.dbfadrblkcn
},
buy:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .lmdgrp.buy.dbfadrblkcn
},
cbs:{
nom1:{
cur:"", // Nominal Amount .lmdgrp.cbs.nom1.cur
amt:"", // Nominal Amount .lmdgrp.cbs.nom1.amt
},
max:{
cur:"", // Maximum Amount .lmdgrp.cbs.max.cur
amt:"", // Maximum Amount .lmdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .lmdgrp.cbs.opn1.cur
amt:"", // Open Amount .lmdgrp.cbs.opn1.amt
},
},
exf:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .lmdgrp.exf.dbfadrblkcn
},
blk:{
recinf:"", // recourse information .lmdgrp.blk.recinf
spcinf:"", // Special services .lmdgrp.blk.spcinf
slrmsg:"", // Seller's Msg .lmdgrp.blk.slrmsg
slrsta:"", // The Seller's Financial Situation .lmdgrp.blk.slrsta
norter:"", // Normal terms of delivery .lmdgrp.blk.norter
lcrgod:"", // Description of Goods .lmdgrp.blk.lcrgod
buymsg:"", // Buyer's Message .lmdgrp.blk.buymsg
},
eag:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .lmdgrp.eag.dbfadrblkcn
},
},
};
}
}
import Pts from "../Pts.js";
export default class Lrdgrp {
constructor() {
this.data = {
lrdgrp:{
slr:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .lrdgrp.slr.dbfadrblkcn
},
buy:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .lrdgrp.buy.dbfadrblkcn
},
cbs:{
nom1:{
cur:"", // Application Amt .lrdgrp.cbs.nom1.cur
amt:"", // Balance .lrdgrp.cbs.nom1.amt
},
max:{
cur:"", // Own Risk Amount .lrdgrp.cbs.max.cur
amt:"", // Balance .lrdgrp.cbs.max.amt
},
opn1:{
cur:"", // Application Amt .lrdgrp.cbs.opn1.cur
amt:"", // Balance .lrdgrp.cbs.opn1.amt
},
},
rec:{
inr:"",
opndat:"", // Date Issued .lrdgrp.rec.opndat
shpdat:"", // Latest shipment Date .lrdgrp.rec.shpdat
discut1:"", // Primary Discount days .lrdgrp.rec.discut1
disrat1:"", // the first Discount rate .lrdgrp.rec.disrat1
discut2:"", // Second Discount days .lrdgrp.rec.discut2
disrat2:"", // the Second Discount rate .lrdgrp.rec.disrat2
appeft:"", // Effective Date of Application .lrdgrp.rec.appeft
rskrat:"", // Own Risk Amount .lrdgrp.rec.rskrat
paytyp:"", // Pay type .lrdgrp.rec.paytyp
paydat:"", // Net Payment Term .lrdgrp.rec.paydat
grcdat:"", // Grace period dates .lrdgrp.rec.grcdat
ditflg:"", // If Allow Direct contact Buyer .lrdgrp.rec.ditflg
ownref:"", // Reference .lrdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .lrdgrp.rec.nam
reqcod:"", // Request .lrdgrp.rec.reqcod
appfun:"", // Message Function .lrdgrp.rec.appfun
lmttyp:"", // Limit Type .lrdgrp.rec.lmttyp
ordref:"", // Order Number .lrdgrp.rec.ordref
reqnum:"", // Request Number .lrdgrp.rec.reqnum
rskamt:"", // Risk Max Amount .lrdgrp.rec.rskamt
pnttyp:"",
pntinr:"",
pntownref:"",
trnflg:"",
factyp:"",
},
blk:{
appinf:"", // Message text .lrdgrp.blk.appinf
},
imf:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .lrdgrp.imf.dbfadrblkcn
},
exf:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .lrdgrp.exf.dbfadrblkcn
},
},
};
}
}
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
return ptspta;
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.bfdgrp, this.buildPtspta);
let dataObj = {
rec: {
objtyp: "Bfd",
ownref: model.bfdgrp.rec.ownref,
},
cbsMap: {
MAX: model.bfdgrp.cbs.max,
NOM1: model.bfdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId
? window.sessionStorage.userId
: "ZL",
};
return dataObj;
},
},
};
import Api from "~/service/Api";
import commonFunctions from "~/mixin/commonFunctions.js";
export default {
mixins: [commonFunctions],
methods: {
},
};
import commonFunctions from "~/mixin/commonFunctions.js";
import commonDepend from "~/mixin/commonDepend";
export default {
mixins: [commonFunctions, commonDepend],
methods: {
},
};
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item :title="$t('factoring.附言')" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</c-collapse>
</div>
</template>
<script>
import event from "../event";
import Coninfp from "~/components/business/coninfp/views";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
},
created: function () { },
};
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000017 : 公共信息 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.项目名称')" prop="trnmod.cmimod.cmigrp.cmi.prjnam">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.prjnam" maxlength="100"></c-input>
</el-form-item>
</c-col>
<!-- S0000010 : 项目名称 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.项目名称')" prop="trnmod.cmimod.cmigrp.cmi.cntnum">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.cntnum" maxlength="30"></c-input>
</el-form-item>
</c-col>
<!-- S0000011 : 商务合同号 -->
<!-- S0000019 : 贷款协议号 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.协议号')" prop="trnmod.cmimod.cmigrp.cmi.depnub">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.depnub" maxlength="30"></c-input>
</el-form-item>
</c-col>
<!-- S0000033 : 推 荐 人 2 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.推荐人2')" prop="trnmod.cmimod.cmigrp.cmi.cmdpsn1">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.cmdpsn1" maxlength="30"></c-input>
</el-form-item>
</c-col>
<!-- S0000020 : 推荐人1 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.推荐人1')" prop="trnmod.cmimod.cmigrp.cmi.cmdpsn">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.cmdpsn" maxlength="30"></c-input>
</el-form-item>
</c-col>
<!-- S0000021 : 推荐单位1 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.推荐单位1')" prop="trnmod.cmimod.cmigrp.cmi.cmdpep">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.cmdpep" style="width:100%" dbCode="CMDPEP">
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 推荐单位2 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.推荐单位2')" prop="trnmod.cmimod.cmigrp.cmi.cmdtwo">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.cmdtwo" style="width:100%" dbCode="CMDPEP">
</c-select>
</el-form-item>
</c-col>
<!-- S0000028 : 二级部门 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.二级部门')" prop="trnmod.cmimod.cmigrp.cmi.cmdpep1">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.cmdpep1" style="width:100%" dbCode="DEPSUB">
</c-select>
</el-form-item>
</c-col>
<!-- S0000030 : 二级部门 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.推荐单位2的二级部门')" prop="trnmod.cmimod.cmigrp.cmi.cmdtwo1">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.cmdtwo1" style="width:100%" dbCode="DEPSUB">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000023 : 信贷资产类型 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.信贷资产类型')" prop="trnmod.cmimod.cmigrp.cmi.crdprd">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.crdprd" style="width:100%" dbCode="CRDPRD">
</c-select>
</el-form-item>
</c-col>
<!-- S0000032 : 发票号 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.发票号')" prop="trnmod.cmimod.cmigrp.cmi.inonum">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.inonum" maxlength="30"></c-input>
</el-form-item>
</c-col>
<!-- S0000031 : 具体类别 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.具体类别')" prop="trnmod.cmimod.cmigrp.cmi.detail">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.detail" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000022 : 交易对手国别 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.交易对手国别')" prop="trnmod.cmimod.cmigrp.cmi.stacty">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.stacty" style="width:100%" dbCode="CTYTXT">
</c-select>
</el-form-item>
</c-col>
<!-- S0000069 : 商务合同 -->
<!-- S0000068 : 创新业务类型 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.创新业务类型')" prop="trnmod.cmimod.cmigrp.cmi.inntrn">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.inntrn" style="width:100%" dbCode="INNTRN">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('factoring.是否421')" prop="trnmod.cmimod.cmigrp.cmi.yesorno">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.yesorno" style="width:100%" dbCode="is10">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('factoring.商务合同折美元')" prop="trnmod.cmimod.cmigrp.cmi.usdamt">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.usdamt"></c-input>
</el-form-item>
</c-col>
<!-- S0000075 : 是否421 -->
<!-- S0000076 : 折美元 -->
<!-- S0000071 : 支农投向 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.支农投向')" prop="trnmod.cmimod.cmigrp.cmi.brncod">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.brncod" style="width:100%" dbCode="BRNFOD">
</c-select>
</el-form-item>
</c-col>
<!-- S0000073 : 利率方式 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.利率方式')" prop="trnmod.cmimod.cmigrp.cmi.rattyp">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.rattyp" style="width:100%" dbCode="RATMET">
</c-select>
</el-form-item>
</c-col>
<!-- S0000077 : 贷款投向大类 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.贷款投向大类')" prop="trnmod.cmimod.cmigrp.cmi.loan">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.loan" style="width:100%" dbCode="loan">
</c-select>
</el-form-item>
</c-col>
<!-- S0000074 : 利率基准 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.利率基准')" prop="trnmod.cmimod.cmigrp.cmi.ratlev">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.ratlev" style="width:100%" dbCode="ratlev">
</c-select>
</el-form-item>
</c-col>
<!-- S0000078 : 贷款投向小类 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.贷款投向小类')" prop="trnmod.cmimod.cmigrp.cmi.fincod">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.fincod" style="width:100%" dbCode="FINCOD">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Historic content of TAG 72" prop="mtabut.coninf.contag72his">
<c-input type="textarea" v-model="model.mtabut.coninf.contag72his" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Historic content of TAG 79" prop="mtabut.coninf.contag79his">
<c-input type="textarea" v-model="model.mtabut.coninf.contag79his" maxlength="50" show-word-limit></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="Current content of TAG 72" prop="mtabut.coninf.contag72">
<c-input type="textarea" v-model="model.mtabut.coninf.contag72" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Current content of TAG 79" prop="mtabut.coninf.contag79">
<c-input type="textarea" v-model="model.mtabut.coninf.contag79" maxlength="50" show-word-limit></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Historic content of TAG 72" prop="mtabut.coninf.contag72his">
<c-input type="textarea" v-model="model.mtabut.coninf.contag72his" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Historic content of TAG 79" prop="mtabut.coninf.contag79his">
<c-input type="textarea" v-model="model.mtabut.coninf.contag79his" maxlength="50" show-word-limit></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="Current content of TAG 72" prop="mtabut.coninf.contag72">
<c-input type="textarea" v-model="model.mtabut.coninf.contag72" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Current content of TAG 79" prop="mtabut.coninf.contag79">
<c-input type="textarea" v-model="model.mtabut.coninf.contag79" maxlength="50" show-word-limit></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Information about Confirmation Instruction" prop="trnmod.trndoc.dtemod.dtetagm06">
<c-input type="textarea" v-model="model.trnmod.trndoc.dtemod.dtetagm06" maxlength="65"
show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Sending Type" prop="trnmod.trndoc.dtemod.dtetagm53typ">
<c-select v-model="model.trnmod.trndoc.dtemod.dtetagm53typ" style="width:100%" dbCode="m53typ">
</c-select>
</el-form-item>
</c-col>
<!-- SF000005 : 送信服务名称 -->
<c-col :span="24">
<el-form-item label="Courier Name" prop="trnmod.trndoc.dtemod.dtetagm53nam">
<c-input v-model="model.trnmod.trndoc.dtemod.dtetagm53nam" maxlength="35"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Courier Number" prop="trnmod.trndoc.dtemod.dtetagm53num">
<c-input v-model="model.trnmod.trndoc.dtemod.dtetagm53num" maxlength="35"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="Notes from Advising Bank" prop="trnmod.trndoc.dtemod.dtetagm07">
<c-input type="textarea" v-model="model.trnmod.trndoc.dtemod.dtetagm07" maxlength="65"
show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Fee of Advising Bank" prop="trnmod.trndoc.dtemod.dtetagm08">
<c-input type="textarea" v-model="model.trnmod.trndoc.dtemod.dtetagm08" maxlength="65"
show-word-limit></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item title="Advance Details" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<!-- <el-collapse-item title="Incoming Tag 72/79" name="coninftag">
<m-coninftag :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="DTA Fields" name="dtetag">
<m-dtetag :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item :title="$t('factoring.公共信息')" name="citp">
<m-citp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item :title="$t('factoring.代理行额度')" name="crppan">
<m-crppan :model="model" :codes="codes" />
</el-collapse-item> -->
<!-- <el-collapse-item title="PD000026" name="trtcre">
<m-trtcrep :model="model" :codes="codes"/>
</el-collapse-item> -->
<!-- <el-collapse-item :title="$t('factoring.风险出让')" name="rstcrep">
<m-rstcrep :model="model" :codes="codes" />
</el-collapse-item> -->
</c-collapse>
</div>
</template>
<script>
import Ovwp1 from "./Ovwp1";
import Coninftag from "./Coninftag";
import Dtetag from "./Dtetag";
import Citp from "./Citp";
import Crppan from "./Crppan";
import Trtcrep from "./Trtcrep";
import Rstcrep from "./Rstcrep";
export default {
components: {
"m-ovwp1": Ovwp1,
"m-coninftag": Coninftag,
"m-dtetag": Dtetag,
"m-citp": Citp,
"m-crppan": Crppan,
"m-trtcrep": Trtcrep,
"m-rstcrep": Rstcrep,
},
inject: ["root"],
props: ["model", "codes"],
data() {
return {
activeNames: ["ovwp1"],
};
},
methods: {},
created: function () {},
computed: {},
};
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Parent Contract" prop="bfdgrp.rec.pntref">
<c-input v-model="model.bfdgrp.rec.pntref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Credit Reference" prop="lrdgrp.rec.ownref">
<c-input v-model="model.lrdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="21">
<el-form-item label="Reference" prop="bfdgrp.rec.ownref">
<c-input
v-model="model.bfdgrp.rec.ownref"
maxlength="16"
></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<el-form-item label="" class="checkbox-left" label-width="10px">
<el-button size="small" type="primary">Get Ref.</el-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Responsible User" prop="bftp.usr.extkey">
<c-input v-model="model.bftp.usr.extkey" maxlength="8"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="16">
<el-form-item label="Type of Advance" prop="bfdgrp.rec.fintyp">
<c-select
v-model="model.bfdgrp.rec.fintyp"
style="width: 100%"
dbCode="FINTp2"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.bftp.fintyp"
>IF Batch Finance</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Advance Percentage" prop="bfdgrp.rec.pctfin">
<c-input v-model="model.bfdgrp.rec.pctfin"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.宽限期天数')"
prop="bfdgrp.rec.grcdat"
>
<c-input v-model="model.bfdgrp.rec.grcdat"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Advance Amount" prop="bfdgrp.cbs.max.cur">
<c-select
v-model="model.bfdgrp.cbs.max.cur"
style="width: 100%"
dbCode="curtxt"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="10px" prop="bfdgrp.cbs.max.amt">
<c-input v-model="model.bfdgrp.cbs.max.amt"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Open Date" prop="bfdgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.opndat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="16">
<el-form-item label="Interest Due Date" prop="bfdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.matdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.bfdgrp.rec.xfhsflg">{{
$t("factoring.息后收费")
}}</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Interest Days" prop="bfdgrp.rec.intday">
<c-input v-model="model.bfdgrp.rec.intday"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Interest Rate" prop="bfdgrp.rec.intrat">
<c-input v-model="model.bfdgrp.rec.intrat"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="Name" prop="bfdgrp.rec.pntnam">
<c-input v-model="model.bfdgrp.rec.pntnam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name" prop="lrdgrp.rec.nam">
<c-input v-model="model.lrdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name" prop="bfdgrp.rec.nam">
<c-input v-model="model.bfdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{ title: 'Invoice Party', grp: 'bfdgrp', rol: 'fia' }"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.宽限期利率')"
prop="bfdgrp.rec.kxqlv"
>
<c-input v-model="model.bfdgrp.rec.kxqlv"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.宽限期利息')"
prop="bfdgrp.rec.kxqlx"
>
<c-input v-model="model.bfdgrp.rec.kxqlx"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Information Finance Party" prop="infpty">
<c-input
type="textarea"
v-model="model.infpty"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-table
max-height="300px"
style="text-align: center"
stripe
:list="documentList || []"
:paginationShow="false"
:border="true"
>
<el-table-column label="Document Details">
<el-table-column label="Doc.Reference" width="auto" prop="num">
<template slot-scope="scope">
<c-input v-model="scope.row.num" maxlength="12"> </c-input>
</template>
</el-table-column>
<el-table-column label="Document Type" width="auto" prop="typ">
<template slot-scope="scope">
<c-select
v-model="scope.row.typ"
dbCode="BEDTYP"
style="width: 100%"
>
</c-select>
</template>
</el-table-column>
<el-table-column label="Cur" width="auto" prop="ref">
<template slot-scope="scope">
<c-select
v-model="scope.row.cur"
dbCode="curtxt"
style="width: 100%"
>
</c-select>
</template>
</el-table-column>
<el-table-column label="Doc.Amount" width="auto" prop="amt">
<template slot-scope="scope">
<span> {{ moneyFormat(scope.row.amt) }} </span>
</template>
</el-table-column>
<el-table-column label="Open Date" width="auto" prop="opendate">
<template slot-scope="scope">
<c-date-picker
type="date"
v-model="scope.row.opendate"
style="width: 100%"
></c-date-picker>
</template>
</el-table-column>
<el-table-column label="Expire Date" width="auto" prop="expdate">
<template slot-scope="scope">
<c-date-picker
type="date"
v-model="scope.row.expdate"
style="width: 100%"
></c-date-picker>
</template>
</el-table-column>
<el-table-column label="Payment Conditio" width="auto" prop="pay">
<template slot-scope="scope">
<c-input v-model="scope.row.pay" maxlength="12"> </c-input>
</template>
</el-table-column>
<el-table-column label="" prop="docnam" width="auto">
<template slot="header" slot-scope="scope">
<c-row>
<c-col :span="12">
<div style="float: right">
<span
class="add_del_button add_button"
@click="addTableValue"
>+</span
>
<span class="add_del_button" @click="deleteTable">-</span>
</div>
</c-col>
</c-row>
</template>
</el-table-column>
</el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import Utils from "~/utils";
export default {
inject: ["root"],
props: ["model", "codes"],
data() {
return {
documentList: [],
};
},
computed: {},
methods: {
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
const serial = Utils.generateUUID();
newTableValue.serialNum = serial;
this.documentList.splice(index - 1, 0, newTableValue);
},
deleteTable(index) {
this.documentList.splice(index, 1);
},
},
mounted() {},
};
</script>
<style scoped></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Parent Reference" prop="rsdgrp.rec.pntref">
<c-input v-model="model.rsdgrp.rec.pntref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Reference" prop="rsdgrp.rec.ownref">
<c-input v-model="model.rsdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Responsible User" prop="rstcre.rstp.usr.extkey">
<c-input
v-model="model.rstcre.rstp.usr.extkey"
maxlength="8"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.业务属性')"
prop="rsdgrp.rec.fudtyp"
>
<c-select
v-model="model.rsdgrp.rec.fudtyp"
style="width: 100%"
dbCode="fudtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" class="custom-box-wrap">
<div style="width: 280px">
<el-form-item
:label="$t('factoring.融资金额')"
prop="rsdgrp.rec.fincur"
>
<c-select
v-model="model.rsdgrp.rec.fincur"
style="width: 100%"
dbCode="curtxt"
></c-select>
</el-form-item>
</div>
<div style="width: calc(100% - 280px)">
<el-form-item label-width="5px" prop="rsdgrp.rec.finamt">
<c-input-currency
v-model="model.rsdgrp.rec.finamt"
:currency="model.rsdgrp.rec.fincur"
></c-input-currency>
</el-form-item>
</div>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.出让比例')"
prop="rsdgrp.rec.pctfin"
>
<c-input v-model="model.rsdgrp.rec.pctfin"></c-input>
</el-form-item>
</c-col>
<c-col :span="24" class="custom-box-wrap">
<div style="width: 280px">
<el-form-item
:label="$t('factoring.风险出让费用')"
prop="rsdgrp.cbs.max.cur"
>
<c-select
v-model="model.rsdgrp.cbs.max.cur"
style="width: 100%"
dbCode="curtxt"
></c-select>
</el-form-item>
</div>
<div style="width: calc(100% - 280px)">
<el-form-item label-width="5px" prop="rsdgrp.cbs.max.amt">
<c-input-currency
v-model="model.rsdgrp.cbs.max.amt"
:currency="model.rsdgrp.cbs.max.cur"
></c-input-currency>
</el-form-item>
</div>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('factoring.期限')" prop="rsdgrp.rec.tenday">
<c-input v-model="model.rsdgrp.rec.tenday"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Base Rate" prop="rsdgrp.rec.irtcod">
<c-select
v-model="model.rsdgrp.rec.irtcod"
style="width: 100%"
dbCode="IRTTXT"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Margin Spread applied to Interest Rate"
prop="rsdgrp.rec.intrat"
>
<c-input v-model="model.rsdgrp.rec.intrat"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.风险出让费率')"
prop="rsdgrp.rec.feerat"
>
<c-input v-model="model.rsdgrp.rec.feerat"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.风险参与行付款金额')"
prop="rsdgrp.blk.rbeamt"
>
<c-input v-model="model.rsdgrp.blk.rbeamt"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Marginal Rate" prop="rsdgrp.rec.marrat">
<c-input v-model="model.rsdgrp.rec.marrat"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.风险出让费用')"
prop="rsdgrp.blk.feeamt"
>
<c-input v-model="model.rsdgrp.blk.feeamt"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.我行承担金额')"
prop="rsdgrp.blk.ownamt"
>
<c-input v-model="model.rsdgrp.blk.ownamt"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="Name" prop="rsdgrp.rec.pntnam">
<c-input v-model="model.rsdgrp.rec.pntnam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name" prop="rsdgrp.rec.nam">
<c-input v-model="model.rsdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: $t('factoring.债务人'),
grp: 'rsdgrp',
rol: 'der',
}"
></c-ptap>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.基础交易种类')"
prop="rsdgrp.rec.bustyp"
>
<c-select
v-model="model.rsdgrp.rec.bustyp"
style="width: 100%"
dbCode="bustp2"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" class="custom-box-wrap">
<div style="width: 280px">
<el-form-item
:label="$t('factoring.基础交易业务金额')"
prop="rsdgrp.rec.buscur"
>
<c-select
v-model="model.rsdgrp.rec.buscur"
style="width: 100%"
dbCode="curtxt"
></c-select>
</el-form-item>
</div>
<div style="width: calc(100% - 280px)">
<el-form-item label-width="5px" prop="rsdgrp.rec.busamt">
<c-input-currency
v-model="model.rsdgrp.rec.busamt"
:currency="model.rsdgrp.rec.buscur"
></c-input-currency>
</el-form-item>
</div>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: $t('factoring.担保人'),
grp: 'rsdgrp',
rol: 'gur',
}"
></c-ptap>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.出让生效日')"
prop="rsdgrp.rec.stttendat"
>
<c-date-picker
type="date"
v-model="model.rsdgrp.rec.stttendat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Date" prop="rsdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.rsdgrp.rec.matdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: $t('factoring.风险参与行'),
grp: 'rsdgrp',
rol: 'agb',
}"
></c-ptap>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {};
},
methods: {},
created() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- S0000061 : Parent Contract -->
<c-col :span="12">
<el-form-item label="Parent Contract" prop="trdgrp.rec.pntref">
<c-input v-model="model.trdgrp.rec.pntref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000071 : Name -->
<c-col :span="12">
<el-form-item label="Parent Contract Name" prop="trdgrp.rec.pntnam">
<c-input v-model="model.trdgrp.rec.pntnam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<!-- S0000081 : Finance Reference -->
<c-col :span="12">
<el-form-item label="Finance Reference" prop="trdgrp.rec.ownref">
<c-input v-model="model.trdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000080 : Name -->
<c-col :span="12">
<el-form-item label="Name of Loan Contract" prop="trdgrp.rec.nam">
<c-input v-model="model.trdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<!-- S0000160 : 若获取业务编号,融资类型(Finance Type)将无法更改 -->
<!-- SF000086 : Responsible User -->
<c-col :span="12">
<el-form-item label="Responsible User" prop="trtcre.trtp.usr.extkey">
<c-input v-model="model.trtcre.trtp.usr.extkey" maxlength="8"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trtcre.trtp.ptynam" data-path=".trtcre.trtp.ptynam"> </span>
</c-col>
<!-- S0000073 : Ref. -->
<c-col :span="12">
<el-form-item label="Reference for Address Optional" prop="trdgrp.fip.pts.ref">
<c-input v-model="model.trdgrp.fip.pts.ref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- SF000087 : Finance Date -->
<c-col :span="12">
<el-form-item label="Finance Date" prop="trdgrp.rec.issdat">
<c-date-picker type="date" v-model="model.trdgrp.rec.issdat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="trdgrp.fip.pts.extkey">
<c-input v-model="model.trdgrp.fip.pts.extkey" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000075 : Finance Type -->
<c-col :span="12">
<el-form-item label="Finance Type" prop="trdgrp.rec.fintyp">
<c-select v-model="model.trdgrp.rec.fintyp" style="width:100%" dbCode="FINTp2">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="trdgrp.fip.pts.adrblk">
<c-input type="textarea" v-model="model.trdgrp.fip.pts.adrblk" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="trdgrp.fip.dbfadrblkcn">
<c-input type="textarea" v-model="model.trdgrp.fip.dbfadrblkcn" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<!-- SF000091 : Financing of -->
<c-col :span="12">
<el-form-item label="Financing of" prop="trdgrp.rec.pctfin">
<c-input v-model="model.trdgrp.rec.pctfin"></c-input>
</el-form-item>
</c-col>
<!-- S0000092 : % -->
<!-- SF000089 : Finance Amount -->
<c-col :span="12">
<el-form-item label="Finance Amount" prop="trdgrp.cbs.max.cur">
<c-select v-model="model.trdgrp.cbs.max.cur" style="width:100%" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Finance Amount" prop="trdgrp.cbs.max.amt">
<c-input v-model="model.trdgrp.cbs.max.amt"></c-input>
</el-form-item>
</c-col>
<!-- SF000097 : Base Rate -->
<c-col :span="12">
<el-form-item label="Base Rate" prop="trdgrp.rec.irtcod">
<c-select v-model="model.trdgrp.rec.irtcod" style="width:100%" dbCode="IRTTXT">
</c-select>
</el-form-item>
</c-col>
<!-- SF000108 : Good's Code (for Statistics) -->
<c-col :span="12">
<el-form-item label="Margin Spread applied to Interest Rate" prop="trdgrp.rec.intrat">
<c-input v-model="model.trdgrp.rec.intrat"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Good's Code for Statistics" prop="trdgrp.rec.stagod">
<c-select v-model="model.trdgrp.rec.stagod" style="width:100%" dbCode="GODCOD">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Margin(Spread)" prop="trdgrp.rec.marrat">
<c-input v-model="model.trdgrp.rec.marrat"></c-input>
</el-form-item>
</c-col>
<!-- SF000095 : Margin (Spread) -->
<c-col :span="12">
<span v-text="model.trtcre.trtp.outype.comnam" data-path=".trtcre.trtp.outype.comnam"> </span>
</c-col>
<c-col :span="12">
<el-form-item label="Outgoing Type" prop="trtcre.trtp.outype.comflg">
<c-select v-model="model.trtcre.trtp.outype.comflg" style="width:100%" dbCode="comflg">
</c-select>
</el-form-item>
</c-col>
<!-- SF000098 : Value Date -->
<c-col :span="12">
<el-form-item label="Value Date" prop="trdgrp.rec.stttendat">
<c-date-picker type="date" v-model="model.trdgrp.rec.stttendat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000096 : Due Date -->
<c-col :span="12">
<el-form-item label="Due Date" prop="trdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.trdgrp.rec.matdat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<!-- SG000179 : 交易对手 Ref. -->
<c-col :span="12">
<el-form-item :label="$t('factoring.交易对手 ref.')" prop="trdgrp.ctp.pts.ref">
<c-input v-model="model.trdgrp.ctp.pts.ref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- SF000093 : Information -->
<c-col :span="12">
<el-form-item label="Information" prop="trdgrp.blk.infpty">
<c-input type="textarea" v-model="model.trdgrp.blk.infpty" maxlength="50" show-word-limit></c-input>
</el-form-item>
</c-col>
<!-- S0000094 : to Finance Party -->
<c-col :span="12">
<el-form-item label="External Key of Address" prop="trdgrp.ctp.pts.extkey">
<c-input v-model="model.trdgrp.ctp.pts.extkey" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="trdgrp.ctp.pts.adrblk">
<c-input type="textarea" v-model="model.trdgrp.ctp.pts.adrblk" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="trdgrp.ctp.dbfadrblkcn">
<c-input type="textarea" v-model="model.trdgrp.ctp.dbfadrblkcn" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor Days" prop="trdgrp.rec.tenday">
<c-input v-model="model.trdgrp.rec.tenday"></c-input>
</el-form-item>
</c-col>
<!-- SF000137 : Tenor Days -->
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="$t('factoring.出口融资发放')">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :label="$t('commonModels.业务信息')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- <el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('commonModels.备查表')" name="addbcb">
<c-content>
<m-addbcb :codes="codes" :model="model" />
</c-content>
</el-tab-pane> -->
<el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Bftepn from "../model/index.js";
import commonDepend from "~/mixin/commonDepend";
import operationFunc from "~/mixin/operationFunc";
import Check from "../model/check";
import Default from "../model/default";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb";
import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
export default {
name: "bftepn",
components: {
"m-ovwp": Ovwp,
"m-addbcb": Addbcb,
"m-docpan": Docpan,
"m-setmod": Setmod,
},
provide() {
return {
root: this,
};
},
mixins: [Check, Default, operationFunc, event, commonDepend, buildFn],
data() {
return {
tabVal: "ovwp",
trnName: "bftepn",
model: new Bftepn().data,
codes: { ...CodeTable },
activeNames: ["ovwp"],
};
},
methods: {},
created() {
console.log("进入bftepn交易");
let params = {
transName: this.trnName,
bfdgrp: {
rec: {
inr: this.$route.query.inr,
},
},
};
// this.init(params);
},
};
</script>
<style></style>
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
import Utils from "~/utils/index";
export default {
mixins: [commonFunctions],
methods: {
async handleSearch() {
let opndatfrom = this.model.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: this.$t('factoring.错误'), message: this.$t('factoring.查询开始日期必输!') });
return;
}
let opndatto = this.model.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: this.$t('factoring.错误'), message: this.$t('factoring.查询结束日期必输!') });
return;
}
let params = {
...this.model,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
opndatfrom: moment(opndatfrom).format('YYYY-MM-DD'),
opndatto: moment(opndatto).format('YYYY-MM-DD'),
};
this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber
this.load = true;
let rtnmsg = await Api.post("/webapi/factoring/trtsel/list", params);
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.stmData.data = [];
this.stmData.data = rtnmsg.data.list;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: rtnmsg.data.total
};
} else {
this.$notify.error({ title: this.$t('factoring.错误'), message: this.$t('factoring.服务请求失败!') });
}
this.load = false;
},
async handleReset() {
this.model.sealcrtyp = '';
this.model.opndatfrom = new Date();
this.model.opndatto = new Date();
this.model.seaownref = '';
this.model.seashgref = '';
this.model.seaamtfr = '';
this.model.seasta = '';
this.model.seacur = '';
this.model.pty.extkey = '';
this.model.pty.nam = '';
this.model.usr.extkey = '';
this.model.seaamtto = '';
this.model.searol = '';
this.model.nam = '';
this.model.seapty = '';
this.model.searef = '';
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
// 获取处理按钮
getButtons(row) {
this.$set(this.codes, "rowList", row);
this.handleVisible = true;
},
// 跳转对应交易
onChoose(code, row) {
this.routerPush({
path: "/business/" + code,
query: { inr: row.inr}
});
this.handleVisible = false;
},
// 保理开立
toTrtopn() {
this.routerPush('/business/bftepn');
},
}
}
\ No newline at end of file
export default class Lrtsei {
constructor() {
this.data = {
lmdgrp: {
rec: {
ownref: '',
},
},
lrdgrp: {
rec: {
ownref: '',
},
},
fidgrp: {
rec: {
ownref: '',
},
cbs: {
opn1: {
cur: '',
amt: ''
},
}
},
bfdgrp: {
rec: {
ownref: '',
opndat: new Date((new Date).getTime() - (7 * 24 * 60 * 60 * 1000)),
maturity: new Date(),
},
cbs: {
max: {
cur: '',
amt: ''
}
},
inv: {
pts: {
ref: ''
}
}
}
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search
@form-reset="handleReset('paramsForm')"
@form-search="handleSearch"
>
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
>
<el-row>
<c-col :span="8">
<el-form-item label="Register Reference" style="width: 100%">
<c-input
v-model="model.lmdgrp.rec.ownref"
maxlength="16"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="8">
<el-form-item :label="$t('bus.开立日期')" style="width: 100%">
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.fidgrp.rec.opndat"
style="width: 100%"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.fidgrp.rec.maturity"
style="width: 100%"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col> -->
<c-col :span="8">
<el-form-item label="Credit Reference" style="width: 100%">
<c-input
v-model="model.lrdgrp.rec.ownref"
maxlength="16"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Invoice Reference" style="width: 100%">
<c-input
v-model="model.fidgrp.rec.ownref"
maxlength="16"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item label="Financing Reference" style="width: 100%">
<c-input
v-model="model.bfdgrp.rec.ownref"
maxlength="16"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Finance Amount">
<c-col :span="17">
<c-select v-model="model.bfdgrp.cbs.max.cur" dbCode="curtxt"> </c-select>
</c-col>
<c-col :span="6" :offset="1">
<c-input-currency
:currency="model.bfdgrp.cbs.max.cur"
v-model="model.bfdgrp.cbs.max.amt"
style="width: 100%"
></c-input-currency>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Open Amount">
<c-col :span="17">
<c-select v-model="model.fidgrp.cbs.opn1.cur" dbCode="curtxt"> </c-select>
</c-col>
<c-col :span="6" :offset="1">
<c-input-currency
:currency="model.fidgrp.cbs.opn1.cur"
v-model="model.fidgrp.cbs.opn1.amt"
style="width: 100%"
></c-input-currency>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Finance Party Ref.">
<c-input
v-model="model.bfdgrp.inv.pts.ref"
maxlength="16"
></c-input>
</el-form-item>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<c-col :span="24" style="margin-top: 10px; margin-bottom: 10px">
<c-button
class="medium_bcs"
size="medium"
type="primary"
style="margin-bottom: 5px"
title="TRTOPN"
@click="toTrtopn"
>
{{ $t("factoring.出口融资发放") }}
</c-button>
</c-col>
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane :label="$t('factoring.保理信息')" name="le">
<el-table
:data="stmData.data"
:columns="stmData.columns"
v-loading="load"
style="width: 100%"
size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
>
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="$t('factoring.' + item.label)"
:prop="item.prop"
:min-width="item.width"
></el-table-column>
<el-table-column
fixed="right"
:label="$t('other.操作')"
width="240px"
>
<template slot-scope="scope">
<c-button
style="margin-left: 5px"
size="small"
type="text"
@click="getButtons(scope.row)"
>
{{ $t("buttons.处理") }}
</c-button>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
<!-- 点击处理弹框 -->
<el-dialog
v-dialogDrag
v-if="handleVisible"
:visible.sync="handleVisible"
:title="$t('factoring.交易列表')"
>
<c-bus-navbar
trnName="lrtsel"
:model="codes.rowList"
:navcodeList="stmData.navcodeList"
@onChoose="onChoose"
></c-bus-navbar>
</el-dialog>
</div>
</div>
</template>
<script>
import event from "../event";
import Utils from "~/utils";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
curinr: "",
ownref: "",
activeTab: "le",
load: false,
stmData: {
columns: [
{
label: "Financing Reference",
prop: "ownref",
width: "180px",
},
{
label: "Finance Amount",
prop: "amt",
width: "180px",
},
{
label: "Open Amount",
prop: "opnamt",
width: "180px",
},
{
label: "Finance Party Ref",
prop: "invref",
width: "180px",
}
],
data:[
{
ownref: "BF3500242131AA",
amt: "950",
opnamt: "2024-03-01",
invref: "2000466660-001",
},
{
ownref: "BF3500242132AA",
amt: "900",
opnamt: "2024-03-02",
invref: "2000466660-002",
},
{
ownref: "BF3500242133AA",
amt: "980",
opnamt: "2024-03-03",
invref: "2000466660-003",
},
],
navcodeList:[
{
code: "bftepn",
isDisplay: "Y",
label: "出口融资发放",
title: "",
},
{
code: "bftset",
isDisplay: "Y",
label: "出口融资返还",
title: "",
},
]
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
// 处理
handleVisible: false,
};
},
methods: {},
mounted: function () {},
};
</script>
<style>
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
.medium_bcs {
border-radius: 5px;
}
</style>
<template>
<div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Bftsee from "../model";
import event from "../event"
import Infsea from "./Infsea";
export default {
name: "bftsee",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this
}
},
mixins: [event],
data() {
return {
tabVal: "infsea",
trnName: "bftsee",
model: new Bftsee().data,
rules: null,
codes: { ...CodeTable },
};
},
methods: {},
created() { },
};
</script>
<style scoped></style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
return ptspta;
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.bfdgrp, this.buildPtspta);
let dataObj = {
rec: {
objtyp: "Bfd",
ownref: model.bfdgrp.rec.ownref,
},
cbsMap: {
MAX: model.bfdgrp.cbs.max,
NOM1: model.bfdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId
? window.sessionStorage.userId
: "ZL",
};
return dataObj;
},
},
};
import Api from "~/service/Api";
import commonFunctions from "~/mixin/commonFunctions.js";
export default {
mixins: [commonFunctions],
methods: {
},
};
import commonFunctions from "~/mixin/commonFunctions.js";
import commonDepend from "~/mixin/commonDepend";
export default {
mixins: [commonFunctions, commonDepend],
methods: {
},
};
import Pub from '~/components/business/commonModel/index.js';
import Pts from '~/components/business/commonModel/Pts.js';
import Bfdgrp from "~/components/business/commonModel/Bfdgrp";
export default class Bftset {
constructor() {
this.data = {
bfdgrp: new Bfdgrp().data.bfdgrp,
bftp: {
recget: {
sdamod: {
seainf: "", // .bftp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bftp.recget.sdamod.dadsnd
},
},
fidget: {
sdamod: {
seainf: "", // .bftp.fidget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bftp.fidget.sdamod.dadsnd
},
},
lrdget: {
sdamod: {
seainf: "", // .bftp.lrdget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bftp.lrdget.sdamod.dadsnd
},
},
fiap: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .bftp.fiap.ptsget.sdamod.dadsnd
seainf: "", // .bftp.fiap.ptsget.sdamod.seainf
},
},
},
usrget: {
sdamod: {
seainf: "", // .bftp.usrget.sdamod.seainf
},
},
usr: {
extkey: "", // Responsible User .bftp.usr.extkey
},
invp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .bftp.invp.ptsget.sdamod.dadsnd
seainf: "", // .bftp.invp.ptsget.sdamod.seainf
},
},
},
},
lrdgrp: {
rec: {
ownref: "", // Credit Reference .lrdgrp.rec.ownref
nam: "", // Externally Displayed Name to Identify the Contract .lrdgrp.rec.nam
},
},
amt: "", // Net Proceeds .amt
latcre: {
crefinflg: "", // Create Financing .latcre.crefinflg
latp: {
ratlabel: "", // 利率标签 .latcre.latp.ratlabel
recget: {
sdamod: {
seainf: "", // .latcre.latp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .latcre.latp.recget.sdamod.dadsnd
},
},
usr: {
extkey: "", // Responsible User .latcre.latp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .latcre.latp.usrget.sdamod.seainf
},
},
fiap: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .latcre.latp.fiap.ptsget.sdamod.dadsnd
seainf: "", // .latcre.latp.fiap.ptsget.sdamod.seainf
},
},
},
},
},
mtabut: {
coninf: {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr: {
extkey: "", // User ID .mtabut.coninf.usr.extkey
},
contag72his: "", // Historic content of TAG 72 .mtabut.coninf.contag72his
contag72: "", // Current content of TAG 72 .mtabut.coninf.contag72
contag79his: "", // Historic content of TAG 79 .mtabut.coninf.contag79his
contag79: "", // Current content of TAG 79 .mtabut.coninf.contag79
},
},
trnmod: {
trndoc: {
doclbl: "", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm: "", // Document tree .trnmod.trndoc.doctrestm
shwinc: "", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout: "", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm: "", // Connected Documents .trnmod.trndoc.condocstm
rcvatt: {
seainf: "", // .trnmod.trndoc.rcvatt.seainf
},
filrecv: "", // File Receiver .trnmod.trndoc.filrecv
dtemod: {
dtetagm06: "", // Information about Confirmation Instruction .trnmod.trndoc.dtemod.dtetagm06
dtetagm07: "", // Notes from Advising Bank .trnmod.trndoc.dtemod.dtetagm07
dtetagm08: "", // Fee of Advising Bank .trnmod.trndoc.dtemod.dtetagm08
dtetagm53typ: "", // Document Sending Type .trnmod.trndoc.dtemod.dtetagm53typ
dtetagm53nam: "", // Courier Name .trnmod.trndoc.dtemod.dtetagm53nam
dtetagm53num: "", // Courier Number .trnmod.trndoc.dtemod.dtetagm53num
},
},
cmimod: {
cmigrp: {
cmi: {
prjnam: "", // 项目名称 .trnmod.cmimod.cmigrp.cmi.prjnam
cntnum: "", // 商务合同号 .trnmod.cmimod.cmigrp.cmi.cntnum
depnub: "", // 协议号 .trnmod.cmimod.cmigrp.cmi.depnub
cmdpsn: "", // 推荐人1 .trnmod.cmimod.cmigrp.cmi.cmdpsn
stacty: "", // 交易对手国别 .trnmod.cmimod.cmigrp.cmi.stacty
cmdpep: "", // 推荐单位1 .trnmod.cmimod.cmigrp.cmi.cmdpep
cmdtwo: "", // 推荐单位2 .trnmod.cmimod.cmigrp.cmi.cmdtwo
cmdpep1: "", // 二级部门 .trnmod.cmimod.cmigrp.cmi.cmdpep1
cmdtwo1: "", // 推荐单位2的二级部门 .trnmod.cmimod.cmigrp.cmi.cmdtwo1
inonum: "", // 发票号 .trnmod.cmimod.cmigrp.cmi.inonum
crdprd: "", // 信贷资产类型 .trnmod.cmimod.cmigrp.cmi.crdprd
detail: "", // 具体类别 .trnmod.cmimod.cmigrp.cmi.detail
inntrn: "", // 创新业务类型 .trnmod.cmimod.cmigrp.cmi.inntrn
usdamt: "", // 商务合同折美元 .trnmod.cmimod.cmigrp.cmi.usdamt
brncod: "", // 支农投向 .trnmod.cmimod.cmigrp.cmi.brncod
rattyp: "", // 利率方式 .trnmod.cmimod.cmigrp.cmi.rattyp
ratlev: "", // 利率基准 .trnmod.cmimod.cmigrp.cmi.ratlev
yesorno: "", // 是否421 .trnmod.cmimod.cmigrp.cmi.yesorno
loan: "", // 贷款投向大类 .trnmod.cmimod.cmigrp.cmi.loan
fincod: "", // 贷款投向小类 .trnmod.cmimod.cmigrp.cmi.fincod
cmdpsn1: "", // 推荐人2 .trnmod.cmimod.cmigrp.cmi.cmdpsn1
icuflg: "", // 是否有保险公司承保 .trnmod.cmimod.cmigrp.cmi.icuflg
},
},
kjdgrp: {
kjd: {
kjdflg: "", // 跨境人民币业务标识 .trnmod.cmimod.kjdgrp.kjd.kjdflg
},
},
},
},
setmod: {
docamttyplab: "", // settled amount description as label .setmod.docamttyplab
retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
ref: "", // our reference .setmod.ref
doccur: "", // document currency .setmod.doccur
docamt: "", // document amount .setmod.docamt
setglg: {
labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
accsndflg: "", // 转'提款 .setmod.setglg.accsndflg
},
},
liaall: {
contrc: {
contxt: "", // Contract .liaall.contrc.contxt
},
liaccv: {
concur: "", // Reserved Amount .liaall.liaccv.concur
newamt: "", // Contract Amount .liaall.liaccv.newamt
newresamt: "", // Reserved Amount .liaall.liaccv.newresamt
},
liacrp: {
ifcred: "", // 此项业务是否涉及代理行额度 .liaall.liacrp.ifcred
},
},
ladgrp: {
rec: {
pntref: "", // Parent Contract .ladgrp.rec.pntref
pntnam: "", // Parent Contract Name .ladgrp.rec.pntnam
ownref: "", // Finance Reference .ladgrp.rec.ownref
nam: "", // Name of LAD contract .ladgrp.rec.nam
fintyp: "", // 类型 .ladgrp.rec.fintyp
pctfin: "", // 比例 .ladgrp.rec.pctfin
opndat: "", // 经办日期 .ladgrp.rec.opndat
rat: "", // 适用利率 .ladgrp.rec.rat
buscur: "", // 业务金额 .ladgrp.rec.buscur
busamt: "", // Business amount .ladgrp.rec.busamt
},
cbs: {
max: {
cur: "", // 垫款/逾期金额 .ladgrp.cbs.max.cur
amt: "", // 垫款/逾期金额 .ladgrp.cbs.max.amt
},
},
fia: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .ladgrp.fia.dbfadrblkcn
},
},
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item :title="$t('factoring.附言')" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</c-collapse>
</div>
</template>
<script>
import event from "../event";
import Coninfp from "~/components/business/coninfp/views";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
},
created: function () { },
};
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000017 : 公共信息 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.项目名称')" prop="trnmod.cmimod.cmigrp.cmi.prjnam">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.prjnam" maxlength="100"></c-input>
</el-form-item>
</c-col>
<!-- S0000010 : 项目名称 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.项目名称')" prop="trnmod.cmimod.cmigrp.cmi.cntnum">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.cntnum" maxlength="30"></c-input>
</el-form-item>
</c-col>
<!-- S0000011 : 商务合同号 -->
<!-- S0000019 : 贷款协议号 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.协议号')" prop="trnmod.cmimod.cmigrp.cmi.depnub">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.depnub" maxlength="30"></c-input>
</el-form-item>
</c-col>
<!-- S0000033 : 推 荐 人 2 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.推荐人2')" prop="trnmod.cmimod.cmigrp.cmi.cmdpsn1">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.cmdpsn1" maxlength="30"></c-input>
</el-form-item>
</c-col>
<!-- S0000020 : 推荐人1 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.推荐人1')" prop="trnmod.cmimod.cmigrp.cmi.cmdpsn">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.cmdpsn" maxlength="30"></c-input>
</el-form-item>
</c-col>
<!-- S0000021 : 推荐单位1 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.推荐单位1')" prop="trnmod.cmimod.cmigrp.cmi.cmdpep">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.cmdpep" style="width:100%" dbCode="CMDPEP">
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 推荐单位2 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.推荐单位2')" prop="trnmod.cmimod.cmigrp.cmi.cmdtwo">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.cmdtwo" style="width:100%" dbCode="CMDPEP">
</c-select>
</el-form-item>
</c-col>
<!-- S0000028 : 二级部门 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.二级部门')" prop="trnmod.cmimod.cmigrp.cmi.cmdpep1">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.cmdpep1" style="width:100%" dbCode="DEPSUB">
</c-select>
</el-form-item>
</c-col>
<!-- S0000030 : 二级部门 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.推荐单位2的二级部门')" prop="trnmod.cmimod.cmigrp.cmi.cmdtwo1">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.cmdtwo1" style="width:100%" dbCode="DEPSUB">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000023 : 信贷资产类型 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.信贷资产类型')" prop="trnmod.cmimod.cmigrp.cmi.crdprd">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.crdprd" style="width:100%" dbCode="CRDPRD">
</c-select>
</el-form-item>
</c-col>
<!-- S0000032 : 发票号 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.发票号')" prop="trnmod.cmimod.cmigrp.cmi.inonum">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.inonum" maxlength="30"></c-input>
</el-form-item>
</c-col>
<!-- S0000031 : 具体类别 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.具体类别')" prop="trnmod.cmimod.cmigrp.cmi.detail">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.detail" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000022 : 交易对手国别 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.交易对手国别')" prop="trnmod.cmimod.cmigrp.cmi.stacty">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.stacty" style="width:100%" dbCode="CTYTXT">
</c-select>
</el-form-item>
</c-col>
<!-- S0000069 : 商务合同 -->
<!-- S0000068 : 创新业务类型 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.创新业务类型')" prop="trnmod.cmimod.cmigrp.cmi.inntrn">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.inntrn" style="width:100%" dbCode="INNTRN">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('factoring.是否421')" prop="trnmod.cmimod.cmigrp.cmi.yesorno">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.yesorno" style="width:100%" dbCode="IS10">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('factoring.商务合同折美元')" prop="trnmod.cmimod.cmigrp.cmi.usdamt">
<c-input v-model="model.trnmod.cmimod.cmigrp.cmi.usdamt"></c-input>
</el-form-item>
</c-col>
<!-- S0000075 : 是否421 -->
<!-- S0000076 : 折美元 -->
<!-- S0000071 : 支农投向 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.支农投向')" prop="trnmod.cmimod.cmigrp.cmi.brncod">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.brncod" style="width:100%" dbCode="BRNFOD">
</c-select>
</el-form-item>
</c-col>
<!-- S0000073 : 利率方式 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.利率方式')" prop="trnmod.cmimod.cmigrp.cmi.rattyp">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.rattyp" style="width:100%" dbCode="RATMET">
</c-select>
</el-form-item>
</c-col>
<!-- S0000077 : 贷款投向大类 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.贷款投向大类')" prop="trnmod.cmimod.cmigrp.cmi.loan">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.loan" style="width:100%" dbCode="loan">
</c-select>
</el-form-item>
</c-col>
<!-- S0000074 : 利率基准 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.利率基准')" prop="trnmod.cmimod.cmigrp.cmi.ratlev">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.ratlev" style="width:100%" dbCode="ratlev">
</c-select>
</el-form-item>
</c-col>
<!-- S0000078 : 贷款投向小类 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.贷款投向小类')" prop="trnmod.cmimod.cmigrp.cmi.fincod">
<c-select v-model="model.trnmod.cmimod.cmigrp.cmi.fincod" style="width:100%" dbCode="FINCOD">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Historic content of TAG 72" prop="mtabut.coninf.contag72his">
<c-input type="textarea" v-model="model.mtabut.coninf.contag72his" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Historic content of TAG 79" prop="mtabut.coninf.contag79his">
<c-input type="textarea" v-model="model.mtabut.coninf.contag79his" maxlength="50" show-word-limit></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="Current content of TAG 72" prop="mtabut.coninf.contag72">
<c-input type="textarea" v-model="model.mtabut.coninf.contag72" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Current content of TAG 79" prop="mtabut.coninf.contag79">
<c-input type="textarea" v-model="model.mtabut.coninf.contag79" maxlength="50" show-word-limit></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Historic content of TAG 72" prop="mtabut.coninf.contag72his">
<c-input type="textarea" v-model="model.mtabut.coninf.contag72his" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Historic content of TAG 79" prop="mtabut.coninf.contag79his">
<c-input type="textarea" v-model="model.mtabut.coninf.contag79his" maxlength="50" show-word-limit></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="Current content of TAG 72" prop="mtabut.coninf.contag72">
<c-input type="textarea" v-model="model.mtabut.coninf.contag72" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Current content of TAG 79" prop="mtabut.coninf.contag79">
<c-input type="textarea" v-model="model.mtabut.coninf.contag79" maxlength="50" show-word-limit></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Information about Confirmation Instruction" prop="trnmod.trndoc.dtemod.dtetagm06">
<c-input type="textarea" v-model="model.trnmod.trndoc.dtemod.dtetagm06" maxlength="65"
show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Sending Type" prop="trnmod.trndoc.dtemod.dtetagm53typ">
<c-select v-model="model.trnmod.trndoc.dtemod.dtetagm53typ" style="width:100%" dbCode="m53typ">
</c-select>
</el-form-item>
</c-col>
<!-- SF000005 : 送信服务名称 -->
<c-col :span="24">
<el-form-item label="Courier Name" prop="trnmod.trndoc.dtemod.dtetagm53nam">
<c-input v-model="model.trnmod.trndoc.dtemod.dtetagm53nam" maxlength="35"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Courier Number" prop="trnmod.trndoc.dtemod.dtetagm53num">
<c-input v-model="model.trnmod.trndoc.dtemod.dtetagm53num" maxlength="35"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="Notes from Advising Bank" prop="trnmod.trndoc.dtemod.dtetagm07">
<c-input type="textarea" v-model="model.trnmod.trndoc.dtemod.dtetagm07" maxlength="65"
show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Fee of Advising Bank" prop="trnmod.trndoc.dtemod.dtetagm08">
<c-input type="textarea" v-model="model.trnmod.trndoc.dtemod.dtetagm08" maxlength="65"
show-word-limit></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Parent Contract" prop="ladgrp.rec.pntref">
<c-input v-model="model.ladgrp.rec.pntref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000004 : Name -->
<c-col :span="24">
<el-form-item label="Parent Contract Name" prop="ladgrp.rec.pntnam">
<c-input v-model="model.ladgrp.rec.pntnam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<!-- S0000008 : Finance Reference -->
<c-col :span="24">
<el-form-item label="Finance Reference" prop="ladgrp.rec.ownref">
<c-input v-model="model.ladgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000007 : Name -->
<c-col :span="24">
<el-form-item label="Name of LAD contract" prop="ladgrp.rec.nam">
<c-input v-model="model.ladgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<!-- S0000009 : Responsible User -->
<c-col :span="24">
<el-form-item label="Responsible User" prop="latcre.latp.usr.extkey">
<c-input v-model="model.latcre.latp.usr.extkey" maxlength="8"></c-input>
</el-form-item>
</c-col>
<!-- S0000025 : Finance Party -->
<!-- S0000005 : Ref. -->
<c-col :span="24">
<el-form-item label="Finance Party" prop="ladgrp.fia.pts.ref">
<c-input v-model="model.ladgrp.fia.pts.ref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000010 : 经办日期 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.经办日期')" prop="ladgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ladgrp.rec.opndat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="ladgrp.fia.pts.extkey">
<c-input v-model="model.ladgrp.fia.pts.extkey" maxlength="16"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000006 : 类型 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.类型')" prop="ladgrp.rec.fintyp">
<c-select v-model="model.ladgrp.rec.fintyp" style="width:100%" dbCode="FINTp2">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="ladgrp.fia.pts.adrblk">
<c-input type="textarea" v-model="model.ladgrp.fia.pts.adrblk" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Chinese address" prop="ladgrp.fia.dbfadrblkcn">
<c-input type="textarea" v-model="model.ladgrp.fia.dbfadrblkcn" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<!-- S0000012 : 比例 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.比例')" prop="ladgrp.rec.pctfin">
<c-input v-model="model.ladgrp.rec.pctfin"></c-input>
</el-form-item>
</c-col>
<!-- S0000013 : % -->
<!-- S0000030 : 业务金额 -->
<c-col :span="24">
<el-form-item :label="$t('factoring.业务金额')" prop="ladgrp.rec.buscur">
<c-input v-model="model.ladgrp.rec.buscur" maxlength="3" dbCode="curtxt"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Business amount" prop="ladgrp.rec.busamt">
<c-input v-model="model.ladgrp.rec.busamt"></c-input>
</el-form-item>
</c-col>
<!-- S0000011 : 垫款/逾期金额 -->
<c-col :span="24" class="custom-box-wrap">
<div style="width: 280px;">
<el-form-item :label="$t('factoring.垫款/逾期金额')" prop="ladgrp.cbs.max.cur">
<c-select v-model="model.ladgrp.cbs.max.cur" style="width: 100%" dbCode="curtxt"></c-select>
</el-form-item>
</div>
<div style="width: calc(100% - 280px);">
<el-form-item label-width="5px" prop="ladgrp.cbs.max.amt">
<c-input-currency v-model="model.ladgrp.cbs.max.amt" :currency="model.ladgrp.cbs.max.cur"></c-input-currency>
</el-form-item>
</div>
</c-col>
<c-col :span="24">
<span v-text="model.latcre.latp.ratlabel" data-path=".latcre.latp.ratlabel"> </span>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('factoring.适用利率')" prop="ladgrp.rec.rat">
<c-input v-model="model.ladgrp.rec.rat"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item title="Settle" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<!-- <el-collapse-item title="Incoming Tag 72/79" name="coninftag">
<m-coninftag :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="DTA Fields" name="dtetag">
<m-dtetag :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item :title="$t('factoring.公共信息')" name="citp">
<m-citp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item :title="$t('factoring.代理行额度')" name="crppan">
<m-crppan :model="model" :codes="codes" />
</el-collapse-item> -->
<!-- <el-collapse-item :title="$t('latcre.PD000001')" name="latcrep">
<m-latcrep :model="model" :codes="codes" />
</el-collapse-item> -->
</c-collapse>
</div>
</template>
<script>
import Ovwp1 from "./Ovwp1";
import Coninftag from "./Coninftag";
import Dtetag from "./Dtetag";
import Citp from "./Citp";
import Crppan from "./Crppan";
import Latcrep from "./Latcrep";
export default {
components: {
"m-ovwp1": Ovwp1,
"m-citp": Citp,
"m-coninftag": Coninftag,
"m-dtetag": Dtetag,
"m-crppan": Crppan,
"m-latcrep": Latcrep,
},
inject: ["root"],
props: ["model", "codes"],
data() {
return {
activeNames: ["ovwp1"],
};
},
methods: {},
created: function () {},
computed: {},
};
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-col :span="21">
<el-form-item label="Credit Reference" prop="lrdgrp.rec.ownref">
<c-input v-model="model.lrdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<el-form-item label="" class="checkbox-left" label-width="10px">
<el-button size="small" type="primary">Get Ref.</el-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Reference" prop="bfdgrp.rec.ownref">
<c-input v-model="model.bfdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name of Parent Contract" prop="bfdgrp.rec.pntnam">
<c-input v-model="model.bfdgrp.rec.pntnam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Parent Contract" prop="bfdgrp.rec.pntref">
<c-input v-model="model.bfdgrp.rec.pntref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Externally Displayed Name to Identify the Contract" prop="lrdgrp.rec.nam">
<c-input v-model="model.lrdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Externally Displayed Name to Identify the Contract" prop="bfdgrp.rec.nam">
<c-input v-model="model.bfdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<c-col :span="24" class="custom-box-wrap">
<div style="width: 280px;">
<el-form-item label="Advance Amount" prop="bfdgrp.cbs.max.cur">
<c-select v-model="model.bfdgrp.cbs.max.cur" style="width: 100%" dbCode="curtxt"></c-select>
</el-form-item>
</div>
<div style="width: calc(100% - 280px);">
<el-form-item label-width="5px" prop="bfdgrp.cbs.max.amt">
<c-input-currency v-model="model.bfdgrp.cbs.max.amt" :currency="model.bfdgrp.cbs.max.cur"></c-input-currency>
</el-form-item>
</div>
</c-col>
<c-col :span="24">
<el-form-item label="Open Date" prop="bfdgrp.rec.opndat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.opndat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Responsible User" prop="bftp.usr.extkey">
<c-input v-model="model.bftp.usr.extkey" maxlength="8"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Interest rate" prop="bfdgrp.rec.intrat">
<c-input v-model="model.bfdgrp.rec.intrat"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item :label="$t('factoring.实际宽限期天数')" prop="bfdgrp.rec.actgrcdat">
<c-input v-model="model.bfdgrp.rec.actgrcdat"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('factoring.应退宽限期利息')" prop="bfdgrp.rec.ytkxqlx">
<c-input v-model="model.bfdgrp.rec.ytkxqlx"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Interest Days" prop="bfdgrp.rec.intday">
<c-input v-model="model.bfdgrp.rec.intday"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Type of Advance" prop="bfdgrp.rec.fintyp">
<c-select v-model="model.bfdgrp.rec.fintyp" style="width:100%" dbCode="FINTp2">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{ title: 'Advanced Party', grp: 'bfdgrp', rol: 'fia' }"></c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="Advance Percentage" prop="bfdgrp.rec.pctfin">
<c-input v-model="model.bfdgrp.rec.pctfin"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{ title: 'Invoice Party', grp: 'bfdgrp', rol: 'inv' }"></c-ptap>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
}
},
methods: {},
created() {
}
}
</script>
<style></style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="$t('factoring.出口融资返还')">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :label="$t('commonModels.业务信息')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- <el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!-- <el-tab-pane :label="$t('commonModels.备查表')" name="addbcb">
<c-content>
<m-addbcb :codes="codes" :model="model" />
</c-content>
</el-tab-pane> -->
<el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Bftset from "../model/index.js";
import commonDepend from "~/mixin/commonDepend";
import operationFunc from "~/mixin/operationFunc";
import Check from "../model/check";
import Default from "../model/default";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb";
import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
export default {
name: "bftset",
components: {
"m-ovwp": Ovwp,
"m-addbcb": Addbcb,
"m-docpan": Docpan,
"m-setmod": Setmod,
},
provide() {
return {
root: this,
};
},
mixins: [Check, Default, operationFunc, event, commonDepend, buildFn],
data() {
return {
tabVal: "ovwp",
trnName: "bftset",
model: new Bftset().data,
codes: { ...CodeTable },
};
},
methods: {},
created() {
console.log("进入bftset交易");
let params = {
transName: this.trnName,
lmdgrp: {
rec: {
inr: this.$route.query.inr,
},
},
};
// this.init(params)
}
}
</script>
<style></style>
\ No newline at end of file
import Utils from "~/utils"
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
nam: pts.nam,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts: ptsptaObj.pts
};
return ptspta;
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.bpdgrp, this.buildPtspta);
let dataObj = {
rec: {
objtyp: 'BPD',
objinr: model.bpdgrp.rec.inr,
branchInr: model.bpdgrp.rec.branchinr,
ownref: model.bpdgrp.rec.ownref,
opndat: model.bpdgrp.rec.opndat,
expflg: model.bpdgrp.rec.expflg,
expdat: model.bpdgrp.rec.expdat,
hndtyp: model.bpdgrp.rec.hndtyp,//"OC",
gartyp: model.bpdgrp.rec.gartyp,
fingua: model.bpdgrp.rec.fingua,
fromflg: model.bpdgrp.rec.fromflg,
othersno: model.bpdgrp.rec.othersno,
sndto: model.bpdgrp.rec.sndto,//"BEN",
giduil: model.bpdgrp.rec.giduil,
purpos: model.bpdgrp.rec.purpos,
revflg: model.bpdgrp.rec.revflg,
cnfsta: model.bpdgrp.rec.cnfsta,
fenlishi: model.bpdgrp.rec.fenlishi,
cfaguatyp: model.bpdgrp.rec.cfaguatyp,
stacty: model.bpdgrp.rec.stacty,
orddat: model.bpdgrp.rec.orddat,
orcref: model.bpdgrp.rec.orcref,
exptyp: model.bpdgrp.rec.exptyp,
liatypc: model.bpdgrp.rec.liatypc,
liaflg: model.bpdgrp.rec.liaflg,
liadat: model.bpdgrp.rec.liadat,
chato: model.bpdgrp.rec.chato,
payeecountcode: model.bpdgrp.rec.countrycod,
delto: model.bpdgrp.rec.delto,
fintyp: model.bpdgrp.rec.fintyp,
//deltoadr:model.bpdgrp.blk.deltoadr
inttyp: model.finmod.inttyp,
accbch: model.finmod.accbch,
trdbckamt: model.trdbckamt,
fortyp: model.bpdgrp.rec.fortyp,
guaflg1: model.bpdgrp.rec.guaflg1,
factyp: model.fidgrp.rec.factyp,
},
cbsMap: {
MAX: model.bpdgrp.cbs.max,
OPN1: model.bpdgrp.cbs.opn1,
MAC: model.bpdgrp.cbs.mac,
MAC2: model.bpdgrp.cbs.mac2,
OPC2: model.bpdgrp.cbs.opc2,
CNF: model.bpdgrp.cbs.cnf,
MAX2: model.bpdgrp.cbs.max2,
},
ptsList: ptsptaList,
transName: trnName,
};
return dataObj
},
}
}
\ No newline at end of file
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
import moment from 'moment';
import commonDepend from "~/mixin/commonDepend";
export default {
mixins: [commonFunctions, commonDepend],
methods: {
initData() {
if (this.$store.state.Status.mode === "display") {
return;
}
this.model.bptp.usr.extkey = sessionStorage.getItem("userName")
this.model.bpdgrp.rec.fintyp = "1"
this.model.bpdgrp.rec.guaflg = "0"
this.model.bpdgrp.rec.pctfin = "100"
this.model.bpdgrp.rec.opndat = moment(new Date()).format("YYYY-MM-DD")
this.model.bpdgrp.rec.intday = 0;
}
},
}
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<!-- S0000021 : Responsible User -->
<c-col :span="14">
<el-form-item label="Responsible User" prop="fidgrp.rec.ownusr">
<c-input v-model="model.fidgrp.rec.ownusr" maxlength="8" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-checkbox v-model="model.rstcre.crerpaflg" disabled>{{$t("factoring.风险出让")}}</c-checkbox>
</c-col>
</c-col>
<!-- S0000026 : Total Amt of invoices -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Total Amt" prop="fidgrp.cbs.max.cur">
<c-select
v-model="model.fidgrp.cbs.max.cur"
dbCode="curtxt"
style="width: 100%; padding-right: 10px"
:dropdownMatchSelectWidth="false"
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item prop="fidgrp.cbs.max.amt" label-width="0">
<c-input-currency
v-model="model.fidgrp.cbs.max.amt"
:currency="model.fidgrp.cbs.max.cur"
disabled>
</c-input-currency>
</el-form-item>
</c-col>
</c-col>
<!-- S0000184 : 发票转让日期 -->
<c-col :span="24">
<el-form-item
:label="$t('factoring.发票转让日期')"
prop="fidgrp.rec.invdat"
>
<c-date-picker
type="date"
v-model="model.fidgrp.rec.invdat"
style="width: 100%"
disabled>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('factoring.保理状态')"
prop="fidgrp.rec.factyp"
label-width="120px"
>
<c-select
v-model="model.fidgrp.rec.factyp"
dbCode="ELC024"
style="width: 100%;"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000033 : Inv. Batch Num -->
<c-col :span="24">
<el-form-item
label="Invoice Batch Number"
prop="fidgrp.rec.invbatnum"
>
<c-input
v-model="model.fidgrp.rec.invbatnum"
maxlength="35"
disabled>
</c-input>
</el-form-item>
</c-col>
<!-- S0000025 : Message Text -->
<c-col :span="24">
<el-form-item label="Message Text" prop="fidgrp.blk.mesinf">
<c-input
type="textarea"
v-model="model.fidgrp.blk.mesinf"
maxlength="35"
show-word-limit
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.fidgrp.rec.factyp === 'JBBL'">
<c-ptap
:argadr="{
title: $t('lc.保兑行'),
grp: 'fidgrp',
rol: 'con',
}"
:haveAdrLabel="true"
:isAdrblk="true"
:model="model"
bchinr="00000036"
ptytyp="B"
disabled
></c-ptap>
</c-col>
</c-col>
<c-col :span="24">
<c-table
max-height="300px"
style="text-align: center"
stripe
:list="model.cddList || []"
:paginationShow="false"
:border="true"
>
<el-table-column label="Document List">
<el-table-column label="Document Type" width="auto" prop="doctyp">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'cddList.' + scope.$index + '.doctyp'"
:rules="[{ required: true, message: '必填项', trigger: 'change' }]">
<c-select v-model="scope.row.doctyp" dbCode="doctp1" style="width: 100%" disabled>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="Document NO" width="auto" prop="ownref">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'cddList.' + scope.$index + '.ownref'"
:rules="[{ required: true, message: '必填项', trigger: 'blur' }]">
<c-input v-model="scope.row.ownref" maxlength="12" disabled></c-input>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="Cur" width="auto" prop="cur">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'cddList.' + scope.$index + '.cur'"
:rules="[{ required: true, message: '必填项', trigger: 'change' }]">
<c-select v-model="scope.row.cur" dbCode="curtxt" style="width: 100%" disabled>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="Amount" width="auto" prop="amt">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'cddList.' + scope.$index + '.amt'"
:rules="[{ required: true, message: '必填项', trigger: 'blur' }]">
<c-input-currency v-model="scope.row.amt" :currency="scope.row.cur" disabled></c-input-currency>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="Value Date" width="auto" min-width="120" prop="valdat">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'cddList.' + scope.$index + '.valdat'"
:rules="[{ required: true, message: '必填项', trigger: 'change' }]">
<c-date-picker type="date" v-model="scope.row.valdat" style="width: 100%" disabled></c-date-picker>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="Due Date" width="auto" min-width="120" prop="expdat">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'cddList.' + scope.$index + '.expdat'"
:rules="[{ required: true, message: '必填项', trigger: 'change' }]">
<c-date-picker type="date" v-model="scope.row.expdat" style="width: 100%" disabled></c-date-picker>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="Pay Conditions" width="auto" prop="paycdt">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'cddList.' + scope.$index + '.paycdt'"
:rules="[{ required: true, message: '必填项', trigger: 'change' }]">
<c-select v-model="scope.row.paycdt" dbCode="edipay" style="width: 100%" disabled>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="" prop="docnam" width="auto" min-width="90">
<template slot="header" slot-scope="scope">
<c-row>
<c-col>
<div>
<el-button @click="addTableValue" icon="el-icon-plus" type="primary" circle></el-button>
<el-button @click="deleteTable" icon="el-icon-minus" type="primary" circle></el-button>
</div>
</c-col>
</c-row>
</template>
</el-table-column>
</el-table-column>
</c-table>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "../event";
import Utils from "~/utils";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
documentList: [],
};
},
methods: {
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
const serial = Utils.generateUUID();
newTableValue.serialNum = serial;
this.documentList.splice(index - 1, 0, newTableValue);
},
deleteTable(index) {
this.documentList.splice(index, 1);
},
},
created: function () {
},
};
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<!-- <template v-if="isCNY">
<el-collapse-item title="CIPS" name="cips" v-for="(pac, idx) in pacs" :key="idx">
<m-cips :model="model" :codes="codes" name="cips" />
</el-collapse-item>
</template> -->
<template>
<el-collapse-item v-for="(pac, idx) in pacs" :key="idx" :title="isCNY ? 'CIPS112' : pac.title" name="det202">
<m-det202cv :model="model" :codes="codes" :idx="pac.idx" name="det202" />
</el-collapse-item>
</template>
</c-collapse>
</div>
</template>
<script>
import event from "../event";
import Det202 from "~/components/business/setmod/views/Det202.vue";
// import Cips from "./Cips";
export default {
components: {
"m-det202cv": Det202,
// "m-cips": Cips,
},
props: ["model", "codes", "pacs"],
mixins: [event],
data() {
return {
activeNames: ["det202"]
};
},
computed: {
isCNY() {
return this.model.bpdgrp.cbs.opn1.cur == 'CNY';
}
},
methods: {},
created() { },
mounted() { }
}
</script>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item title="Financing" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Details" name="finp">
<m-finp :model="model" :codes="codes" />
</el-collapse-item>
</c-collapse>
</div>
</template>
<script>
import event from "../event";
import Ovwp1 from "./Ovwp1";
import Finp from "./Finp";
export default {
name: "Ovwp",
components: {
"m-ovwp1": Ovwp1,
"m-finp": Finp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["ovwp1", "", ""]
};
},
computed: {},
methods: {},
created: function() {}
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Parent Contract" prop="bpdgrp.rec.pntref">
<c-input v-model="model.bpdgrp.rec.pntref" maxlength="16" disabled
placeholder="Please inputParent Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="21">
<el-form-item label="Finance Reference" prop="bpdgrp.rec.ownref">
<c-input disabled v-model="model.bpdgrp.rec.ownref" maxlength="16"
placeholder="Please inputFinance Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<el-form-item label="" class="checkbox-left" label-width="10px">
<c-button :disabled="model.bpdgrp.rec.fintyp == '' ||
model.bpdgrp.fia.pts.ptainr == '' ||
model.bpdgrp.rec.ownref != ''" size="small" type="primary" @click="queryOwnref">Get Ref</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Responsible User" prop="bptp.usr.extkey">
<c-input v-model="model.bptp.usr.extkey" maxlength="8" placeholder="Please inputResponsible User"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Finance Type" prop="bpdgrp.rec.fintyp">
<c-select
v-model="model.bpdgrp.rec.fintyp"
style="width: 100%"
placeholder="Please inputFinance Type"
>
<el-option
v-for="item in fintypList"
:key="item.value"
:label="item.labelEn"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-show="isShowDistyp">
<el-form-item label-width="5px" prop="bptp.distyp"
:rules="[{ required: isShowDistyp, message: $t('financing.必输项'), trigger: ['blur', 'change'] }]">
<c-select dbCode="distyp" v-model="model.bptp.distyp" style="width:100%" placeholder="Please input">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-show="isShowPurtyp">
<el-form-item label="Purchase Type" prop="bptp.purtyp"
:rules="[{ required: isShowPurtyp, message: $t('financing.必输项'), trigger: ['blur', 'change'] }]">
<c-select v-model="model.bptp.purtyp" style="width:100%" dbCode="purtyp"
:placeholder="$t('other.please_enter') + 'Purchase Type'" :filterKey="purtypList">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Mortgage Flag" prop="bpdgrp.rec.guaflg">
<c-select dbCode="guaflg" v-model="model.bpdgrp.rec.guaflg" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('factoring.类型选择')" prop="bpdgrp.rec.guaflg1">
<c-select dbCode="bpfsel" v-model="model.bpdgrp.rec.guaflg1" style="width:100%">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="Pnt Name" prop="bpdgrp.rec.pntnam">
<c-input disabled v-model="model.bpdgrp.rec.pntnam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name" prop="bpdgrp.rec.nam">
<c-input disabled v-model="model.bpdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<!-- ptap -->
<c-col :span="24">
<el-form-item label="Adv Party Ref." prop="bpdgrp.fia.pts.ref">
<c-input v-model="model.bpdgrp.fia.pts.ref" maxlength="16" placeholder="请输入Adv Party Ref"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Advanced Party" style="margin-bottom: 10px">
<c-ptap :argadr="{ title: 'Financed Party', grp: 'bpdgrp', rol: 'fia' }" :haveAdrLabel="true" :isAdrblk="true"
:isFieldLabelVisible="false" :disabledExtkey="model.fipDisabledFlg == 'N'" :requiredExtkey="true"
:model="model" ptytyp="C">
</c-ptap>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Counter Party Ref." prop="bpdgrp.inv.pts.ref">
<c-input v-model="model.bpdgrp.fia.pts.ref" maxlength="16" placeholder="请输入Counter Party Ref"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Counter Party" style="margin-bottom: 10px">
<c-ptap :argadr="{ title: 'Counter Party', grp: 'bpdgrp', rol: 'inv' }" :haveAdrLabel="true" :isAdrblk="true"
:isFieldLabelVisible="false" :disabledExtkey="model.fipDisabledFlg == 'N'" :requiredExtkey="true"
:model="model" ptytyp="C">
</c-ptap>
</el-form-item>
</c-col>
<!-- 根据条件显示 -->
<c-col :span="24">
<el-form-item :label="$t('financing.福费廷转卖类型')" prop="bpdgrp.rec.ffttyp" v-show="isShowFfttyp"
:rules="[{ required: isShowFfttyp, message: $t('financing.必输项'), trigger: ['blur', 'change'] }]">
<c-select dbCode="ffttyp" v-model="model.bpdgrp.rec.ffttyp" style="width:100%"
:filterKey="ffttypList">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
isShowDistyp: false,
isShowPurtyp: false,
purtypList: [],
isShowFfttyp: false,
ffttypList: [],
fintypList: [
{value: "1", labelEn: "Export Factoring", labelCn: "出口保理"},
{value: "2", labelEn: "Re-factoring", labelCn: "再保理"},
],
};
},
methods: {
},
created() {
},
watch: {
"model.bpdgrp.fia.pts.ptyinr": {
immediate: true,
handler(val, oldval) {
if (this.$store.state.Status.mode === "display") {
return;
}
this.onAccounts();
}
},
"model.bpdgrp.rec.fintyp": {
handler(val, oldval) {
this.changeFinTypes();
}
},
},
computed: {}
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page :title="$t('financing.出口融资开立')">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="Base" name="base">
<c-content>
<m-base :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('commonModels.业务信息')" name="ovwp">
<c-content>
<m-ovwp :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('commonModels.授信/表外')" name="liacombo">
<c-content>
<div class="eibs-tab">
<c-collapse
ref="liacombo"
v-model="activeNames"
style="margin-bottom: 5px"
>
<el-collapse-item
:title="$t('commonCollapse.统一授信')"
name="limitbody"
>
<m-limitbody :codes="codes" :model="model" />
</el-collapse-item>
<el-collapse-item
:title="$t('commonCollapse.表外信息')"
name="engp"
>
<m-engp :codes="codes" :model="model" />
</el-collapse-item>
</c-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<c-content>
<m-setmod :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('bus.付款报文')" name="msdetail" v-if="pacs.length!=0">
<c-content>
<m-mesdetail :model="model" :codes="codes" :pacs="pacs" />
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('financing.报文/面函')" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
ref="commonBtn"
@handleSureWarning="handleSureWarning"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Bpfopn from "../model/index.js";
import event from "../event";
import Check from "../model/check";
import Default from "../model/default";
import buildFn from "../event/buildCommons.js";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import Base from "./Base";
import Ovwp from "./Ovwp";
import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Limitbody from "~/components/business/limitbody/views";
import Engp from "~/components/business/engp/views";
import MesDetail from "./MesDetail"
export default {
name: "bpfopn",
components: {
"m-setmod": Setmod,
"m-limitbody": Limitbody,
"m-docpan": Docpan,
"m-engp": Engp,
"m-base": Base,
"m-ovwp": Ovwp,
"m-mesdetail": MesDetail,
},
provide() {
return {
root: this,
};
},
mixins: [Check, Default, operationFunc, event, commonDepend, buildFn],
computed: {
pacs() {
const pa = [];
const setgll = this.model.setmod.setglg.setgll;
for (let i = 0; i < setgll.length; i++) {
const setg = setgll[i];
// 765和202页面出现条件(费用/账务页面:结算,处理方式是PAC时,756和202页面才能显示)
if (setg.dsp === "PAC") {
const temp = [];
temp.push(setg.rol);
temp.push(setg.acccur);
temp.push(setg.fmtaccamt);
this.model.setmod.setglg.setgll[i].sespay.ownref = this.model.bpdgrp.rec.ownref;
pa.push({
idx: i,
title: this.$t('bus.头寸调拨') + "(MT202 " + temp.join(" ") + ")",
name: "det202cv_" + temp.join("_"),
type: "202"
});
}
}
return pa;
},
},
data() {
return {
tabVal: "base",
activeNames: ["limitbody", "engp"],
trnName: "bpfopn",
trnType: "",
model: new Bpfopn().data,
codes: {
...CodeTable,
},
};
},
created() {
console.log('this.$route', this.$route);
let params = {
transName: this.trnName,
fidgrp: {
rec: {
inr: this.$route.query.inr || '',
},
},
};
this.init(params).then(() => {
this.initData();
});
},
};
</script>
<style>
</style>
const Business = [
// 进口保理
{ path: 'lmtsei', component: () => import('./Lmtsei/views'), name: 'lmtsei', meta: { keepAlive: true, title: '进口预申请', module: 'factoring' } },
{ path: 'lrtsei', component: () => import('./Lrtsei/views'), name: 'lrtsei', meta: { keepAlive: true, title: '进口额度', module: 'factoring' } },
{ path: 'fitsei', component: () => import('./Fitsei/views'), name: 'fitsei', meta: { keepAlive: true, title: '进口发票&结算', module: 'factoring' } },
{ path: 'lmtrig', component: () => import('./Lmtrig/views'), name: 'lmtrig', meta: { keepAlive: true, title: '进口保理预申请', module: 'factoring' } },
{ path: 'lmtrik', component: () => import('./Lmtrik/views'), name: 'lmtrik', meta: { keepAlive: true, title: '进口预申请回复', module: 'factoring' } },
{ path: 'lrtipn', component: () => import('./Lrtipn/views'), name: 'lrtipn', meta: { keepAlive: true, title: '进口额度正式申请', module: 'factoring' } },
{ path: 'lrtick', component: () => import('./Lrtick/views'), name: 'lrtick', meta: { keepAlive: true, title: '进口额度正式回复', module: 'factoring' } },
{ path: 'fitipn', component: () => import('./Fitipn/views'), name: 'fitipn', meta: { keepAlive: true, title: '进口发票转让', module: 'factoring' } },
{ path: 'fitpay', component: () => import('./Fitpay/views'), name: 'fitpay', meta: { keepAlive: true, title: '进口买方付款', module: 'factoring' } },
{ path: 'trfopn', component: () => import('./Trfopn/views'), name: 'trfopn', meta: { keepAlive: true, title: '供应商融资新建', module: 'factoring' } },
{ path: 'trfopn2', component: () => import('./Trfopn/views'), name: 'trfopn', meta: { keepAlive: true, title: '再保理供应商融资新建', module: 'factoring' } },
{ path: 'trfopn3', component: () => import('./Trfopn/views'), name: 'trfopn', meta: { keepAlive: true, title: '再保理买入', module: 'factoring' } },
// 出口保理
{ path: 'lmtsee', component: () => import('./Lmtsee/views'), name: 'lmtsee', meta: { keepAlive: true, title: '出口预申请', module: 'factoring' } },
{ path: 'lrtsee', component: () => import('./Lrtsee/views'), name: 'lrtsee', meta: { keepAlive: true, title: '出口额度', module: 'factoring' } },
{ path: 'fitsee', component: () => import('./Fitsee/views'), name: 'fitsee', meta: { keepAlive: true, title: '出口发票&结算', module: 'factoring' } },
{ path: 'bftsee', component: () => import('./Bftsee/views'), name: 'bftsee', meta: { keepAlive: true, title: '出口融资', module: 'factoring' } },
{ path: 'lmtreg', component: () => import('./Lmtreg/views'), name: 'lmtreg', meta: { keepAlive: true, title: '出口保理预申请', module: 'factoring' } },
{ path: 'lmtrek', component: () => import('./Lmtrek/views'), name: 'lmtrek', meta: { keepAlive: true, title: '出口预申请回复', module: 'factoring' } },
{ path: 'lrtepn', component: () => import('./Lrtepn/views'), name: 'lrtepn', meta: { keepAlive: true, title: '出口额度正式申请', module: 'factoring' } },
{ path: 'lrteck', component: () => import('./Lrteck/views'), name: 'lrteck', meta: { keepAlive: true, title: '出口额度正式回复', module: 'factoring' } },
{ path: 'fitepn', component: () => import('./Fitepn/views'), name: 'fitepn', meta: { keepAlive: true, title: '出口发票转让', module: 'factoring' } },
{ path: 'fitset', component: () => import('./Fitset/views'), name: 'fitset', meta: { keepAlive: true, title: '出口买方付款', module: 'factoring' } },
{ path: 'bftepn', component: () => import('./Bftepn/views'), name: 'bftepn', meta: { keepAlive: true, title: '出口融资发放', module: 'factoring' } },
// { path: 'bftset', component: () => import('./Bftset/views'), name: 'bftset', meta: { keepAlive: true, title: '出口融资返还', module: 'factoring' } },
{ path: 'bpfopn', component: () => import('./Bpfopn/views'), name: 'bpfopn', meta: { keepAlive: true, title: '保理出口融资', module: 'factoring' } },
]
export default Business
\ No newline at end of file
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
return ptspta;
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.fidgrp, this.buildPtspta);
let dataObj = {
rec: {
objtyp: "Fid",
ownref: model.fidgrp.rec.ownref,
},
cbsMap: {
MAX: model.fidgrp.cbs.max,
MAX2: model.fidgrp.cbs.max2,
OLDMAX: model.oldfidgrp.cbs.max,
LRDMAX: model.lrdgrp.cbs.max,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId
? window.sessionStorage.userId
: "ZL",
};
return dataObj;
},
},
};
import Api from "~/service/Api";
import commonFunctions from "~/mixin/commonFunctions.js";
export default {
mixins: [commonFunctions],
methods: {
handleChangeAmt () {
let maxTotal = 0
let max2Total = 0
this.model.fitp.edidocm.edidoc.map((item) => {
if (item.doctyp === '1' && item.amt) {
maxTotal += Number(item.amt)
}
if (item.doctyp === '2' && item.amt) {
max2Total += Number(item.amt)
}
})
this.model.fidgrp.cbs.max.amt = maxTotal
this.model.fidgrp.cbs.max2.amt = max2Total
this.defaultNamN1000();
},
queryOwnref() {
let params = this.model.fidgrp;
const loading = this.loading();
let trnName = this.root.trnName.toUpperCase();
Api.post(`/webapi/${this.moduleRouter()}/ref/fit?trnName=${trnName}`, params).then(res => {
loading.close();
if (res.respCode === SUCCESS) {
this.model.fidgrp.rec.ownref = res.data;
}
}).catch(() => {
loading.close();
});
},
defaultNamN1000() {
let params = { fidgrp: this.model.fidgrp, lrdgrp: this.model.lrdgrp }
const loading = this.loading();
Api.post(`/webapi/${this.moduleRouter()}/fitepn/defaultFidgrpRecNamN1000`, params).then(res => {
loading.close();
if (res.respCode === SUCCESS) {
this.model.fidgrp.rec.nam = res.data;
}
}).catch(() => {
loading.close();
});
},
clickInvchk() {
if (this.model.invchk.chkflg === 'X') {
this.$notify.error({title: this.$t('components.提示信息'), message: this.$t('components.发票查验接口接通中')});
}
}
},
};
import commonFunctions from "~/mixin/commonFunctions.js";
import commonDepend from "~/mixin/commonDepend";
export default {
mixins: [commonFunctions, commonDepend],
methods: {
},
};
import Pts from "~/components/business/commonModel/Pts";
import Pub from "~/components/business/commonModel/index.js";
import Fidgrp from "~/components/business/commonModel/fidgrp";
import Lrdgrp from "~/components/business/commonModel/lrdgrp";
import Liaccv from "@/components/business/ccvpan/model";
export default class Fitepn {
constructor() {
this.data = {
lrdgrp: new Lrdgrp().data.lrdgrp,
fidgrp: new Fidgrp().data.fidgrp,
oldfidgrp: new Fidgrp().data.fidgrp,
fitp: {
usr: {
extkey: "", // Responsible User .fitp.usr.extkey
},
edidocm: {
edidoc: [],
},
},
rstcre: {
crerpaflg: "", // Create Risk participation .rstcre.crerpaflg
rstp: {
usr: {
extkey: "", // Responsible User .rstcre.rstp.usr.extkey
},
},
},
trnmod: {
trndoc: {
doclbl: "", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm: "", // Document tree .trnmod.trndoc.doctrestm
shwinc: "", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout: "", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm: "", // Connected Documents .trnmod.trndoc.condocstm
rcvatt: {
seainf: "", // .trnmod.trndoc.rcvatt.seainf
},
filrecv: "", // File Receiver .trnmod.trndoc.filrecv
dtemod: {
dtetagm06: "", // Information about Confirmation Instruction .trnmod.trndoc.dtemod.dtetagm06
dtetagm07: "", // Notes from Advising Bank .trnmod.trndoc.dtemod.dtetagm07
dtetagm08: "", // Fee of Advising Bank .trnmod.trndoc.dtemod.dtetagm08
dtetagm53typ: "", // Document Sending Type .trnmod.trndoc.dtemod.dtetagm53typ
dtetagm53nam: "", // Courier Name .trnmod.trndoc.dtemod.dtetagm53nam
dtetagm53num: "", // Courier Number .trnmod.trndoc.dtemod.dtetagm53num
},
},
cmimod: {
cmigrp: {
cmi: {
prjnam: "", // 项目名称 .trnmod.cmimod.cmigrp.cmi.prjnam
cntnum: "", // 商务合同号 .trnmod.cmimod.cmigrp.cmi.cntnum
depnub: "", // 协议号 .trnmod.cmimod.cmigrp.cmi.depnub
cmdpsn: "", // 推荐人1 .trnmod.cmimod.cmigrp.cmi.cmdpsn
stacty: "", // 交易对手国别 .trnmod.cmimod.cmigrp.cmi.stacty
cmdpep: "", // 推荐单位1 .trnmod.cmimod.cmigrp.cmi.cmdpep
cmdtwo: "", // 推荐单位2 .trnmod.cmimod.cmigrp.cmi.cmdtwo
cmdpep1: "", // 二级部门 .trnmod.cmimod.cmigrp.cmi.cmdpep1
cmdtwo1: "", // 推荐单位2的二级部门 .trnmod.cmimod.cmigrp.cmi.cmdtwo1
inonum: "", // 发票号 .trnmod.cmimod.cmigrp.cmi.inonum
crdprd: "", // 信贷资产类型 .trnmod.cmimod.cmigrp.cmi.crdprd
detail: "", // 具体类别 .trnmod.cmimod.cmigrp.cmi.detail
inntrn: "", // 创新业务类型 .trnmod.cmimod.cmigrp.cmi.inntrn
usdamt: "", // 商务合同折美元 .trnmod.cmimod.cmigrp.cmi.usdamt
brncod: "", // 支农投向 .trnmod.cmimod.cmigrp.cmi.brncod
rattyp: "", // 利率方式 .trnmod.cmimod.cmigrp.cmi.rattyp
ratlev: "", // 利率基准 .trnmod.cmimod.cmigrp.cmi.ratlev
yesorno: "", // 是否421 .trnmod.cmimod.cmigrp.cmi.yesorno
loan: "", // 贷款投向大类 .trnmod.cmimod.cmigrp.cmi.loan
fincod: "", // 贷款投向小类 .trnmod.cmimod.cmigrp.cmi.fincod
cmdpsn1: "", // 推荐人2 .trnmod.cmimod.cmigrp.cmi.cmdpsn1
icuflg: "", // 是否有保险公司承保 .trnmod.cmimod.cmigrp.cmi.icuflg
},
},
kjdgrp: {
kjd: {
kjdflg: "", // 跨境人民币业务标识 .trnmod.cmimod.kjdgrp.kjd.kjdflg
},
},
},
},
invchk: {
totalamounttax: "", // 价税合计总金额 .invchk.totalamounttax
skipped: "", // 跳过核验 .invchk.skipped
totalamountin: "", // 占用总金额 .invchk.totalamountin
skpreason: "", // 跳过理由 .invchk.skpreason
chkflg: "", //发票核验
},
mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
liaall: new Pub().data.Liaall,
limmod: new Pub().data.Limmod,
liaccv: new Pub().data.Liaccv,
};
}
}
<template>
<div class="eibs-tab">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item
:label="$t('financing.跳过理由')"
prop="invchk.skpreason"
:rules="[
{
required: model.invchk.skipped == 'X',
message: this.$t('bus.必输项'),
},
]"
>
<c-input
type="textarea"
v-model="model.invchk.skpreason"
maxlength="40"
show-word-limit
:disabled="model.invchk.skipped != 'X'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('financing.占用总金额')"
prop="invchk.totalamountin"
>
<c-input v-model="model.invchk.totalamountin"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="invchk.chkflg">
<c-checkbox
v-model="model.invchk.chkflg"
true-label="X"
false-label=""
class="checkbox-left"
@change="clickInvchk"
>
{{ $t("financing.发票核验") }}
</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="invchk.skipped">
<c-checkbox
true-label="X"
false-label=""
v-model="model.invchk.skipped"
class="checkbox-left"
>{{ $t("financing.跳过核验") }}</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('financing.价税合计总金额')"
prop="invchk.totalamounttax"
>
<c-input v-model="model.invchk.totalamounttax"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
watch: {
"model.invchk.skipped": {
immediate: true,
handler(val, oldval) {
if (val != "X") {
this.model.invchk.skpreason = "";
this.$nextTick(() => {
this.root.$refs["modelForm"].validateField(["invchk.skpreason"]);
});
}
},
},
},
methods: {},
created() {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item title="Invoices & Credit Notes" name="fitopnp">
<m-fitopnp :model="model" :codes="codes" />
</el-collapse-item>
</c-collapse>
</div>
</template>
<script>
import Fitopnp from "~/page/Factoring/Fitipn/views/Fitopnp";
export default {
components: {
"m-fitopnp": Fitopnp,
},
inject: ["root"],
props: ["model", "codes"],
data() {
return {
activeNames: ["fitopnp"],
};
},
methods: {},
created: function () {},
computed: {},
};
</script>
<style></style>
<template>
<div class="eContainer">
<c-page :title="$t('factoring.出口发票转让')">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :label="$t('commonModels.业务信息')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('financing.发票核验')" name="invchkpan">
<m-invchkpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- <el-tab-pane :label="$t('commonModels.授信/表外')" name="liacombo">
<c-content>
<div class="eibs-tab">
<c-collapse
ref="liacombo"
v-model="activeNames"
style="margin-bottom: 5px"
>
<el-collapse-item
:title="$t('commonCollapse.统一授信')"
name="limitbody"
>
<m-limitbody :codes="codes" :model="model" />
</el-collapse-item>
<el-collapse-item
:title="$t('commonCollapse.表外信息')"
name="engp"
>
<m-engp :codes="codes" :model="model" />
</el-collapse-item>
</c-collapse>
</div>
</c-content>
</el-tab-pane> -->
<el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Fitepn from "../model/index.js";
import commonDepend from "~/mixin/commonDepend";
import operationFunc from "~/mixin/operationFunc";
import Check from "../model/check";
import Default from "../model/default";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import moment from 'moment';
import Ovwp from "./Ovwp";
import Invchkpan from "./Invchkpan";
import Docpan from "~/components/business/docpan/views";
import Limitbody from "~/components/business/limitbody/views";
import Engp from "~/components/business/engp/views";
import Setmod from "~/components/business/setmod/views";
export default {
name: "fitepn",
components: {
"m-ovwp": Ovwp,
"m-docpan": Docpan,
"m-limitbody": Limitbody,
"m-engp": Engp,
"m-setmod": Setmod,
"m-invchkpan": Invchkpan,
},
provide() {
return {
root: this,
};
},
mixins: [Check, Default, operationFunc, event, commonDepend, buildFn], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "fitepn",
model: new Fitepn().data,
codes: {},
activeNames: ['limitbody', 'engp']
};
},
methods: {},
created() {
console.log("进入fitepn交易");
let params = {
transName: this.trnName,
fidgrp: {
rec: {
inr: this.$route.query.inr,
},
},
};
this.init(params).then(res => {
this.model.fitp.usr.extkey = sessionStorage.getItem('userName') || "";
this.model.fidgrp.rec.invdat = moment(new Date()).format('YYYY-MM-DD')
});
},
};
</script>
<style></style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
return ptspta;
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.fidgrp, this.buildPtspta);
let dataObj = {
rec: {
objtyp: "Fid",
ownref: model.fidgrp.rec.ownref,
},
cbsMap: {
MAX: model.fidgrp.cbs.max,
MAX2: model.fidgrp.cbs.max2,
OLDMAX: model.oldfidgrp.cbs.max,
LRDMAX: model.lrdgrp.cbs.max,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId
? window.sessionStorage.userId
: "ZL",
};
return dataObj;
},
},
};
import Api from "~/service/Api";
import commonFunctions from "~/mixin/commonFunctions.js";
import BigNumber from "bignumber.js";
export default {
mixins: [commonFunctions],
methods: {
handleChangeAmt() {
let maxTotal = 0
let max2Total = 0
this.model.fitp.edidocm.edidoc.map((item) => {
if (item.doctyp === '1' && item.amt) {
maxTotal += Number(item.amt)
}
if (item.doctyp === '2' && item.amt) {
max2Total += Number(item.amt)
}
})
this.model.fidgrp.cbs.max.amt = maxTotal
this.model.fidgrp.cbs.max2.amt = max2Total
this.defaultNamN1000();
},
queryOwnref() {
let params = this.model.fidgrp;
const loading = this.loading();
let trnName = this.root.trnName.toUpperCase();
Api.post(`/webapi/${this.moduleRouter()}/ref/fit?trnName=${trnName}`, params).then(res => {
loading.close();
if (res.respCode === SUCCESS) {
this.model.fidgrp.rec.ownref = res.data;
}
}).catch(() => {
loading.close();
});
},
handdleCur () {
if (this.model.fitp.edidocm.edidoc.length > 0) {
this.model.fitp.edidocm.edidoc.map((item) => {
this.$set(item, 'cur', this.model.fidgrp.cbs.max.cur)
})
}
this.defaultNamN1000()
},
defaultNamN1000() {
let params = { fidgrp: this.model.fidgrp, lrdgrp: this.model.lrdgrp }
const loading = this.loading();
Api.post(`/webapi/${this.moduleRouter()}/fitipn/defaultFidgrpRecNamN1000`, params).then(res => {
loading.close();
if (res.respCode === SUCCESS) {
this.model.fidgrp.rec.nam = res.data;
}
}).catch(() => {
loading.close();
});
},
},
};
import commonFunctions from "~/mixin/commonFunctions.js";
import commonDepend from "~/mixin/commonDepend";
export default {
mixins: [commonFunctions, commonDepend],
methods: {
},
};
import Pts from "~/components/business/commonModel/Pts";
import Pub from "~/components/business/commonModel/index.js";
import Fidgrp from "~/components/business/commonModel/fidgrp";
import Lrdgrp from "~/components/business/commonModel/lrdgrp";
export default class Litopn {
constructor() {
this.data = {
lrdgrp: new Lrdgrp().data.lrdgrp,
fidgrp: new Fidgrp().data.fidgrp,
oldfidgrp: new Fidgrp().data.fidgrp,
fitp:{
usr:{
extkey:"", // Responsible User .fitp.usr.extkey
},
edidocm: {
edidoc: []
}
},
rstcre:{
crerpaflg:"", // Create Risk participation .rstcre.crerpaflg
rstp:{
usr:{
extkey:"", // Responsible User .rstcre.rstp.usr.extkey
},
},
},
trnmod:{
trndoc:{
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
dtemod:{
dtetagm06:"", // Information about Confirmation Instruction .trnmod.trndoc.dtemod.dtetagm06
dtetagm07:"", // Notes from Advising Bank .trnmod.trndoc.dtemod.dtetagm07
dtetagm08:"", // Fee of Advising Bank .trnmod.trndoc.dtemod.dtetagm08
dtetagm53typ:"", // Document Sending Type .trnmod.trndoc.dtemod.dtetagm53typ
dtetagm53nam:"", // Courier Name .trnmod.trndoc.dtemod.dtetagm53nam
dtetagm53num:"", // Courier Number .trnmod.trndoc.dtemod.dtetagm53num
},
},
cmimod:{
cmigrp:{
cmi:{
prjnam:"", // 项目名称 .trnmod.cmimod.cmigrp.cmi.prjnam
cntnum:"", // 商务合同号 .trnmod.cmimod.cmigrp.cmi.cntnum
depnub:"", // 协议号 .trnmod.cmimod.cmigrp.cmi.depnub
cmdpsn:"", // 推荐人1 .trnmod.cmimod.cmigrp.cmi.cmdpsn
stacty:"", // 交易对手国别 .trnmod.cmimod.cmigrp.cmi.stacty
cmdpep:"", // 推荐单位1 .trnmod.cmimod.cmigrp.cmi.cmdpep
cmdtwo:"", // 推荐单位2 .trnmod.cmimod.cmigrp.cmi.cmdtwo
cmdpep1:"", // 二级部门 .trnmod.cmimod.cmigrp.cmi.cmdpep1
cmdtwo1:"", // 推荐单位2的二级部门 .trnmod.cmimod.cmigrp.cmi.cmdtwo1
inonum:"", // 发票号 .trnmod.cmimod.cmigrp.cmi.inonum
crdprd:"", // 信贷资产类型 .trnmod.cmimod.cmigrp.cmi.crdprd
detail:"", // 具体类别 .trnmod.cmimod.cmigrp.cmi.detail
inntrn:"", // 创新业务类型 .trnmod.cmimod.cmigrp.cmi.inntrn
usdamt:"", // 商务合同折美元 .trnmod.cmimod.cmigrp.cmi.usdamt
brncod:"", // 支农投向 .trnmod.cmimod.cmigrp.cmi.brncod
rattyp:"", // 利率方式 .trnmod.cmimod.cmigrp.cmi.rattyp
ratlev:"", // 利率基准 .trnmod.cmimod.cmigrp.cmi.ratlev
yesorno:"", // 是否421 .trnmod.cmimod.cmigrp.cmi.yesorno
loan:"", // 贷款投向大类 .trnmod.cmimod.cmigrp.cmi.loan
fincod:"", // 贷款投向小类 .trnmod.cmimod.cmigrp.cmi.fincod
cmdpsn1:"", // 推荐人2 .trnmod.cmimod.cmigrp.cmi.cmdpsn1
icuflg:"", // 是否有保险公司承保 .trnmod.cmimod.cmigrp.cmi.icuflg
},
},
kjdgrp:{
kjd:{
kjdflg:"", // 跨境人民币业务标识 .trnmod.cmimod.kjdgrp.kjd.kjdflg
},
},
},
},
mtabut: new Pub().data.Mtabut,
// trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
};
}
}
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item title="Invoices & Credit Notes" name="fitopnp">
<m-fitopnp :model="model" :codes="codes" />
</el-collapse-item>
</c-collapse>
</div>
</template>
<script>
import Fitopnp from "./Fitopnp";
export default {
components: {
"m-fitopnp": Fitopnp,
},
inject: ["root"],
props: ["model", "codes"],
data() {
return {
activeNames: ["fitopnp"],
};
},
methods: {},
created: function () {},
computed: {},
};
</script>
<style></style>
<template>
<div class="eContainer">
<c-page :title="$t('factoring.进口发票转让')">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :label="$t('commonModels.业务信息')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('commonCollapse.表外信息')" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Fitipn from "../model/index.js";
import commonDepend from "~/mixin/commonDepend";
import operationFunc from "~/mixin/operationFunc";
import Check from "../model/check";
import Default from "../model/default";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import moment from 'moment';
import Ovwp from "./Ovwp";
import Docpan from "~/components/business/docpan/views";
import Engp from "~/components/business/engp/views";
import Setmod from "~/components/business/setmod/views";
export default {
name: "fitipn",
components: {
"m-ovwp": Ovwp,
"m-docpan": Docpan,
"m-engp": Engp,
"m-setmod": Setmod,
},
provide() {
return {
root: this,
};
},
mixins: [Check, Default, operationFunc, event, commonDepend, buildFn],
data() {
return {
tabVal: "ovwp",
trnName: "fitipn",
model: new Fitipn().data,
codes: {},
};
},
methods: {},
created() {
console.log("进入fitipn交易");
let params = {
transName: this.trnName,
fidgrp: {
rec: {
inr: this.$route.query.inr,
},
},
};
this.init(params).then(res => {
this.model.fitp.usr.extkey = sessionStorage.getItem('userName') || "";
this.model.fidgrp.rec.invdat = moment(new Date()).format('YYYY-MM-DD')
// this.model.fitp.edidocm.edidoc.push({
// ref:'1111',
// opndat:'2024-08-06',
// docnbr:'11111',
// doctyp:'1',
// cur:'USD',
// amt:10.00,
// valdat:'2024-08-06',
// expdat:"2024-08-06",
// paycdt:'',
// invref:'122222',
// })
});
},
};
</script>
<style></style>
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