Commit 56cc1955 by 潘际乾

模板调整

parent 976e2f68
<template>
<div class="bus-button">
<c-button type="primary" v-on:click="save">{{
$t("buttons.submit")
$t("custom.buttons.submit")
}}</c-button>
<c-button type="primary" v-on:click="pedding">{{
$t("buttons.stash")
$t("custom.buttons.stash")
}}</c-button>
<c-button type="primary" v-on:click="check">{{
$t("buttons.check")
$t("custom.buttons.check")
}}</c-button>
<c-button v-on:click="exit">{{ $t("buttons.quit") }}</c-button>
<c-button v-on:click="exit">{{ $t("custom.buttons.quit") }}</c-button>
</div>
</template>
<script>
......
<template>
<el-form-item
:label="getL18nLabel()"
:label="label"
:prop="prop"
v-bind="$attrs"
v-on="$listeners"
......@@ -20,37 +20,6 @@
export default {
props: ["label", "prop", "previewLabel", "preProp"],
methods: {
getL18nLabel() {
if (!this.label || this.label.trim() === "") {
return "";
}
// 默认中文作 key
if (this.$store.state.I18n.lang === "zh") {
return this.label;
}
let vm = this,
root = null;
while (true) {
if (vm.root) {
root = vm.root;
break;
}
if (vm.$vnode.componentOptions.tag === "el-form") {
break;
}
vm = vm.$parent;
}
// 若找到了root,表明该form-item是在交易下的
if (root) {
const opts = root.$vnode.componentOptions
const name = opts.Ctor.options.name || opts.tag
// const key = `tx.${root.trnName}.${this.label}`;
const key = `tx.${name}.${this.label}`;
const tVal = this.$t(key);
return tVal === key ? this.label : tVal;
}
return this.label;
},
},
};
</script>
......
......@@ -5,10 +5,10 @@
<template>
<div class="m-Btn-eContainer" v-if="!buttonHide && ((!isReview && !funcBtnHide) || showSetBtn)">
<div class="m-funcBtn-eContainer" v-if="!isReview && !buttonHide && !funcBtnHide">
<el-button type="primary" size="small" @click="start" :loading="$store.state.Status.loading.submit">{{ $t('buttons.submit') }}</el-button>
<el-button size="small" @click="check" :loading="$store.state.Status.loading.check">{{ $t('buttons.check') }}</el-button>
<el-button size="small" @click="save" :loading="$store.state.Status.loading.stash">{{ $t('buttons.stash') }}</el-button>
<el-button size="small" @click="handleCancel">{{ $t('buttons.quit') }}</el-button>
<el-button type="primary" size="small" @click="start" :loading="$store.state.Status.loading.submit">{{ $t('custom.buttons.submit') }}</el-button>
<el-button size="small" @click="check" :loading="$store.state.Status.loading.check">{{ $t('custom.buttons.check') }}</el-button>
<el-button size="small" @click="save" :loading="$store.state.Status.loading.stash">{{ $t('custom.buttons.stash') }}</el-button>
<el-button size="small" @click="handleCancel">{{ $t('custom.buttons.quit') }}</el-button>
</div>
<div class="m-zhanWei-forfuncBtn" v-if="!buttonHide && showSetBtn && (funcBtnHide || isReview)"></div>
<div class="m-openleft" v-if="!buttonHide && showSetBtn">
......@@ -20,7 +20,7 @@
v-show="!openflag"
@click="open"
>
{{ $t('buttons.unfold') }}
{{ $t('custom.buttons.unfold') }}
<i class="el-icon-setting" size="mini"></i>
</el-button>
<el-button
......@@ -31,7 +31,7 @@
v-show="openflag"
@click="close"
>
{{ $t('buttons.fold') }}
{{ $t('custom.buttons.fold') }}
<i class="el-icon-setting" size="mini"></i>
</el-button>
<div class="m-openleft-item" v-show="openflag">
......
......@@ -2,16 +2,16 @@
<div class="m-table-search">
<slot v-bind:searchToggle="searchToggle"></slot>
<div v-if="formCount>3" :class="searchToggle? (formCount%3 == 0?'m-table-search-operation':'m-table-search-operation-bottom'): 'm-table-search-operation-top'" >
<el-button size="small" @click="handleReset">{{ $t('buttons.reset') }}</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">{{ $t('buttons.query') }}</el-button>
<el-button size="small" @click="handleReset">{{ $t('custom.buttons.reset') }}</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">{{ $t('custom.buttons.query') }}</el-button>
<el-button type="text" @click="handleToggleSearch">
{{searchToggle? $t('buttons.fold') : $t('buttons.unfold') }}
{{searchToggle? $t('custom.buttons.fold') : $t('custom.buttons.unfold') }}
<i :class="searchToggle? 'el-icon-arrow-up': 'el-icon-arrow-down'"></i>
</el-button>
</div>
<div v-if="formCount <= 3" :class="formCount == 3? 'm-table-search-operation': 'm-table-search-operation-top'">
<el-button size="small" @click="handleReset">{{ $t('buttons.reset') }}</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">{{ $t('buttons.query') }}</el-button>
<el-button size="small" @click="handleReset">{{ $t('custom.buttons.reset') }}</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">{{ $t('custom.buttons.query') }}</el-button>
</div>
</div>
</template>
......
......@@ -2,5 +2,4 @@
* 码表值
*/
export default {
}
\ No newline at end of file
......@@ -2,21 +2,4 @@
* table的 column
*/
export default {
"交易代码": "Transaction Code",
"业务编号": "Business Number",
"交易名称": "Trade Name",
"状态": "State",
"报文类型": "Message Type",
"对方银行BIC": "The Other Bank BIC",
"创建时间": "Creation Time",
"币种": "Currency",
"金额": "Amount",
"创建人": "Founder",
"当前操作柜员": "Current Operating Teller",
"当前组别": "The Current Group",
"上次操作柜员": "Last Operation Teller",
"来源": "Source",
"提示": "Prompt",
"提示信息": "Prompt Information",
"操作": "Operate"
}
import codeTable from "./codeTable";
import common from "./common";
import tx from "./tx";
import common from "./common";
import codeTable from "./codeTable";
import columns from "./columns"
export default {
...common,
codeTable,
tx,
columns
...tx,
custom: {
...common,
codeTable,
columns
}
};
import Setpan from "../public/Setpan"
export default {
"电话": "Tel",
"邮编": "Email",
...Setpan
}
\ No newline at end of file
/**
* 对应交易中的公共组件(Setpan.vue)
*/
export default {
}
\ No newline at end of file
......@@ -2,5 +2,4 @@
* 码表值
*/
export default {
}
\ No newline at end of file
/**
* table的 column
*/
export default {
export default {
}
\ No newline at end of file
import codeTable from "./codeTable";
import common from "./common";
import tx from "./tx";
import common from "./common";
import codeTable from "./codeTable";
import columns from "./columns"
export default {
...common,
codeTable,
tx,
columns
...tx,
custom: {
...common,
codeTable,
columns
}
};
import Setpan from "../public/Setpan"
export default {
...Setpan
}
\ No newline at end of file
/**
* 对应交易中的公共组件(Setpan.vue)
*/
export default {
}
\ No newline at end of file
export default class Pts {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
rol: '',
ptainr: '',
ptyinr: '',
extkey: '',
adrblk: '',
ref: '',
nam: '',
ownref: '',
dftcur: '',
dftdsp: '',
dftact: '',
dftfeecur: '',
dftactptainr: '',
glggrpflg: '',
extact: '',
ver: '',
issbaninf: '',
bankno: '',
jigomc: '', //联行名称 电证用
dizhii: '', //地址 电证用
youzbm: '', //邮编 电证用
dihdig: '', //电话 电证用
}
}
}
\ No newline at end of file
export default class Cbs {
constructor() {
this.data = {
nom1: {
cur: "", // Currency .xxxgrp.cbs.nom1.cur
amt: "", // 信用证金额 .xxxgrp.cbs.nom1.amt
},
max: {
cur: "", // Currency .xxxgrp.cbs.max.cur
amt: "", // 信用证最大金额 .xxxgrp.cbs.max.amt
},
max2: {
cur: "", // Additional Amount .xxxgrp.cbs.max2.cur
amt: "", // Additional Amount .xxxgrp.cbs.max2.amt
},
opn2: {
cur: "", // Open Add. Amount .xxxgrp.cbs.opn2.cur
amt: "", // Open Add. Amount .xxxgrp.cbs.opn2.amt
},
opn1: {
cur: "", // Open Add. Amount .xxxgrp.cbs.opn1.cur
amt: "", // Open Add. Amount .xxxgrp.cbs.opn1.amt
},
}
}
}
\ No newline at end of file
export default class Blk {
constructor() {
this.data = {
revcls: "", // Revolving Clause .didgrp.blk.revcls
revnotes: "", // Notes to Applicant .didgrp.blk.revnotes
lcrgod: "", // Description of Goods .didgrp.blk.lcrgod
lcrdoc: "", // 单据要求 .didgrp.blk.lcrdoc
adlcnd: "", // 附加条款 .didgrp.blk.adlcnd
insbnk: "", // 付行的指示 .didgrp.blk.insbnk
rmbcha: "", // Other Charges .didgrp.blk.rmbcha
defdet: "", // Deferred Payment Details .didgrp.blk.defdet
preper: "", // Presentation Period .didgrp.blk.preper
preperflg: "", // Presentation Period modified .didgrp.blk.preperflg
}
}
}
export default class Did {
constructor() {
this.data = {
ownref: "", // Reference .didgrp.rec.ownref
opndat: "", // Date L/C Opened/Issued .didgrp.rec.opndat
shpdat: "", // Shipment Date .didgrp.rec.shpdat
expdat: "", // Date of Expiry .didgrp.rec.expdat
nam: "", // Externally Displayed Name to Identify the Contract .didgrp.rec.nam
resflg: "", // Reserved Contract .didgrp.rec.resflg
nomtop: "", // Amount Tolerance - Positive .didgrp.rec.nomtop
nomton: "", // Amount Tolerance - Negative .didgrp.rec.nomton
expplc: "", // Place of Expiry .didgrp.rec.expplc
elcflg: "", // 是否通过电证系统 .didgrp.rec.elcflg
guaflg: "", // 货押标识 .didgrp.rec.guaflg
jyqflg: "", // 假远期信用证 .didgrp.rec.jyqflg
mytype: "", // 槸易类型 .didgrp.rec.mytype
dkflg: "", // 开证类型 .didgrp.rec.dkflg
idcode: "", // 申请人统一社会信用代码 .didgrp.rec.idcode
revtyp: "", // Revolving Type .didgrp.rec.revtyp
revtimes: "", // Revolve Times .didgrp.rec.revtimes
revnbr: "", // Number of Revolvings under L/C .didgrp.rec.revnbr
revdat: "", // Next Revolve Date .didgrp.rec.revdat
revawapl: "", // Awaiting Applicant's Request .didgrp.rec.revawapl
revcum: "", // Credit is Marked as Cumulative .didgrp.rec.revcum
redclsflg: "", // Red/Green Clause .didgrp.rec.redclsflg
rmbcha: "", // Charges Definition .didgrp.rec.rmbcha
rmbact: "", // Reimbursing Bank Account Identification .didgrp.rec.rmbact
apprulrmb: "", // Applicable Rules RMB .didgrp.rec.apprulrmb
autdat: "", // Date of Authorisation to Reimburse .didgrp.rec.autdat
avbby: "", // Available by .didgrp.rec.avbby
shppar: "", // Partial Shipment .didgrp.rec.shppar
shptrs: "", // Transshipment .didgrp.rec.shptrs
conno: "", // 合同编号 .didgrp.rec.conno
concur: "", // 合同币种 .didgrp.rec.concur
shpfro: "", // Shipment from .didgrp.rec.shpfro
shpto: "", // For Transportation to .didgrp.rec.shpto
shppro: "", // 服务提供地点 .didgrp.rec.shppro
tenmaxday: "", // Maximum tenor in days .didgrp.rec.tenmaxday
tratyp: "", // 运输方式 .didgrp.rec.tratyp
fqtime: "", // 分期时镧表 .didgrp.rec.fqtime
sdsrfs: "", // 输入运输方式 .didgrp.rec.sdsrfs
fqzytgfw: "", // 分期装运/提供服务 .didgrp.rec.fqzytgfw
conamt: "", // 合同金额 .didgrp.rec.conamt
tzref: "", // 通知行编号 .didgrp.rec.tzref
avbwth: "", // 指定的有关银行 .didgrp.rec.avbwth
fenctg: "", // 是否可议付 .didgrp.rec.fenctg
bdflg: "", // 是否可保兑 .didgrp.rec.bdflg
lcrtyp: "", // Form of Documentary Credit .didgrp.rec.lcrtyp
}
}
}
import Rec from './Did'
import Cbs from '../Cbs'
import Rol from '../Rol'
import Blk from './Blk'
export default class Didgrp {
constructor() {
this.data = {
rec: new Rec().data,
cbs: {
nom1: new Cbs().data.nom1,
max: new Cbs().data.max,
},
apl: new Rol().data.apl,
ben: new Rol().data.ben,
beb: new Rol().data.beb,
apb: new Rol().data.apb,
blk: new Blk().data,
rmb: new Rol().data.rmb,
adv: new Rol().data.adv,
iss: new Rol().data.iss,
apc: new Rol().data.apc,
avb: new Rol().data.avb,
cmb: new Rol().data.cmb,
}
}
}
\ No newline at end of file
import Rolp from '../Rolp'
export default class Ditp {
constructor() {
this.data = {
recget: {
sdamod: {
seainf: "", // .ditp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .ditp.recget.sdamod.dadsnd
},
},
usr: {
extkey: "", // User ID .ditp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .ditp.usrget.sdamod.seainf
},
},
aplp: new Rolp().data,
benp: new Rolp().data,
zchday: "", // 最迟装运/服务提供日 .ditp.zchday
amt: "", // 大写金额 .ditp.amt
hwfwms: "", // 槧物/服务描述 .ditp.hwfwms
rmbp: new Rolp().data,
rmbnar: "", // MT747 :77A: .ditp.rmbnar
fenzhu: "", // 分期装运 .ditp.fenzhu
hwzydi: "", // 槧运装运地/服务提供低 .ditp.hwzydi
sdysfs: "", // 手输运输方式/服务提供方式 .ditp.sdysfs
signam: "", // name of authorized signatory .ditp.signam
bennam: "", // english name .ditp.bennam
aplname: "", // apl english name .ditp.aplname
remark: "", // Remark .ditp.remark
msgtyp:"",
}
}
}
\ No newline at end of file
import Ditp from './Ditp'
import Didgrp from './Didgrp'
export default class Dids {
constructor() {
this.data = {
Didgrp: new Didgrp().data,
Ditp: new Ditp().data
}
}
}
\ No newline at end of file
export default class Blk {
constructor() {
this.data = {
avbwthtxt: "", // Available in .ledgrp.blk.avbwthtxt
defdet: "", // Deferred Payment Details .ledgrp.blk.defdet
dftat: "", // Drafts at .ledgrp.blk.dftat
shpper: "", // Shipment Period .ledgrp.blk.shpper
mixdet: "", // Mixed Payment Details .ledgrp.blk.mixdet
preper: "", // Presentation Period .ledgrp.blk.preper
feetxt: "", // Additional Details to Code for Charges CHATO .ledgrp.blk.feetxt
lcrgod: "", // Description of Goods .ledgrp.blk.lcrgod
lcrdoc: "", // Documents Required .ledgrp.blk.lcrdoc
adlcnd: "", // Additional Conditions .ledgrp.blk.adlcnd
insbnk: "", // Instructions to Pay., .ledgrp.blk.insbnk
revcls: "", // Revolving Clause .ledgrp.blk.revcls
revnotes: "", // Notes to Beneficiary .ledgrp.blk.revnotes
addamtcov: "", // Covered .ledgrp.blk.addamtcov
spcben: "", // Special Payment Cond. .ledgrp.blk.spcben
spcrcb: "", // Special Payment Cond. .ledgrp.blk.spcrcb
}
}
}
export default class Rec {
constructor() {
this.data = {
ownref: "", // Reference .ledgrp.rec.ownref
nam: "", // Name .ledgrp.rec.nam
lcrtyp: "", // Form of L/C .ledgrp.rec.lcrtyp
collflg: "", // Collateralized L/C .ledgrp.rec.collflg
nomtop: "", // Amount Tolerance +/- .ledgrp.rec.nomtop
nomton: "", // Amount Tolerance - Negative .ledgrp.rec.nomton
nomspc: "", // Amount Specification .ledgrp.rec.nomspc
inctrf: "", // Incoming Transfer .ledgrp.rec.inctrf
resflg: "", // Reserved Contract .ledgrp.rec.resflg
opndat: "", // Issued on .ledgrp.rec.opndat
preadvdt: "", // Date Pre-advised .ledgrp.rec.preadvdt
shpdat: "", // Shipment Date .ledgrp.rec.shpdat
advdat: "", // Released on .ledgrp.rec.advdat
expdat: "", // Expiring on .ledgrp.rec.expdat
expplc: "", // in (Place)/ counters of .ledgrp.rec.expplc
cnfdet: "", // Confirmation Instruct. .ledgrp.rec.cnfdet
apprul: "", // Applicable Rules .ledgrp.rec.apprul
apprultxt: "", // Other Applicable Rules .ledgrp.rec.apprultxt
shppar: "", // Partial Shipment .ledgrp.rec.shppar
shptrs: "", // Transshipment .ledgrp.rec.shptrs
revflg: "", // Revolving Flag .ledgrp.rec.revflg
nonban: "", // Non-Bank Issuer .ledgrp.rec.nonban
teskeyunc: "", // Test Key Unconfirmity .ledgrp.rec.teskeyunc
dbtflg: "", // Authorization to Debit .ledgrp.rec.dbtflg
oppbnk: "", // 境内外对手行代码 .ledgrp.rec.oppbnk
shppars18: "", // Partial Shipment .ledgrp.rec.shppars18
shptrss18: "", // Transshipment .ledgrp.rec.shptrss18
avbwth: "", // Available with .ledgrp.rec.avbwth
avbby: "", // Available by .ledgrp.rec.avbby
shpfro: "", // Dispatch from .ledgrp.rec.shpfro
porloa: "", // Air-/Port of Departure .ledgrp.rec.porloa
pordis: "", // Air-/Port of Destination .ledgrp.rec.pordis
shpto: "", // Final Destination .ledgrp.rec.shpto
chato: "", // Own Charges Borne by .ledgrp.rec.chato
stacty: "", // Country Code for Statistics .ledgrp.rec.stacty
tenmaxday: "", // Maximum Tenor .ledgrp.rec.tenmaxday
prepers18: "", // Days of presentation period .ledgrp.rec.prepers18
prepertxts18: "", // Presentation period text .ledgrp.rec.prepertxts18
cnfins: "", // Confirm. Instruct. .ledgrp.rec.cnfins
aplbnkdirsnd: "", // Send Directly to Applicant's Bank .ledgrp.rec.aplbnkdirsnd
stagod: "", // Goods Code .ledgrp.rec.stagod
redclsflg: "", // Red/Green Clause .ledgrp.rec.redclsflg
spcbenflg: "", // Special payment conditions for beneficiary exists .ledgrp.rec.spcbenflg
spcrcbflg: "", // Special payment conditions for receiving bank exists .ledgrp.rec.spcrcbflg
revtyp: "", // Revolving Type .ledgrp.rec.revtyp
revcum: "", // Credit is Marked as Cumulative .ledgrp.rec.revcum
revtimes: "", // Revolve Times .ledgrp.rec.revtimes
revnbr: "", // Revolving Count .ledgrp.rec.revnbr
revdat: "", // Next Revolve Date .ledgrp.rec.revdat
}
}
}
\ No newline at end of file
import Rec from './Led'
import Cbs from '../Cbs'
import Rol from '../Rol'
import Blk from './Blk'
export default class Ledgrp {
constructor() {
this.data = {
rec: new Rec().data,
cbs: new Cbs().data,
preadvflg: "", // PreAdvice or Notification .ledgrp.preadvflg
ben: new Rol().data.ben,
iss: new Rol().data.iss,
apl: new Rol().data.apl,
avb: new Rol().data.avb,
blk: new Blk().data,
drw: new Rol().data.drw,
adv: new Rol().data.adv,
a2b: new Rol().data.a2b,
apb: new Rol().data.apb,
rmb: new Rol().data.rmb,
con: new Rol().data.con,
}
}
}
import Rolp from '../Rolp'
export default class Letp {
constructor() {
this.data = {
recget: {
sdamod: {
seainf: "", // .letp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .letp.recget.sdamod.dadsnd
},
},
ptsaddp: {
ptsaddg: [], // .letp.ptsaddp.ptsaddg
},
usr: {
extkey: "", // Responsible User .letp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .letp.usrget.sdamod.seainf
},
},
aamp: {
aammod: {
addamtflg: "", // Add. Amount .letp.aamp.aammod.addamtflg
},
},
benp: new Rolp().data,
issp: new Rolp().data,
aplp: new Rolp().data,
oppbnkl: "", // 对手行代码 .letp.oppbnkl
avbp: new Rolp().data,
drwp: new Rolp().data,
labdefdet: "", // DEFDAT LAbel .letp.labdefdet
advp: new Rolp().data,
a2bp: new Rolp().data,
apbp: new Rolp().data,
rmbp: new Rolp().data,
conp: new Rolp().data,
}
}
}
\ No newline at end of file
export default {
Led: {
"ledgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"ledgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"ledgrp.rec.nomtop": [
{ type: "string", required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" }
],
"ledgrp.rec.nomton": [
{ type: "string", required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" }
],
"ledgrp.rec.opndat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.preadvdt": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.shpdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.advdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.expdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.expplc": [
{ type: "string", required: false, message: "必输项" },
{ max: 29, message: "长度不能超过29" }
],
"ledgrp.rec.oppbnk": [
{ type: "string", required: false, message: "必输项" },
{ max: 12, message: "长度不能超过12" }
],
"ledgrp.rec.apprultxt": [
{ type: "string", required: false, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.rec.prepers18": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"ledgrp.rec.prepertxts18": [
{ type: "string", required: false, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.rec.shpfro": [
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.tenmaxday": [
{ type: "string", required: false, message: "必输项" },
{ max: 4, message: "长度不能超过4" }
],
"ledgrp.rec.porloa": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.pordis": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.shpto": [
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.revtimes": [
{ type: "string", required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" }
],
"ledgrp.rec.revnbr": [
{ type: "string", required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" }
],
"ledgrp.rec.revdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
},
blk: {
"ledgrp.blk.mixdet": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.avbwthtxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.preper": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.defdet": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.feetxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.dftat": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.shpper": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.blk.lcrgod": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.lcrdoc": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.adlcnd": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.insbnk": [
{ type: "string", required: true, message: "必输项" },
{ max: 2000, message: "长度不能超过2000" }
],
"ledgrp.blk.revcls": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.blk.revnotes": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.addamtcov": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.spcben": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.spcrcb": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
},
}
\ No newline at end of file
import Letp from './Letp'
import Ledgrp from './Ledgrp'
export default class Leds {
constructor() {
this.data = {
Ledgrp: new Ledgrp().data,
Letp: new Letp().data
}
}
}
\ No newline at end of file
import Pts from "../Pts"
export default class Liaall {
constructor() {
this.data = {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "",
liaallg: [], // Total booking amount external assinged .liaall.exttotamt
limmod: {
limgrd: [],
lmegrd: [],
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 国结业务编号 .liaall.limmod.ownref
comamt: "", // 业务余额 .liaall.limmod.comamt
ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
liaccv: {
newamt: "", // 合同金额 .liaall.liaccv.newamt
concur: "", // 应付保证金金额 .liaall.liaccv.concur
totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt
newresamt: "", // Reserved Amount .liaall.liaccv.newresamt
addinf: "", // Additional Information .liaall.liaccv.addinf
cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: "", // Create gle flag .liaall.liaccv.gleflg
chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [],
},
}
}
}
\ No newline at end of file
export default class Mtabut {
constructor() {
this.data = {
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
},
},
clsflg: "",
}
}
}
\ No newline at end of file
export default class Pts {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
rol: '',
ptainr: '',
ptyinr: '',
extkey: '',
adrblk: '',
ref: '',
nam: '',
ownref: '',
dftcur: '',
dftdsp: '',
dftact: '',
dftfeecur: '',
dftactptainr: '',
glggrpflg: '',
extact: '',
ver: '',
issbaninf: '',
bankno: '',
jigomc: '', //联行名称 电证用
dizhii: '', //地址 电证用
youzbm: '', //邮编 电证用
dihdig: '', //电话 电证用
//pts表所需内容
// ptyNo: '', //当事人编号
// ptyAddrInfoNo: '', //当事人地址信息编号
// ptyNameAddrInfo: '', //当事人名称地址信息(界面回显修改/修改后的值)
// accNo: '', //账号
// ptyCnName: '', //当事人中文名称
// ptyEnName: '', //当事人英文名称
// ptyCnAddr: '', //当事人中文地址
// ptyEnAddr: '', //当事人英文地址
// hvPaybankNo:'', // 大额支付行号
// paySysBankNm:'',// 大额支付行名(中文)
// addr:'', // 大额支付银行地址
// postCd:'', // 大额支付银行邮编
// tel:'', // 大额支付银行电话
// certificateNo:'',// 统一社会信用代码
// orgInstCode:'', // 组织机构代码
// ptyRelateRefNo:"",//参考号
// //其它(暂定)
// pubprvtFlagCd: '', //公私标识代码
// belongInstNo: '', //所属机构号
// withPsbcRelCd: '', //与我行关系代码
// blstCustFlag: '', //是否黑名单客户标志
// establshTestKeyFlag: '', //是否建立密押标志
// partInoutCrClrFlag: '', //是否参与境内外币清算标志
// swiftNo: '', //SWIFT编号
// countryRegionCode: '' ,//国家地区代码
// accnoTypeCode: '',//账号类型代码
// outAccno: '',//外部账号
// accNoName: '', //账号名称
// accNoDesc: '',//账号描述
// accBankAccnoTypeCode: '', //账户行账号类型代码
// currCode: '',//币种代码
// belongPtyNo: '', //所属当事人编号
// belongInstName: '',//所属机构名称
// belongInstAddr: '', //所属机构地址
// validFlag: '', //是否有效标志
}
}
}
\ No newline at end of file
import Pts from './Pts'
export default class Rec {
constructor() {
this.data = {
apl: {
pts: new Pts().data,
namelc: "", // 名称 .didgrp.apl.namelc
adrelc: "", // 地址 .didgrp.apl.adrelc
dbfadrblkcn: "", // Chinese address .didgrp.apl.dbfadrblkcn
rolsetflg: "", // 备查表相关字段
},
ben: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.ben.namelc
adrelc: "", // 地址 .ledgrp.ben.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.ben.dbfadrblkcn
},
iss: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.iss.namelc
adrelc: "", // 地址 .ledgrp.iss.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.iss.dbfadrblkcn
},
beb: {
pts: new Pts().data,
},
avb: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.avb.namelc
adrelc: "", // 地址 .ledgrp.avb.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.avb.dbfadrblkcn
},
drw: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.drw.namelc
adrelc: "", // 地址 .ledgrp.drw.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.drw.dbfadrblkcn
},
adv: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.adv.namelc
adrelc: "", // 地址 .ledgrp.adv.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.adv.dbfadrblkcn
},
a2b: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.a2b.namelc
adrelc: "", // 地址 .ledgrp.a2b.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.a2b.dbfadrblkcn
},
apb: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.apb.namelc
adrelc: "", // 地址 .ledgrp.apb.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.apb.dbfadrblkcn
},
rmb: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.rmb.namelc
adrelc: "", // 地址 .ledgrp.rmb.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.rmb.dbfadrblkcn
},
con: {
pts: new Pts().data,
},
apc: {
pts: new Pts().data,
},
cmb: {
pts: new Pts().data,
},
}
}
}
\ No newline at end of file
export default class Rolp {
constructor() {
this.data = {
ptsget: {
sdamod: {
seainf: "", // .letp.aplp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .letp.aplp.ptsget.sdamod.dadsnd
},
},
}
}
}
\ No newline at end of file
export default class Setmod {
constructor() {
this.data = {
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
dspflg: "", // Type of settlement .setmod.dspflg
xreflg: "", // Recalculate Rates .setmod.xreflg
setglg: {
labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll: []
},
zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
glemod: {
gleshwstm: {}
},
setamt:"", // 扣费后付款金额 .setmod.setamt
redamt:"", // 扣减金额 .setmod.redamt
}
}
}
\ No newline at end of file
export default class Trnmod {
constructor() {
this.data = {
swiadd: {
amedat: "", // Amendment Date .trnmod.swiadd.amedat
amenbr: "", // Amend. No Received .trnmod.swiadd.amenbr
amecur: "", // Amended .trnmod.swiadd.amecur
ameamt: "", // Amended .trnmod.swiadd.ameamt
newcur: "", // New Data .trnmod.swiadd.newcur
newamt: "", // New Data .trnmod.swiadd.newamt
newnomtop: "", // New positive tolerance .trnmod.swiadd.newnomtop
newnomton: "", // New negative tolerance .trnmod.swiadd.newnomton
nomspc: "", // Amount Specification .trnmod.swiadd.nomspc
newexpdat: "", // New Expiry Date .trnmod.swiadd.newexpdat
newshpdat: "", // New Shipment Date .trnmod.swiadd.newshpdat
shpper: "", // Shipment Period .trnmod.swiadd.shpper
shpfro: "", // Dispatch from .trnmod.swiadd.shpfro
porloa: "", // Air-/Port of Loading .trnmod.swiadd.porloa
pordis: "", // Air-/Port of Discharge .trnmod.swiadd.pordis
shpto: "", // Final Destination .trnmod.swiadd.shpto
addamtcov: "", // Amounts Covered .trnmod.swiadd.addamtcov
addamt: "", // Amounts Covered .trnmod.swiadd.addamt
insbnk: "", // Instruction to P/A/N Bank amendment .trnmod.swiadd.insbnk
nartxt:"",
newnomtopame:"",
newnomtoname:"",
},
trndoc: {
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
advdoc: "", // 国内证通知书 .trnmod.trndoc.advdoc
advnam: "", // 国内证落款 .trnmod.trndoc.advnam
amdapl: "", // 修改申请人名称 .trnmod.trndoc.amdapl
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
doceot: [],
},
swiadd:{
strinf:"", // Narrative of Maturity .trnmod.swiadd.strinf
},
}
}
}
import Trnmod from "./Trnmod";
import Mtabut from './Mtabut'
import Setmod from './Setmod'
import Liaall from './Liaall'
export default class Publics {
constructor() {
this.data = {
Trnmod: new Trnmod().data,
Mtabut: new Mtabut().data,
Setmod: new Setmod().data,
Liaall: new Liaall().data,
}
}
}
\ No newline at end of file
......@@ -2,6 +2,5 @@
* 带有name的才会被添加进顶部的标签页里
*/
const BusRouter = [
// { path: 'ditopn', component: Ditopn, name: 'Ditopn', meta: { title: '买方信用证开立' } },
]
export default BusRouter
......@@ -75,6 +75,7 @@
v-for="(item, idx) in languageOptions"
:key="idx"
@click="handleLang(item.lang)"
:class="{'active': item.lang === lang}"
>
{{ item.fullName }}
</li>
......@@ -146,6 +147,7 @@ export default {
languageOptions: [
{ lang: "zh", shortName: "中文", fullName: "中文" },
{ lang: "en", shortName: "En", fullName: "English" },
{ lang: "fr", shortName: "FR", fullName: "French" },
],
};
},
......@@ -287,6 +289,9 @@ export default {
.header-tool-item-list li:hover {
background: rgba(144, 146, 152, 0.3);
}
.header-tool-item-list li.active {
background: rgba(144, 146, 152, 0.3);
}
.logoutdialog .el-dialog .el-dialog__header {
padding: 10px 20px 0px;
}
......
......@@ -34,13 +34,13 @@
class="contextmenu"
>
<li @click="refreshSelectedTag(selectedTag)">
{{ $t("tagsView.refresh") }}
{{ $t("custom.tagsView.refresh") }}
</li>
<li v-if="!isAffix(selectedTag)" @click="closeSelectedTag(selectedTag)">
{{ $t("tagsView.close") }}
{{ $t("custom.tagsView.close") }}
</li>
<li @click="closeOthersTags">{{ $t("tagsView.closeOthers") }}</li>
<li @click="closeAllTags(selectedTag)">{{ $t("tagsView.closeAll") }}</li>
<li @click="closeOthersTags">{{ $t("custom.tagsView.closeOthers") }}</li>
<li @click="closeAllTags(selectedTag)">{{ $t("custom.tagsView.closeAll") }}</li>
</ul>
</div>
</template>
......
......@@ -6,15 +6,15 @@
<p style="text-align:left;font-size:1.2em;color:#888">用户登录 / LOGIN IN</p>
<el-form :model="loginForm" status-icon :rules="rules" ref="loginForm" size="small" >
<el-form-item prop="username" >
<el-input prefix-icon="el-icon-user" :placeholder="$t('login.namePlaceholder')" v-model="loginForm.username"></el-input>
<el-input prefix-icon="el-icon-user" :placeholder="$t('custom.login.namePlaceholder')" v-model="loginForm.username"></el-input>
</el-form-item>
<el-form-item prop="password" >
<el-input prefix-icon="el-icon-lock" :placeholder="$t('login.pwdPlaceholder')" type="password" v-model="loginForm.password" autocomplete="off"></el-input>
<el-input prefix-icon="el-icon-lock" :placeholder="$t('custom.login.pwdPlaceholder')" type="password" v-model="loginForm.password" autocomplete="off"></el-input>
</el-form-item>
<el-form-item>
<el-button style="width:100%;margin-top:1em;margin:0 0" type="primary" @click="submitForm('loginForm')">{{$t('login.loginBtn')}}</el-button>
<el-button style="width:100%;margin-top:1em;margin:0 0" type="primary" @click="submitForm('loginForm')">{{$t('custom.login.loginBtn')}}</el-button>
</el-form-item>
</el-form>
</div>
......
<template>
<div class="eibs-tab">
<c-col :span="span">
<c-col :span="15">
<el-form-item :label="message.title" :prop="message.cur">
<c-select
v-model="cur"
maxlength="3"
:code="code"
@change="curChange"
placeholder="请选择币种"
></c-select>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item
label=""
label-width="220px"
style="margin-left: -220px !important"
:prop="message.amt"
>
<c-input
v-model="amt"
@change="amtChanged"
@input="amtInput"
:placeholder="'请输入' + message.title"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import _ from "~/utils/Lodash.js";
export default {
inject: ["root"],
mixins: [commonProcess],
//props: ["model", "message","span"],
props: {
model: {
type: Object,
default: undefined,
},
message: {
type: Object,
default: function () {
return {
title: "金额", //金额名称
cur: "cur", //币种字段路劲
amt: "amt", //金额字段路劲
fix: 3, //小数点位数
};
},
},
span: {
type: Number,
default: 12, //宽度,默认12
},
},
data() {
return {
code: [...CodeTable.cur],
amt: this.amtGet(),
cur: this.curGet(),
};
},
methods: {
//金额格式化,默认保留三位小数
amtChanged(newamt) {
if (newamt === "" || newamt === undefined || newamt === null) {
_.set(this.model, this.message.amt, "");
this.amt = "";
return;
}
newamt = newamt.replace(/^0+\./, "0.");
if (newamt === "" || newamt === undefined || newamt === null) {
_.set(this.model, this.message.amt, "");
this.amt = "";
return;
}
newamt = newamt.replace(/^0+([0-9])/, "$1");
let fix = this.message.fix || 3;
let idx = newamt.indexOf(".");
let segs = undefined;
if (idx > -1) segs = newamt.split(".");
else segs = [newamt || "0", "0".repeat(fix)];
if (!segs[0]) segs[0] = "0";
if (segs[1].length > fix) segs[1] = segs[1].substring(0, fix);
else if (segs[1].length < fix)
segs[1] = segs[1] + "0".repeat(fix - segs[1].length);
let npreseg = "";
segs[0] = segs[0].replace(/\D+/g, "");
let preseg = segs[0];
for (let i = 0; i < preseg.length; i++) {
npreseg = preseg.charAt(preseg.length - 1 - i) + npreseg;
if (i && (1 + i) % 3 == 0 && i != preseg.length - 1)
npreseg = "," + npreseg;
}
let amt = `${segs[0] ? segs[0] : 0}.${segs[1]}`;
_.set(this.model, this.message.amt, amt);
this.amt = `${segs[0] ? npreseg : 0}.${segs[1]}`;
},
//禁止输入非数字
amtInput(newamt) {
let am = newamt.replace(/[^\d.]/g, "");
_.set(this.model, this.message.amt, am);
this.amt = am;
},
amtGet() {
return _.get(this.model, this.message.amt, "");
},
//cur改变
curChange() {
_.set(this.model, this.message.cur, this.cur);
},
curGet() {
return _.get(this.model, this.message.cur, "");
},
},
computed: {},
watch: {},
// methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div>
<!-- Description of Goods -->
<c-col :span="19">
<el-form-item :label="blkMsg.title" :prop="blkMsg.dataUrl">
<c-input
type="textarea"
:rows="blkMsg.rows ? blkMsg.rows : 20"
v-model="blkTextarea"
:maxlength="blkMsg.maxlength ? blkMsg.maxlength : 52000"
show-word-limit
:placeholder="`请输入${blkMsg.title}`"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" class="BlkTextarea_button">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="
showGridPromptDialog(rulePath, columns, shadow, modelUrl, isCover,'doxpDialog')
"
>
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import _ from "~/utils/Lodash.js";
/**
*
* @param {String} rulePath 请求路径
* @param {String} columns 自定义需要展示列
* @param {String} shadow 自定义列后需要保留的影藏字段
* @param {String} modelUrl 非机构双击后需要回填的字段路劲,k:对应列,value:应用model路劲,如{TXT:'ledgrp.blk.lcrgod'}
* @param {String} isCover 非机构双击后需要回填的字段值是覆盖还是叠加,部分覆盖值为对象,false为叠加,如{TXT:false},k值为modelUrl的k,如全部覆盖则isCover='T',如全部叠加则isCover='',默认全部覆盖
*/
export default {
inject: ["root"],
props: {
model: {
type: Object,
default: undefined,
},
blkMsg: {
//大字段信息
type: Object,
default: function () {
return {
title: "",
dataUrl: "", //字段所在model路劲
rows: 20,
maxlength: 2000,
};
},
},
rulePath: {
type: String,
default: "",
},
columns: {
type: String,
default:
'1 2 "EXTKEY" 410 50\r\n2 1 "NAM" 410 50\r\nTXT\r\nUIL\r\n5 3 "VER" 410 50\r\nETGEXTKEY\r\nP COLORED TRUE\r\nP VERTLINES TRUE\r\nP HORZLINES TRUE\r\nP MULTISELECT FALSE\r\nP COLUMNSIZING TRUE',
},
shadow: {
type: Object,
default: () => {
return { TXT: 3 };
},
},
modelUrl: {
type: Object,
default: function () {
let obj = { TXT: this.blkMsg.dataUrl };
return obj;
},
},
isCover: {
type: Object,
default: undefined,
},
},
mixins: [commonProcess],
data() {
return {
blkTextarea: _.get(this.model, this.blkMsg.dataUrl, ""),
};
},
watch: {
getBlk: {
handler(val, oldVal) {
this.blkTextarea = _.get(this.model, this.blkMsg.dataUrl, "");
// console.log("blkTextarea is:", this.blkTextarea);
},
immediate: false,
},
blkTextarea: {
handler(val, oldVal) {
_.set(this.model, this.blkMsg.dataUrl, val);
// console.log("blkTextarea is 2:", this.blkTextarea);
},
immediate: false,
},
},
computed: {
getBlk() {
return _.get(this.model, this.blkMsg.dataUrl, "");
},
},
created: function () {},
};
</script>
<style>
.BlkTextarea_button {
margin: 20px 0 0 0px;
}
</style>
<template>
<c-row>
<c-col :span="24">
<c-col :span="15">
<el-form-item
style="height=200px;"
label="General"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<i-stream-input
type="textarea"
rows="6"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入Infotext"
@change="valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
:model="model.mtabut.coninf.oitinf.oit.inftxt"
></i-stream-input>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitinf.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev"
:disabled="model.mtabut.coninf.oitinf.oit.inftxt ? false : true"
placeholder="请选择Infotext Level"
style="width: 100%"
:code="inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="15">
<el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
<i-stream-input
type="textarea"
rows="6"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入Infotext"
@change="valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
:model="model.mtabut.coninf.oitset.oit.inftxt"
></i-stream-input>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
:disabled="model.mtabut.coninf.oitset.oit.inftxt ? false : true"
placeholder="请选择Infotext Level"
style="width: 100%"
:code="inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="15">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 100%"
placeholder="请选择执行日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey">
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
disabled="disabled"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</template>
<script>
// 附言页签,勿改
import _ from "~/utils/Lodash.js";
import commonProcess from "~/mixin/commonProcess";
import IStreamInput from '~/components/IStreamInput'
export default {
components: {IStreamInput},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
inflev: [
{ label: "Show", value: "$" },
{ label: "Do not show", value: "!" },
{ label: "Warn", value: "0" },
], //码表
};
},
methods: {
valueChange(event, type) {
if (!event) {
_.set(this.model, type, "");
}
},
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24" style="height: 24px">
<el-form-item label="Outgoing Messages" class="messageLabel"></el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-istream-table-docpan
:border="true"
:list="data1"
style="width:100%,text-align:center"
>
<el-table-column label="Type" width="auto">
<template slot-scope="scope">
<span>{{ getType(scope.row.index) }}</span>
</template>
</el-table-column>
<el-table-column label="Document" width="auto">
<template slot-scope="scope">
<span>{{ model.trnmod.trndoc.doceot[scope.row.index].pandsc }}</span>
</template>
</el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="Date" width="auto">
<template>
<span>{{ getNow() }}</span>
</template>
</el-table-column>
</c-istream-table-docpan>
</c-col>
<c-col :span="24" style="height: 24px;margin-top: 20px;">
<el-form-item label="Previous Messages" class="messageLabel"></el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-table
:border="true"
:list="data2"
style="width:100%,text-align:center"
>
<el-table-column label="Type" width="auto"></el-table-column>
<el-table-column label="Document" width="auto"></el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="Date" width="auto"></el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="24">
<el-form-item
style="text-align: left;"
class="formItemLabel"
label="Outgoing Correspondence,Attachments and other Documents"
label-width="100%"
>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<div style="height: 300px; width: 100%; border: 1px #ebeef5 solid">
<el-tree
ref="menuTree"
:data="data"
:props="defaultProps"
@node-click="handleNodeClick"
></el-tree>
</div>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-col :span="4">
<el-form-item
label="Connected Ducuments"
v-show="isShow1 || isShow2"
></el-form-item>
<el-form-item
label=""
v-show="!(isShow1 || isShow2)"
></el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="">
<c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="8" :offset="2">
<el-form-item label="">
<c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="6" :offset="1">
<c-col :span="24">
<c-button size="small" type="primary" @click="onTrndocButshw">
Show
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" type="primary" @click="onTrndocButadd">
详情
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 40px">
<c-button size="small" type="primary" @click="onTrndocButnew">
Add New
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" type="primary"
:disabled="atoDisabled"
@click="onTrndocButattto"
>
Attach to
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" type="primary" @click="onTrndocButdel"
:disabled="delDisabled"
>
Delete
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 80px">
<c-button size="small" type="primary" @click="onTrndocButatt"
:disabled="aDisabled"
>
Attach
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 150px">
<c-button size="small" type="primary" @click="onTrndocButatt">
i
</c-button>
</c-col>
</c-col>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import moment from 'moment'
export default {
inject: ['root'],
mixins: [commonProcess],
props:["model","codes"],
data(){
return {
data1: [],
data2: [],
isShow1: false,
isShow2: false,
aDisabled : true,
atoDisabled : true,
delDisabled : true,
data: [
{
label: "CHINA EVERBRIGHT BANK",
children: [{ label: "'企业当前管理信息'via" }],
},
{
label: "Internal",
children: [{ label: "'收账通知'via" }],
},
],
}
},
methods:{
getType(idx) {
for (let i = 0; i < this.codes.doceotCortyp.length; i++) {
const c = this.codes.doceotCortyp[i];
if (this.model.trnmod.trndoc.doceot[idx].cortyp === c.value) {
return c.label;
}
}
return "";
},
getNow() {
return moment().format('yyyy-MM-DD')
},
handleNodeClick(data) {
if(!data.children){ //如果没有叶子节点 ,按钮置灰
this.atoDisabled = false;
this.delDisabled = false;
}else{
this.atoDisabled = true;
this.delDisabled = true;
}
},
defaultProps(){},
async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
watch: {
"model.trnmod.trndoc.doceot": {
handler(val, oldVal) {
var arr = [];
let k = 0;
for (let i = 0; i < val.length; i++) {
if (val[i].role != "") {
arr[k++] = val[i];
}
}
this.data1 = arr
},
immediate: true
}
},
created:function(){
}
}
</script>
<style>
.formItemLabel >>> .el-form-item__label{
text-align: left;
}
</style>
<template>
<c-row>
<c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea>
<br />
<c-col v-if="dtyp === 'dogp'" :span="12">
<el-form-item label="Goods code" :prop="`${rec}grp.rec.stagod`">
<c-select
v-model="model[`${rec}grp`].rec.stagod"
style="width: 100%"
placeholder="请选择Goods code"
:code="codes.godcod"
>
</c-select>
</el-form-item>
</c-col>
<template v-else-if="dtyp === 'adcp'">
<c-col :span="20" class="letopn_adcp_cheak">
<c-checkbox v-model="model[`${rec}grp`].rec.spcbenflg"
>Special payment conditions for beneficiary</c-checkbox
>
</c-col>
<c-col :span="20" class="letopn_adcp_cheak">
<c-checkbox v-model="model[`${rec}grp`].rec.spcrcbflg">
Special payment conditions for receiving bank</c-checkbox
>
</c-col>
<c-col :span="20" class="letopn_adcp_cheak">
<c-checkbox v-model="model[`${rec}grp`].rec.redclsflg"
>Red/Green Clause</c-checkbox
>
</c-col>
<c-blkTextarea :model="model" v-bind="blk1"> </c-blkTextarea>
</template>
</c-row>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import BlkTextarea from "./BlkTextarea";
export default {
inject: ["root"],
// dtyp=>dogp:货物描述;dorp:单据要求;adcp:附加条款;spcbenp:受益人特殊付款条款;spcrcvp:收款银行特殊付款条款
props: ["model", "codes", "dtyp", "rec"],
components: { "c-blkTextarea": BlkTextarea },
mixins: [commonProcess],
data() {
return {
blk: this.getBlk(this.dtyp, this.rec),
blk1: {
blkMsg: {
title: "Instructions to Pay.,Accept.,Negot.bank",
dataUrl: `${this.rec}grp.blk.insbnk`, //字段所在model路劲
rows: 6,
maxlength: 2000,
},
rulePath: `${this.rec.slice(0, 2)}tp.insbnk.buttxmsel`,
},
};
},
methods: {
getBlk(dtyp, rec) {
let blk = { blkMsg: {}, rulePath: "" };
let tp = rec.slice(0, 2);
console.log('tp is :',tp);
switch (dtyp) {
case "dogp":
blk.blkMsg = {
title: "Description of Goods",
dataUrl: `${rec}grp.blk.lcrgod`, //字段所在model路劲
rows: 20,
};
blk.rulePath = `${tp}tp.lcrgod.buttxmsel`;
break;
case "dorp":
blk.blkMsg = {
title: "Documents Required",
dataUrl: `${rec}grp.blk.lcrdoc`, //字段所在model路劲
rows: 20,
};
blk.rulePath = `${tp}tp.lcrdoc.buttxmsel`;
break;
case "adcp":
blk.blkMsg = {
title: "Additional Conditions",
dataUrl: `${rec}grp.blk.adlcnd`, //字段所在model路劲
rows: 14,
};
blk.rulePath = `${tp}tp.adlcnd.buttxmsel`;
break;
case "spcbenp":
blk.blkMsg = {
title: "Special payment conditions for beneficiary",
dataUrl: `${rec}grp.blk.spcben`, //字段所在model路劲
rows: 20,
};
blk.rulePath = `${tp}tp.spcben.buttxmsel`;
break;
case "spcrcvp":
blk.blkMsg = {
title: "Special payment conditions for receiving bank",
dataUrl: `${rec}grp.blk.spcrcb`, //字段所在model路劲
rows: 20,
};
blk.rulePath = `${tp}tp.spcrcb.buttxmsel`;
break;
}
return blk;
},
},
computed: {},
created: function () {},
};
</script>
<style>
.letopn_adcp_cheak {
margin: 0px 0 10px 150px;
}
</style>
<template>
<c-row>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24" class="doxpame_top_Description">
<span>{{ getTitle }}</span>
</c-col>
<c-col>
<el-form-item
label=""
label-width="0px"
:prop="`${recgrp}.blk.${ametyp}`"
>
<c-input
type="textarea"
v-model="model[recgrp].blk[ametyp]"
maxlength="52000"
show-word-limit
:rows="20"
placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24" class="doxpame_top_Description">
<span>History Overview</span>
</c-col>
<c-col :span="24">
<el-form-item
label=""
label-width="0px"
:prop="`${recgrp}.blk.${ametyp}ame`"
>
<c-input
type="textarea"
v-model="model[recgrp].blk[`${ametyp}ame`]"
maxlength="52000"
show-word-limit
:rows="ametyp === 'adlcnd' ? 14 : 17"
placeholder="请输入Description of Goods History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="ametyp === 'adlcnd'">
<c-col :span="8">
<c-checkbox v-model="model[recgrp].rec.redclsflg"
>Red/Green Clause</c-checkbox
>
</c-col>
<c-col :span="16">
<c-checkbox v-model="model[recgrp].rec.spcbenflg"
>Special payment conditions for beneficiary exists</c-checkbox
>
</c-col>
<c-col :span="16" :offset="8">
<c-checkbox v-model="model[recgrp].rec.spcrcbflg"
>Special Payment Conditions for specified Bank only</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model[amep][`${ametyp}amep`].modflg"
>Modify Text to Replace</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model[amep][`${ametyp}amep`].modmanflg"
>Modify field for manual update</c-checkbox
>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24" class="doxpame_top_Description">
<span>Add/Delete Text in current Amendment</span>
</c-col>
<c-col :span="24">
<el-form-item
label=""
label-width="0px"
:prop="`${amep}.${ametyp}amep.usrblk`"
>
<c-input
type="textarea"
v-model="model[amep][`${ametyp}amep`].usrblk"
maxlength="2000"
show-word-limit
:rows="8"
placeholder="请输入Block to enter additional info for Add/Delete"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1" class="ame_button">
<c-col :span="24" class="ame_BlkTextarea_button">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('letamep.lcrgodame.buttxmsel')"
>
...
</c-button>
</c-col>
<c-col :span="24">
<c-button size="small" type="primary" @click="onLcrgodamepButdif">
Show Diff
</c-button>
</c-col>
<c-col :span="24">
<c-button size="small" type="primary" @click="onLcrgodamepButadd">
Add Text
</c-button>
</c-col>
<c-col :span="24">
<c-button
size="small"
icon="el-icon-delete"
@click="onLcrgodamepButdel"
>
Delete text
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
export default {
inject: ["root"],
props: {
model: {
type: Object,
default: undefined,
},
codes: {
type: Object,
default: undefined,
},
recgrp: {
type: String,
default: "",
},
//修改字段:如货物lcrgod
ametyp: {
type: String,
default: "",
},
},
mixins: [commonProcess],
data() {
return {
amep: `${this.recgrp.substring(0, 2)}tamep`,
};
},
methods: {
onLcrgodamepButadd() {},
onLcrgodamepButdif() {},
onLcrgodamepButdel() {},
},
computed: {
getTitle() {
switch (this.ametyp) {
case "lcrgod":
return "DESCRIPTION OF GOODS";
case "lcrdoc":
return "ADDITIONAL CONDITIONS";
case "adlcnd":
return "DOCUMENTS REQUIRED";
case "spcben":
return "Special Payment Conditions for Beneficiary";
case "spcrcb":
return "Special Payment Conditions for Bank Only";
default:
return "title 错误";
}
},
},
created: function () {},
};
</script>
<style>
.doxpame_top_Description {
height: 16px;
color: #606266;
line-height: 16px;
font-size: 12px;
}
.ame_BlkTextarea_button {
margin-top: 20px;
}
.ame_button button {
margin-bottom: 10px;
}
.ame_button button:nth-last-child(1) {
margin-left: 10px;
}
</style>
<template>
<div class="eibs-tab">
<!-- <c-col :span="24" style="margin-bottom:18px">
Liability
</c-col> -->
<c-col :span="24" style="">
<c-table :list="model.liaall.liaallg" style="width:80%,text-align:center,margin-bottom:18px" :border="true">
<el-table-column prop="bussec" label="BS" width="40px"> </el-table-column>
<el-table-column prop="cbtpfx" label="Type" width="60px"> </el-table-column>
<el-table-column prop="matdat" label="Maturity" width="100px"> </el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px"> </el-table-column>
<el-table-column prop="rol" label="Dbt." width="70px"> </el-table-column>
<!--
<el-table-column prop="nam" label="Name" width="300"> </el-table-column>
-->
<el-table-column prop="cdtrol" label="Cdt." width="70px"> </el-table-column>
<el-table-column prop="cur" label="Cur" width="55px"> </el-table-column>
<el-table-column prop="oldamt" label="Old Amount" width="150px">
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.oldamt)}}
</template> -->
</el-table-column>
<el-table-column prop="amt" label="Booking Amo" width="100px">
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.amt)}}
</template> -->
</el-table-column>
<el-table-column prop="tenpct" label="%" width="80px">
</el-table-column>
<el-table-column prop="acc" label="Account" width="150px"> </el-table-column>
<el-table-column prop="valdat" label="Value Date" width="200px">
<!-- <template slot-scope="scope">
{{dateFormat(scope.row.valdat)}}
</template> -->
</el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right">
<template slot-scope="scope" slot="header">
<el-button
circle
style="padding:4px"
class="el-icon-plus"
size="mini"
@click="addRow(scope)"
>
</el-button>
<el-button
style="padding:4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRow(scope)"
>
</el-button>
</template>
<template slot-scope="scoped">
<el-button
style="margin-left:0"
size="small"
type="primary"
@click="detail1(scoped.$index, scoped.row)"
>详情</el-button
>
</template>
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Sight Amount">
<c-input style="width:50%" v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage">
<c-input style="width:50%" v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount">
<c-input style="width:70%" v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="16" style="margin-top:10px">
<el-form-item label="Amount not yet assigned">
<c-input style="width:15%" disabled v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
<c-input style="width:40%" disabled v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
<c-button style="width:20%" size="small" disabled type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align:left;margin-left:0">
<el-form-item label="">
<c-button size="small" disabled type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally">
<c-input style="width:50%" v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged">
<c-input style="width:50%" v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
export default {
inject: ['root'],
mixins: [commonProcess],
props:["model","codes"],
data(){
return {
}
},
methods:{
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall_butmisamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24" style="">
<c-istream-table :list="data" :columns="columns"></c-istream-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
export default {
inject: ['root'],
mixins: [commonProcess],
props:["model","codes"],
data(){
return {
columns: [
"2 1 \"D/C\" 60 1 0",
"6 2 \"Account Number\" 140",
"3 3 \"Cur\" 80",
"4 4 \"Amount\" 180 2 8:1 2 5",
"5 5 \"Value Date\" 140",
"7 6 \"Rate Type\" 160",
"8 7 \"Rate\" 120 2 0 1 0",
"9 8 \"Term\" 80",
"0 9 \"PN\" 80 1 0"
],
data: [
]
}
},
watch: {
//this.$refs.glepan.stmData.data = res.data.setmod_glemod_gleshwstm.rows;
'model.setmod.glemod.gleshwstm': {
handler(val, oldVal) {
if (val.rows) {
this.data = val.rows
}
},
immediate: true
}
},
methods:{
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div>
<c-col v-if="!noRef" :span="24">
<c-form-item
:label="`${argadr.title}参考号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.ref`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.ref"
:placeholder="'请输入' + argadr.title + '参考号'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24" v-if="!editExtLabel">
<el-form-item
:label="`${argadr.title}ID`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }}
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-else>
<el-form-item
:label="`${argadr.title}`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }}
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<template v-if="!onlySearch">
<c-col v-if="isAdrblk" :span="24">
<el-form-item
label="名称地址"
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="150"
show-word-limit
placeholder="请输入名称地址"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col v-else-if="!haveAdrLabel" :span="24">
<el-form-item
label=""
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="150"
show-word-limit
placeholder="请输入名称地址"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<template v-else>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}名称`"
:prop="`${argadr.grp}.${argadr.rol}.namelc`"
>
<c-input
type="textarea"
v-model="model[argadr.grp][argadr.rol].namelc"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
:rows="2"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}地址`"
:prop="`${argadr.grp}.${argadr.rol}.adrelc`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].adrelc"
:placeholder="'请输入' + argadr.title + '地址'"
:disabled="disabled"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
</template>
</template>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [commonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabled: {
//名称地址是否灰显
type: Boolean,
default: false,
},
isAdrblk: {
//名称地址是否为大字段
type: Boolean,
default: true,
},
onlySearch: {
//是否只展示extkey
type: Boolean,
default: false,
},
noRef: {
//无需参考号
type: Boolean,
default: false,
},
editExtLabel: {
//自定义ID label
type: Boolean,
default: true,
},
haveAdrLabel: {
//有无名称地址 label
type: Boolean,
default: true,
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {
onSeainf(data) {
this.$emit("onSeainf", data);
},
onAplpDet() {
this.$emit("onAplpDet");
},
valueChange() {
if (this.onlySearch) return;
// this.showGridPromptDialog(
// `${this.argadr.grp}.${this.argadr.rol}.pts.extkey`
// );
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="20">
<el-form-item
:label="`${argadr.title}`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-input
style="width: 95%"
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
class="searchButton"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
></c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button
style="margin:0 0"
class="detailsButton"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }}
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="24">
<el-form-item
label=""
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [commonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabled: {
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {
onSeainf(data) {
this.$emit("onSeainf", data);
},
onAplpDet() {
this.$emit("onAplpDet");
},
},
created: function () {},
};
</script>
<style>
.searchButton {
text-align: center;
/* margin: 0 10px; */
margin-right: 10px;
padding: 0 10px;
}
.detailsButton {
margin-left: 10px;
}
</style>
<template>
<div>
<c-col :span="24" v-if="!isIss">
<el-form-item
:label="`${argadr.title}联行行号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.bankno`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.bankno"
maxlength="20"
:disabled="disabledBankno"
:placeholder="'请输入' + argadr.title + '联行行号'"
@keyup.enter.native="showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.bankno`)"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-else>
<el-form-item
:label="`${argadr.title}联行行号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.bankno`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.bankno"
maxlength="20"
:disabled="disabledBankno"
:placeholder="'请输入' + argadr.title + '联行行号'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}联行名称`"
:prop="`${argadr.grp}.${argadr.rol}.pts.jigomc`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].pts.jigomc"
maxlength="35"
show-word-limit
:placeholder="'请输入' + argadr.title + '联行名称'"
:disabled="disabledJigomc"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}地址`"
:prop="`${argadr.grp}.${argadr.rol}.pts.dizhii`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].pts.dizhii"
maxlength="35"
show-word-limit
:placeholder="'请输入' + argadr.title + '地址'"
:disabled="disabledDizhii"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [commonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabledBankno: {
type: Boolean,
default: false,
},
disabledJigomc: {
type: Boolean,
default: false,
},
disabledDizhii: {
type: Boolean,
default: false,
},
isIss: {
//是否为开证行
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="17" offset="9">
<el-form-item
:label="`${argadr.fieldtit}`"
label-position="left"
label-width="120px"
:prop="`${argadr.grp}.rec.${argadr.field}`"
>
<c-select
v-model="model[argadr.grp].rec[argadr.field]"
:placeholder="'Select Party'"
></c-select>
</el-form-item>
</c-col>
<c-col :span="17" v-if="!noRef" offset="7">
<el-form-item
:label="`${argadr.title}`"
:prop="`${argadr.grp}.${argadr.rol}.pts.ref`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.ref"
:placeholder="'请输入' + argadr.title + '参考号'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-input
style="width: 95%"
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
@change="valueChange"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
class="searchButton"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
></c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button
style="margin:0 0"
class="detailsButton"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }}
</c-button>
<!-- </el-form-item> -->
</c-col>
<template v-if="!onlySearch">
<c-col v-if="isAdrblk" :span="24">
<el-form-item
label=""
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入名称地址"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<template v-else>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}名称`"
:prop="`${argadr.grp}.${argadr.rol}.namelc`"
>
<c-input
type="textarea"
v-model="model[argadr.grp][argadr.rol].namelc"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
:rows="2"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}地址`"
:prop="`${argadr.grp}.${argadr.rol}.adrelc`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].adrelc"
:placeholder="'请输入' + argadr.title + '地址'"
:disabled="disabled"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
</template>
</template>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [commonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabled: {
//名称地址是否灰显
type: Boolean,
default: false,
},
isAdrblk: {
//名称地址是否为大字段
type: Boolean,
default: true,
},
onlySearch: {
//是否只展示extkey
type: Boolean,
default: false,
},
noRef: {
//无需参考号
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {
onSeainf(data) {
this.$emit("onSeainf", data);
},
onAplpDet() {
this.$emit("onAplpDet");
},
valueChange() {
if (this.onlySearch) return;
// this.showGridPromptDialog(
// `${this.argadr.grp}.${this.argadr.rol}.pts.extkey`
// );
},
},
created: function () {},
};
</script>
<style>
.searchButton {
text-align: center;
/* margin: 0 10px; */
margin-right: 10px;
padding: 0 10px;
}
.detailsButton {
margin-left: 10px;
}
.el-form-item__label-wrap{
margin-left: 0px !important;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item :label="argadr.title" :prop="argadr.rol">
<c-input
v-model="model[argadr.rol]"
:placeholder="'请输入' + argadr.title + '角色'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="BIC" :prop="argadr.url + 'extkey'">
<c-input
v-model="model[argadr.url + 'extkey']"
maxlength="16"
:placeholder="'请输入' + argadr.title + 'BIC'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行行号" :prop="argadr.url + 'bankno'">
<c-input
v-model="model[argadr.url + 'bankno']"
maxlength="20"
placeholder="请输入联行行号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行行名" :prop="argadr.url + 'jigomc'">
<c-input
v-model="model[argadr.url + 'jigomc']"
maxlength="35"
placeholder="请输入联行行名"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行地址" :prop="argadr.url + 'dizhii'">
<c-input
type="textarea"
v-model="model[argadr.url + 'dizhii']"
maxlength="35"
placeholder="请输入联行地址"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
export default {
inject: ["root"],
mixins: [commonProcess],
props: ["model", "codes", "argadr"],
data() {
return {
data: [],
};
},
watch: {},
//methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item :label="argadr.title + '编号'" :prop="argadr.url + 'ref'">
<c-input
v-model="model[argadr.url + 'ref']"
maxlength="16"
:placeholder="'请输入' + argadr.title + '编号'"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="argadr.title + '名称'" :prop="argadr.url + 'nam'">
<c-input
v-model="model[argadr.url + 'nam']"
maxlength="40"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
export default {
inject: ["root"],
mixins: [commonProcess],
props: {
model: {
type: Object,
default: undefined,
},
codes: {},
argadr: {},
disabled: {
//名称地址是否灰显
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
// methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24" style="height: 24px">
<el-form-item label="外管信息" class="messageLabel"></el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="margin-top: 20px;">
<c-col :span="12">
<el-form-item label="申报类型" label-width="30%" prop="bopmod.szflg">
<c-select
v-model="model.bopmod.szflg"
style="width: 100%"
placeholder="请选择申报类型"
@change="szflgChange"
>
<el-option
v-for="item in codes.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<c-checkbox v-model="model.bopmod.basflg" :disabled="model.bopmod.szflg==='3'||model.bopmod.szflg===''">基础数据</c-checkbox>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopmod.acttyp" label-width="30%">
<c-select
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择"
:disabled="model.bopmod.szflg==='3' || model.bopmod.szflg==='2'"
>
<el-option
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey" label-width="30%">
<c-select
v-model="model.bopmod.ownextkey"
style="width: 100%"
placeholder="请选择"
:disabled="model.bopmod.szflg==='3'"
>
<el-option
v-for="item in codesOwnextkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="8" :offset="1">
<c-col :span="3">
<c-checkbox v-model="model.bopmod.basflg" >基础数据</c-checkbox>
</c-col> -->
<!-- <c-col :span="3">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="3">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col> -->
<c-col :span="24" style="height: 24px;margin-top: 20px;">
<el-form-item label="跨境人民币申报" class="messageLabel"></el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="12" style="margin-top: 20px;">
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" label-width="30%">
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%;"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.cnyflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" label-width="30%">
<c-select
v-model="model.cnybop.traflg"
style="width: 100%;"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.traflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" label-width="30%" prop="cnybop.outflg">
<c-select
v-model="model.cnybop.outflg"
style="width: 100%;"
placeholder="请选择"
>
<el-option
v-for="item in codes.outflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" label-width="30%">
<c-select
v-model="model.cnybop.libflg"
style="width: 100%;"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.libflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" label-width="30%">
<c-select
v-model="model.cnybop.vouflg"
placeholder="请选择"
style="width: 100%;"
disabled
>
<el-option
v-for="item in codes.vouflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
temp:'不申报',
options: [
{
value: "1",
label: "申报",
},
{
value: "2",
label: "不申报",
},
],
codesOwnextkey:[
{
value: "",
label: "",
}
],
};
},
methods: { ...Event ,
async szflgChange(){
let rtnmsg = await this.executeRule("bopmod.szflg")
if(rtnmsg.respCode == SUCCESS){
this.model.bopmod.ownextkey = rtnmsg.data.bopmod_ownextkey
}
if(this.model.bopmod.szflg==='2'){
this.model.bopmod.acttyp = '';
}
if(this.model.bopmod.szflg==='3'){
this.model.bopmod.ownextkey = '';
this.model.bopmod.acttyp = '';
}
}
},
created: function () {
},
watch: {
"model.bopmod.ownextkey": function(){
if(this.model.bopmod.ownextkey != ''){
var instName = window.sessionStorage.instName || "北京分行";
this.codesOwnextkey[0].value = this.model.bopmod.ownextkey;
this.codesOwnextkey[0].label = this.model.bopmod.ownextkey + instName;
}else{
this.codesOwnextkey[0].value = '';
this.codesOwnextkey[0].label = '';
}
}
},
};
</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