Commit c47c9009 by Eivi
parents 6afd40ab 1f31c5f4
import Utils from "~/utils"
/**
* Litacp Check规则
*/
let checkObj = {
"lidgrp.apl.namelc" :null,
"lidgrp.rec.prepers18" :null,
"lidgrp.rec.lcrtyp" :null,
"lidgrp.rec.apprul" :null,
"lidgrp.rec.apprultxt" :null,
"lidgrp.blk.lcrgod" :null,
"lidgrp.adv.pts.adrblk" :null,
"lidgrp.blk.adlcnd" :null,
"lidgrp.ini.namelc" :null,
"lidgrp.rec.stacty" :null,
"lidgrp.ini.pts.adrblk" :null,
"lidgrp.blk.lcrdoc" :null,
"lidgrp.a2b.namelc" :null,
"lidgrp.apl.adrelc" :null,
"litp.usr.extkey" :null,
"lidgrp.avb.pts.adrblk" :null,
"lidgrp.rec.avbwth" :null,
"lidgrp.adv.pts.nam" :null,
"lidgrp.rec.opndat" :null,
"lidgrp.a2b.adrelc" :null,
"ameamt" :null,
"lidgrp.avb.namelc" :null,
"lidgrp.blk.feetxt" :null,
"lidgrp.blk.preper" :null,
"lidgrp.ben.pts.nam" :null,
"lidgrp.ben.adrelc" :null,
"lidgrp.rec.cnfdet" :null,
"lidgrp.avb.adrelc" :null,
"lidgrp.a2b.pts.adrblk" :null,
"lidgrp.adv.namelc" :null,
"lidgrp.blk.mixdet" :null,
"lidgrp.apl.pts.nam" :null,
"lidgrp.ini.pts.extkey" :null,
"lidgrp.drw.adrelc" :null,
"lidgrp.rec.expplc" :null,
"lidgrp.rmb.pts.extkey" :null,
"lidgrp.adv.pts.extkey" :null,
"lidgrp.adv.adrelc" :null,
"lidgrp.ben.pts.extkey" :null,
"lidgrp.avb.pts.extkey" :null,
"lidgrp.a2b.pts.extkey" :null,
"lidgrp.blk.defdet" :null,
"lidgrp.blk.insbnk" :null,
"lidgrp.con.pts.extkey" :null,
"lidgrp.apl.pts.adrblk" :null,
"lidgrp.ini.adrelc" :null,
"lidgrp.ben.pts.adrblk" :null,
"lidgrp.rmb.pts.nam" :null,
"lidgrp.drw.pts.extkey" :null,
"lidgrp.con.adrelc" :null,
"lidgrp.con.pts.adrblk" :null,
"lidgrp.blk.dftat" :null,
"lidgrp.apl.pts.extkey" :null,
"lidgrp.rec.tenmaxday" :null,
"lidgrp.ben.namelc" :null,
"lidgrp.drw.pts.adrblk" :null,
"lidgrp.drw.namelc" :null,
"lidgrp.con.namelc" :null,
"ptspta.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Litacp Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"lidgrp.avb.pts.extkey" :Utils.defaultFunction,
"lidgrp.adv.pts.extkey" :Utils.defaultFunction,
"lidgrp.rec.avbwth" :Utils.defaultFunction,
"lidgrp.avb.adrelc" :Utils.defaultFunction,
"lidgrp.avb.namelc" :Utils.defaultFunction,
"lidgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.avb.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction,
"lidgrp.rec.opndat" :Utils.defaultFunction,
"lidgrp.blk.avbwthtxt" :Utils.defaultFunction,
"litp.usr.extkey" :Utils.defaultFunction,
"lidgrp.apl.pts.extkey" :Utils.defaultFunction,
"lidgrp.apl.adrelc" :Utils.defaultFunction,
"lidgrp.apl.namelc" :Utils.defaultFunction,
"lidgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rmb.pts.extkey" :Utils.defaultFunction,
"litp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"lidgrp.rec.rmbflg" :Utils.defaultFunction,
"lidgrp.con.pts.adrblk" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.ben.adrelc" :Utils.defaultFunction,
"lidgrp.ben.namelc" :Utils.defaultFunction,
"lidgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.shptrs" :Utils.defaultFunction,
"lidgrp.rec.shptrss18" :Utils.defaultFunction,
"lidgrp.adv.adrelc" :Utils.defaultFunction,
"lidgrp.adv.namelc" :Utils.defaultFunction,
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction,
"lidgrp.rec.shppar" :Utils.defaultFunction,
"lidgrp.rec.shpdat" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
"lidgrp.a2b.adrelc" :Utils.defaultFunction,
"lidgrp.a2b.namelc" :Utils.defaultFunction,
"lidgrp.a2b.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.a2b.pts.adrblk" :Utils.defaultFunction,
"lidgrp.con.pts.extkey" :Utils.defaultFunction,
"lidgrp.drw.pts.extkey" :Utils.defaultFunction,
"lidgrp.ini.pts.extkey" :Utils.defaultFunction,
"lidgrp.ini.adrelc" :Utils.defaultFunction,
"lidgrp.ini.namelc" :Utils.defaultFunction,
"lidgrp.ini.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.apl.pts.adrblk" :Utils.defaultFunction,
"lidgrp.drw.adrelc" :Utils.defaultFunction,
"lidgrp.drw.namelc" :Utils.defaultFunction,
"lidgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.drw.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.spcrcbflg" :Utils.defaultFunction,
"lidgrp.rec.nomtop" :Utils.defaultFunction,
"lidgrp.cbs.nom1.amt" :Utils.defaultFunction,
"lidgrp.rec.spcbenflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.blk.preper" :Utils.defaultFunction,
"lidgrp.rec.revflg" :Utils.defaultFunction,
"lidgrp.con.adrelc" :Utils.defaultFunction,
"lidgrp.con.namelc" :Utils.defaultFunction,
"lidgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.apprul" :Utils.defaultFunction,
"lidgrp.adv.pts.nam" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
"lidgrp.ben.pts.adrblk" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"lidgrp.rec.porloa" :Utils.defaultFunction,
"lidgrp.rec.shpto" :Utils.defaultFunction,
"lidgrp.rec.pordis" :Utils.defaultFunction,
"lidgrp.rec.shpfro" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.apl.pts.nam" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"lidgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.ben.pts.nam" :Utils.defaultFunction,
"ptspta.pts.adrblk":Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Litacp{
constructor () {
this.data = {
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
setmod :new Pub().data.Setmod,
mtabut :new Pub().data.Mtabut,
ptspta:{
pts:{
ref:"",
extkey:"",
adrblk:"",
}
},
lidgrp:{
rec:{
ownref:"", // Reference .lidgrp.rec.ownref
nam:"", // Name .lidgrp.rec.nam
avbby:"", // Available by .lidgrp.rec.avbby
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
opndat:"", // L/C Issued on .lidgrp.rec.opndat
shpdat:"", // Latest Shipment Date .lidgrp.rec.shpdat
expdat:"", // L/C Expiring on .lidgrp.rec.expdat
expplc:"", // in (Place)/ counters of .lidgrp.rec.expplc
lcrtyp:"", // Form of L/C .lidgrp.rec.lcrtyp
revflg:"", // Revolving Flag .lidgrp.rec.revflg
nomtop:"", // Amount Tolerance +/- .lidgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .lidgrp.rec.nomton
nomspc:"", // Amount Specification .lidgrp.rec.nomspc
preadvdt:"", // Date Pre-advised .lidgrp.rec.preadvdt
shppar:"", // Partial Shipment .lidgrp.rec.shppar
shptrs:"", // Transhipment .lidgrp.rec.shptrs
apprul:"", // Applicable Rules .lidgrp.rec.apprul
apprultxt:"", // Other Applicable Rules .lidgrp.rec.apprultxt
cnfdet:"", // Confirm. Instructions .lidgrp.rec.cnfdet
rmbflg:"", // Reimbursement Information .lidgrp.rec.rmbflg
resflg:"", // Reserved Contract .lidgrp.rec.resflg
shppars18:"", // Partial Shipment .lidgrp.rec.shppars18
shptrss18:"", // Transhipment .lidgrp.rec.shptrss18
guaflg:"", // Mortgage Flag .lidgrp.rec.guaflg
regref:"", // Register Ref. .lidgrp.rec.regref
rptref:"", // 合同号 .lidgrp.rec.rptref
oppbnk:"", // 对手行代码 .lidgrp.rec.oppbnk
dkflg:"", // 是否代开信用证 .lidgrp.rec.dkflg
stagod:"", // Goods Code .lidgrp.rec.stagod
spcbenflg:"", // Special payment conditions for beneficiary exists .lidgrp.rec.spcbenflg
spcrcbflg:"", // Special Payment Conditions for specified Bank only .lidgrp.rec.spcrcbflg
avbwth:"", // Available with .lidgrp.rec.avbwth
shpfro:"", // Dispatch from .lidgrp.rec.shpfro
porloa:"", // Air-/Port of Departure .lidgrp.rec.porloa
pordis:"", // Air-/Port of Destination .lidgrp.rec.pordis
shpto:"", // Final Destination .lidgrp.rec.shpto
chato:"", // Drafts at .lidgrp.rec.chato
stacty:"", // Country Code Risk Country .lidgrp.rec.stacty
tenmaxday:"", // Maximum tenor in days .lidgrp.rec.tenmaxday
prepers18:"", // Days of presentation period .lidgrp.rec.prepers18
prepertxts18:"", // Presentation period text .lidgrp.rec.prepertxts18
},
cbs:{
nom1:{
cur:"", // Nominal Amount .lidgrp.cbs.nom1.cur
amt:"", // Nominal Amount .lidgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
max:{
cur:"", // Maximum Amount .lidgrp.cbs.max.cur
amt:"", // Maximum Amount .lidgrp.cbs.max.amt
},
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.apl.namelc
adrelc:"", // 地址 .lidgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.apl.dbfadrblkcn
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.ben.namelc
adrelc:"", // 地址 .lidgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.ben.dbfadrblkcn
},
adv:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.adv.namelc
adrelc:"", // 地址 .lidgrp.adv.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.adv.dbfadrblkcn
},
avbnam:"", // 指定银行 .lidgrp.avbnam
ini:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.ini.namelc
adrelc:"", // 地址 .lidgrp.ini.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.ini.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
},
a2b:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.a2b.namelc
adrelc:"", // 地址 .lidgrp.a2b.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.a2b.dbfadrblkcn
},
avb:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.avb.namelc
adrelc:"", // 地址 .lidgrp.avb.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.avb.dbfadrblkcn
},
con:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.con.namelc
adrelc:"", // 地址 .lidgrp.con.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.con.dbfadrblkcn
},
blk:{
lcrgod:"", // Description. of Goods .lidgrp.blk.lcrgod
lcrdoc:"", // Documents Required .lidgrp.blk.lcrdoc
adlcnd:"", // Additional Conditions .lidgrp.blk.adlcnd
insbnk:"", // Instructions to Pay., .lidgrp.blk.insbnk
avbwthtxt:"", // Available in .lidgrp.blk.avbwthtxt
defdet:"", // Deferred Payment Details .lidgrp.blk.defdet
dftat:"", // Drafts at .lidgrp.blk.dftat
shpper:"", // Shipment Period .lidgrp.blk.shpper
preper:"", // Presentation Period .lidgrp.blk.preper
preperflg:"", // Presentation Period modified .lidgrp.blk.preperflg
feetxt:"", // Additional Details to Code for Charges .lidgrp.blk.feetxt
mixdet:"", // Mixed Payment Details .lidgrp.blk.mixdet
decamtstm:"",
},
drw:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.drw.namelc
adrelc:"", // 地址 .lidgrp.drw.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.drw.dbfadrblkcn
},
},
litp:{
litp0:{
recget:{
sdamod:{
seainf:"", // 参考号 .litp.litp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.litp0.recget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .litp.litp0.aammod.addamtflg
},
thdate:"", // 提货日期/服务提供日 .litp.litp0.thdate
},
recget:{
sdamod:{
seainf:"", // .litp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // Responsible User .litp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .litp.usrget.sdamod.seainf
},
},
aamp:{
aammod:{
addamtflg:"", // Add. Amount .litp.aamp.aammod.addamtflg
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .litp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.aplp.ptsget.sdamod.dadsnd
},
},
},
advp:{
ptsget:{
sdamod:{
seainf:"", // .litp.advp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.advp.ptsget.sdamod.dadsnd
},
},
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .litp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.benp.ptsget.sdamod.dadsnd
},
},
},
oppbnkl:"", // 对手行代码 .litp.oppbnkl
avblab:"", // Label Available with Bank .litp.avblab
inip:{
ptsget:{
sdamod:{
seainf:"", // .litp.inip.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.inip.ptsget.sdamod.dadsnd
},
},
},
rmbp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .litp.rmbp.ptsget.sdamod.dadsnd
seainf:"", // .litp.rmbp.ptsget.sdamod.seainf
},
},
},
a2bp:{
ptsget:{
sdamod:{
seainf:"", // .litp.a2bp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.a2bp.ptsget.sdamod.dadsnd
},
},
},
avbp:{
ptsget:{
sdamod:{
seainf:"", // .litp.avbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.avbp.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .litp.ptsaddp.ptsaddg
},
conp:{
ptsget:{
sdamod:{
seainf:"", // .litp.conp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.conp.ptsget.sdamod.dadsnd
},
},
},
drwp:{
ptsget:{
sdamod:{
seainf:"", // .litp.drwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.drwp.ptsget.sdamod.dadsnd
},
},
},
defdetlab:"", // Label DEFDET .litp.defdetlab
},
amedat:"", // Amount Amend Date .amedat
decstm:"", // Amount Amend StreamGrid .decstm
nbr:"", // number .nbr
amecur:"", // Amount Amend Ccy .amecur
ameamt:"", // 修改金额 .ameamt
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -58,6 +58,10 @@ export default class Litsel{
pts:new Pts().data,
},
avbnam:"", // Available with .lidgrp.avbnam
blk:{
decamtstm:"",
}
},
lidget:{
lid:{
......
......@@ -160,6 +160,8 @@ import Brtacp from "./Brtacp"
import Brtame from "./Brtame"
import Litrog from "./Litrog"
import Litacp from "./Litacp"
/**
* 带有name的才会被添加进顶部的标签页里
......@@ -332,5 +334,6 @@ const BusRouter = [
{ path: 'Brtame', component: Brtame, name: 'Brtame', meta: { title: 'Brtame' } },
{ path: 'Litrog', component: Litrog, name: 'Litrog', meta: { title: '进口信用证提货担保' } },
{ path: 'Litacp', component: Litacp, name: 'Litacp', meta: { title: '进口信用证减额修改接受' } },
]
export default BusRouter
\ No newline at end of file
<template>
<div class="eibs-tab">
<el-col :span="11">
<c-col :span="24">
<el-form-item label="Additional Conditions" prop="lidgrp.blk.adlcnd">
<c-fullbox>
<c-input disabled :rows="15" type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入Additional Conditions" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox disabled v-model="model.lidgrp.rec.spcbenflg">Special payment conditions for beneficiary exists</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox disabled v-model="model.lidgrp.rec.spcrcbflg">Special Payment Conditions for specified Bank only</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox disabled v-model="model.lidgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-col>
</el-col>
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Instructions to Pay.," prop="lidgrp.blk.insbnk">
<c-fullbox>
<c-input disabled rows="15" type="textarea" v-model="model.lidgrp.blk.insbnk" maxlength="65" show-word-limit placeholder="请输入Instructions to Pay.," ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litacp/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="20">
<el-form-item label="Description. of Goods" prop="lidgrp.blk.lcrgod">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="52000" :rows="30" show-word-limit placeholder="请输入Description. of Goods" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="">
</c-button>
</c-col>
<c-col :span="18">
<el-form-item label="Goods Code " prop="lidgrp.rec.stagod">
<c-select
disabled
v-model="model.lidgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code ">
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litacp/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="20">
<el-form-item label="Documents Required" prop="lidgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="65" :rows="30" show-word-limit placeholder="请输入Documents Required" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litacp/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<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="myTabClick">
<!--PD000002 -->
<el-tab-pane label="Amend Accept" name="acpp">
<c-content>
<m-acpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Overview" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane label="Goods" name="dogp">
<m-dogp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000060 -->
<el-tab-pane label="Documents" name="dorp">
<m-dorp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000074 -->
<el-tab-pane label="Additional Conditions" name="adcp">
<m-adcp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000077 -->
<el-tab-pane label="Details" name="detp">
<c-content>
<m-detp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Message" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litacp from "~/model/Litacp"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litacp/Check"
import Default from "~/model/Litacp/Default"
import Pattern from "~/model/Litacp/Pattern"
import Acpp from "./Acpp"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Dogp from "./Dogp"
import Dorp from "./Dorp"
import Adcp from "./Adcp"
import Detp from "./Detp"
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Litacp",
components:{
"m-acpp" : Acpp,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-dogp" : Dogp,
"m-dorp" : Dorp,
"m-adcp" : Adcp,
"m-detp" : Detp,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-setpan" : Setpan,
"m-engp" : Engp,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "acpp",
trnName: "litacp",
model: new Litacp().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入litacp交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</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