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>
<div class="eibs-tab">
<!--
<c-col :span="12">
<el-form-item label="应付保证金金额">
<c-input v-model="model.liaall.liaccv.concur" maxlength="3" placeholder="请输入应付保证金金额"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.concur">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.newamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="合同金额">
<c-input v-model="model.liaall.liaccv.newamt" placeholder="请输入合同金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例">
<c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<c-row>
<c-col :span="20">
<c-input v-model="model.liaall.liaccv.cshpct"></c-input>
</c-col>
<c-col :span="2" style="margin-left: 20px">
<span>%</span>
</c-col>
</c-row>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="Reserved Amount">
<c-input v-model="model.liaall.liaccv.newresamt" placeholder="请输入Reserved Amount"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.newresamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="保证金实收比例">
<c-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct">
<c-row>
<c-col :span="20">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.relcshpct"
></c-input>
</c-col>
<c-col :span="2" style="margin-left: 20px">
<span>%</span>
</c-col>
</c-row>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.gleflg">Create gle flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="reserve amount based percent">
<c-input v-model="model.liaall.liaccv.pctresamt" placeholder="请输入reserve amount based percent"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.chgcurflg">Change currency flag</c-checkbox>
</c-col>
-->
<c-col :span="12">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.pctresamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<c-button size="small" type="primary" @click="openMask">
Add
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del
</c-button>
</c-col>
-->
<c-col :span="11" style="text-align:right">
<!-- <c-row> -->
<!-- <c-col :span="24" style="margin-left:35px;text-align:right"> -->
<c-button size="small" type="primary" @click="onLiaccvAdd">
Add
</c-button>
<!-- </c-col> -->
<!-- <c-col :span="2">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del
</c-button>
</c-col> -->
<!-- </c-row> -->
</c-col>
<!-- <c-col :span="24"><div style="height: 10px"></div></c-col> -->
<template>
<el-dialog
:visible.sync="dialogTableVisible"
width="60%"
center
>
<c-istream-table :list="stmData.data" :columns="stmData.columns" :paginationShow="false">
<el-table-column prop="op" label="OP" width="80" fixed="right">
<template slot-scope="scope">
<!-- <a href="javascript:void(0)" type="primary" @click="pickDepItem(scope.$index,scope.row)"
>选择</a
> -->
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="pickDepItem(scope.$index,scope.row)"
>
选择
</c-button>
</template>
</el-table-column>
</c-istream-table>
</el-dialog>
</template>
<c-col :span="24">
<c-table
:border="true"
:list="model.liaall.liaccv.liaccvg"
style="width:80%,text-align:center"
>
<el-table-column prop="ccdflg" label="CF000048" width="78px">
</el-table-column>
<el-table-column prop="ownref" label="保证金编号" width="130px">
</el-table-column>
<el-table-column prop="cur" label="币种" width="55px">
</el-table-column>
<el-table-column prop="oldamt" label="余额" width="150px">
</el-table-column>
<el-table-column prop="amt" label="变动金额" width="150px">
</el-table-column>
<el-table-column prop="acc" label="保证金账号" width="180px">
</el-table-column>
<el-table-column prop="rat" label="汇率" width="120px">
</el-table-column>
<el-table-column prop="concur" label="币种" width="55px">
</el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="150px">
</el-table-column>
<el-table-column prop="acccovamt" label="Acc Amount" width="150px">
</el-table-column>
<el-table-column label="操作" width="75px" fixed="right">
<template slot-scope="scope">
<c-button style="margin-left:0" type="primary" size="small" @click="onLiaccvDel(scope.$index,scope.row)">
Del</c-button>
</template>
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Amount Covered">
<c-row>
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input
v-model="model.liaall.liaccv.totcovamt"
:readonly="true"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col> -->
<c-col :span="12" style="margin-top:15px">
<el-form-item label="金额总和">
<!-- <c-col :span="8"> -->
<c-input
style="width: 100%"
v-model="model.liaall.liaccv.totcovamt"
placeholder="请输入金额总和"
></c-input>
<!-- </c-col> -->
</el-form-item>
<el-form-item label="Additional Information ">
<c-input
type="textarea"
:rows="5"
v-model="model.liaall.liaccv.addinf"
maxlength="200"
show-word-limit
placeholder="请输入Additional Information "
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Additional Information ">
<c-input
type="textarea"
:rows="5"
v-model="model.liaall.liaccv.addinf"
maxlength="200"
show-word-limit
placeholder="请输入Additional Information "
></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";
import Utils from "~/utils/index"
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
dialogTableVisible: false,
stmData: {
columns: [
'1 1:1 "Ref" 150',
'2 2:1 "User" 80',
'3 3:1 "Applicant" 100',
'4 4:1 "Account" 200',
'5 5:1 "Cur" 200',
'6 6:1 "Amt" 100 2 0 1 18.3',
'7 7:1 "Open date" 80 4 7',
'8 8:1 "flg" 150',
'9 9:1 "Remarks" 250',
"P COLORED TRUE",
"P VERTLINES TRUE",
"P HORZLINES TRUE",
"P MULTISELECT FALSE",
"P COLUMNSIZING TRUE",
],
data: [],
},
relrowDisabled: true,
};
},
methods: {
async onLiaccvAdd() {
let rtnmsg = await this.executeRule("liaall.liaccv.add")
//const that = this.root;
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
if(typeof(rtnmsg.data.vals) != "undefined"){
this.stmData.data = rtnmsg.data.vals.rows;
}else{
this.stmData.data = [];
}
this.dialogTableVisible = true;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async pickDepItem(idx,row) {
var params = {selDst:"",selIds:[idx+1]}
let rtnmsg = await this.executeRule("liaall.liaccv.add", params)
if (rtnmsg.respCode == SUCCESS) {
this.dialogTableVisible = false;
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async onLiaccvDel(index,row) {
let ids = [index+1];
let params = {selDst:"liaall.liaccv.liaccvg",selIds:ids};
let rtnmsg = await this.executeRule("liaall.liaccv.del",params)
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.$message({
type: 'success',
message: '删除成功!'
});
//this.model.liaall.liaccv.liaccvg = [];
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
created: function () {},
};
</script>
<style>
</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>
<c-col :span="24">
<!-- ================底部--左================= -->
<c-col :span="11" style="margin-top: 10px">
<c-col :span="24">
<el-form-item
label="Ordering institution (52a)"
prop="cpdgrp.ori.pts.ref"
>
<c-input
v-model="model.cpdgrp.ori.pts.ref"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="18"> -->
<c-fullbox>
<el-form-item label="">
<c-input
v-model="model.cpdgrp.ori.pts.extkey"
placeholder=""
style="width:100%"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.ori.pts.extkey')
"
></c-input>
</el-form-item>
<!-- </c-col>
<c-col :span="6" style="text-align: right">
<el-form-item label="" label-width="15px"> -->
<!-- <c-col :span="12"> -->
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<!-- </c-col> -->
<!-- <c-col :span="12"> -->
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</template>
<!-- </c-col> -->
<!-- </el-form-item> -->
</c-fullbox>
<!-- </c-col> -->
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.ori.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇款人" prop="cpdgrp.orc.pts.ref">
<c-input
v-model="model.cpdgrp.orc.pts.ref"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.orcact">
<c-input
v-model="model.cpdgrp.rec.orcact"
maxlength="35"
placeholder="汇款人账号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-fullbox>
<el-form-item label="" prop="cpdgrp.orc.pts.extkey">
<c-input
v-model="model.cpdgrp.orc.pts.extkey"
placeholder="请输入汇款人客户号"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.orc.pts.extkey')
"
>
</c-input>
</el-form-item>
<!-- </c-col>
<c-col :span="6" style="text-align: right"> -->
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.orc.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ================底部--右================= -->
<c-col
:span="11"
:offset="1"
v-if="
root.trnName === 'cptopn'
? model.cpdgrp.rec.swftyp === '' ||
model.cpdgrp.rec.swftyp === '103' ||
model.cpdgrp.rec.swftyp === '202'
: model.cpdgrp.rec.swftyp === '' ||
model.cpdgrp.rec.swftyp === '103'
"
style="margin-top: 10px"
>
<c-col :span="24">
<c-fullbox>
<el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey">
<c-input placeholder="请输入发报行" v-model="model.cpdgrp.snd.pts.extkey" @keyup.enter.native="showGridPromptDialog('cpdgrp.snd.pts.extkey')"></c-input>
</el-form-item>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="cpdgrp.snd.pts.nam">
<c-input placeholder="" disabled v-model="model.cpdgrp.snd.pts.nam"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="指令代码" prop="cpdgrp.rec.f23e">
<c-input
v-model="model.cpdgrp.rec.f23e"
maxlength="35"
placeholder="请输入指令代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="原始金额" prop="cpdgrp.rec.curf33b">
<c-select
v-model="model.cpdgrp.rec.curf33b"
style="width: 100%"
placeholder=""
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label=""
label-width="8px"
prop="cpdgrp.rec.amtf33b"
>
<c-input
v-model="model.cpdgrp.rec.amtf33b"
placeholder="请输入原始金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="汇率" prop="cpdgrp.rec.f36">
<c-input
v-model="model.cpdgrp.rec.f36"
placeholder=""
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item
label="发报行扣费金额"
prop="cpdgrp.rec.cur71f"
>
<c-select
v-model="model.cpdgrp.rec.cur71f"
placeholder=""
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label=""
label-width="8px"
prop="cpdgrp.rec.amt71f"
>
<c-input
v-model="model.cpdgrp.rec.amt71f"
placeholder="请输入发报行扣费金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="银行操作码" prop="cpdgrp.rec.f23b">
<c-input
v-model="model.cpdgrp.rec.f23b"
maxlength="4"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.pyeact">
<c-input
v-model="model.cpdgrp.rec.pyeact"
maxlength="35"
placeholder="请输入账号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-fullbox>
<el-form-item label="收款人" prop="cpdgrp.pye.pts.extkey">
<c-input
v-model="model.cpdgrp.pye.pts.extkey"
maxlength="14"
placeholder="请输入收款人"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.pye.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="cpdgrp.pye.pts.adrblk">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.pye.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span="11"
:offset="1"
v-if="
root.trnName === 'cptopn'
? model.cpdgrp.rec.swftyp === '200'
: model.cpdgrp.rec.swftyp === '202' ||
model.cpdgrp.rec.swftyp === '200'
"
style="margin-top: 10px"
>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey">
<c-input placeholder="请输入发报行" v-model="model.cpdgrp.snd.pts.extkey" @keyup.enter.native="showGridPromptDialog('cpdgrp.snd.pts.extkey')"></c-input>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align: right">
<el-form-item label="" label-width="15px">
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="cpdgrp.snd.pts.adrblk">
<c-input
type="textarea"
:rows="4"
maxlength="140"
show-word-limit
placeholder="请输入Address Block"
v-model="model.cpdgrp.snd.pts.adrblk"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人" prop="cpdgrp.pye.pts.extkey">
<c-input
v-model="model.cpdgrp.pye.pts.extkey"
maxlength="14"
placeholder="请输入收款人"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.pye.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.pyeact">
<c-input
v-model="model.cpdgrp.rec.pyeact"
maxlength="35"
placeholder="请输入账号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="">
<c-input
v-model="model.cpdgrp.pye.pts.extkey"
placeholder="请输入收款人客户号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align: right">
<el-form-item label="" label-width="15px">
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.pye.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span="11"
:offset="1"
v-if="model.cpdgrp.rec.swftyp === 'OTH'"
style="margin-top: 10px"
>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey">
<c-input placeholder="请输入发报行" v-model="model.cpdgrp.snd.pts.extkey" @keyup.enter.native="showGridPromptDialog('cpdgrp.snd.pts.extkey')"></c-input>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align: right">
<el-form-item label="" label-width="15px">
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="cpdgrp.snd.pts.adrblk">
<c-input
type="textarea"
:rows="4"
maxlength="140"
show-word-limit
placeholder="请输入Address Block"
v-model="model.cpdgrp.snd.pts.adrblk"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款详情" prop="cpdgrp.blk.contag70">
<c-input
type="textarea"
placeholder=""
readonly
rows="3"
v-model="model.cpdgrp.blk.contag70"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人Ref." prop="cpdgrp.pye.pts.ref">
<c-input
v-model="model.cpdgrp.pye.pts.ref"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.pyeact">
<c-input
v-model="model.cpdgrp.rec.pyeact"
maxlength="35"
placeholder="请输入账号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="" prop="cpdgrp.pye.pts.extkey">
<c-input
v-model="model.cpdgrp.pye.pts.extkey"
placeholder="请输入收款人客户号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align: right">
<el-form-item label="" label-width="15px">
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="cpdgrp.pye.pts.adrblk">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.pye.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================清算模式-人行支付系统===================== -->
<!-- <c-col
:span="24"
v-if="model.cptp.liqtyp === 'B'"
style="margin-top: 10px"
> -->
<!-- =========左========== -->
<!-- <c-col :span="11">
<c-col :span="24">
<el-form-item label="付款人名称">
<c-input
type="textarea"
v-model="model.cptp.orcnam"
maxlength="40"
show-word-limit
placeholder="请输入付款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人地址">
<c-input
type="textarea"
v-model="model.cptp.orcadr"
maxlength="40"
show-word-limit
placeholder="请输入付款人地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称">
<c-input
type="textarea"
v-model="model.cptp.pyenam"
maxlength="40"
show-word-limit
placeholder="请输入收款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人地址">
<c-input
type="textarea"
v-model="model.cptp.pyeadr"
maxlength="40"
show-word-limit
placeholder="请输入收款人地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.orcact">
<c-input
v-model="model.cpdgrp.rec.orcact"
style="width: 90%"
maxlength="35"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item label="汇款人">
<c-input
v-model="model.cpdgrp.snd.pts.extkey"
maxlength="16"
placeholder="请输入汇款人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
></c-button>
<c-button size="small" type="primary" disabled
>详情</c-button
>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
style="width: 90%"
readonly
></c-input>
</el-form-item>
</c-col>
</c-col> -->
<!-- =========右========== -->
<!-- <c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="接收行名称">
<c-input
maxlength="12"
placeholder="请输入接收行名称"
style="width: 90%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="接收行行号">
<c-input
v-model="model.cptp.resbch"
maxlength="12"
placeholder="请输入接收行行号"
readonly
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" :offset="1">
<c-checkbox v-model="model.cptp.flg"
>电汇凭证</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24"
><el-form-item label="业务种类">
<c-select
v-model="model.cptp.bustyp"
style="width: 60%"
placeholder="请选择业务种类"
disabled
>
<el-option
v-for="item in codes.bustyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="收款人开户行名称">
<c-input
v-model="model.cptp.pyebchnam"
maxlength="38"
placeholder="请输入收款人开户行名称"
readonly
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="二代模式" label-width="120px">
<c-select
v-model="model.cptp.secmod"
style="width: 90%"
placeholder="请选择二代模式"
disabled
>
<el-option
v-for="item in codes.secmod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="2"
><c-button
size="small"
type="primary"
@click="onCptpGetmod"
>
获取
</c-button></c-col
>
</c-col>
<c-col :span="24">
<el-form-item label="附言">
<c-input
type="textarea"
v-model="model.cptp.commet"
maxlength="35"
show-word-limit
placeholder="请输入附言"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.pyeact">
<c-input
v-model="model.cpdgrp.rec.act"
style="width: 90%"
maxlength="35"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item label="收款人">
<c-input
v-model="model.cpdgrp.snd.pts.extkey"
maxlength="16"
placeholder="请输入收款人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
></c-button>
<c-button size="small" type="primary"
>详情</c-button
>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
style="width: 90%"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
<!-- ====================清算模式-CIPS系统===================== -->
<!-- <c-col
:span="24"
v-if="model.cptp.liqtyp === 'S'"
style="margin-top: 10px"
> -->
<!-- =========左========== -->
<!-- <c-col :span="11">
<c-col :span="24">
<el-form-item label="付款人名称">
<c-input
type="textarea"
v-model="model.cptp.orcnam"
maxlength="40"
show-word-limit
placeholder="请输入付款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人地址">
<c-input
type="textarea"
v-model="model.cptp.orcadr"
maxlength="40"
show-word-limit
placeholder="请输入付款人地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称">
<c-input
type="textarea"
v-model="model.cptp.pyenam"
maxlength="40"
show-word-limit
placeholder="请输入收款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人地址">
<c-input
type="textarea"
v-model="model.cptp.pyeadr"
maxlength="40"
show-word-limit
placeholder="请输入收款人地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.orcact">
<c-input
v-model="model.cpdgrp.rec.orcact"
style="width: 90%"
maxlength="35"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item label="汇款人">
<c-input
v-model="model.cpdgrp.snd.pts.extkey"
maxlength="16"
placeholder="请输入汇款人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
></c-button>
<c-button size="small" type="primary" disabled
>详情</c-button
>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
style="width: 90%"
readonly
></c-input>
</el-form-item>
</c-col>
</c-col> -->
<!-- =========右========== -->
<!-- <c-col :span="11" :offset="1">
<c-col :span="4" :offset="18">
<c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<el-form-item label="收款直参行号">
<c-input
v-model="model.cptp.reconebch"
maxlength="35"
style="width: 80%"
placeholder="请输入收款直参行号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款直参名称">
<c-input
type="textarea"
v-model="model.cptp.reconebchnam"
maxlength="35"
style="width: 80%"
show-word-limit
placeholder="请输入收款直参名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"
><el-form-item label="业务种类">
<c-select
v-model="model.cptp.bustyp"
style="width: 60%"
placeholder="请选择业务种类"
disabled
>
<el-option
v-for="item in codes.bustyp"
: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="附言">
<c-input
type="textarea"
v-model="model.cptp.commet"
maxlength="35"
show-word-limit
placeholder="请输入附言"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.pyeact">
<c-input
v-model="model.cpdgrp.rec.act"
style="width: 90%"
maxlength="35"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item label="收款人">
<c-input
v-model="model.cpdgrp.snd.pts.extkey"
maxlength="16"
placeholder="请输入收款人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
></c-button>
<c-button size="small" type="primary"
>详情</c-button
>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
style="width: 90%"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
<!-- ======================清算模式-Other================ -->
<!-- <c-col
:span="24"
v-if="model.cptp.liqtyp === 'O'"
style="margin-top: 10px"
> -->
<!-- ================左================= -->
<!-- <c-col :span="11">
<c-col :span="24">
<el-form-item
label="Ordering institution (52a)"
prop="cpdgrp.ori.pts.ref"
>
<c-input
v-model="model.cpdgrp.ori.pts.ref"
style="width: 90%"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item label="">
<c-input placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
>
</c-button>
<c-button
size="small"
type="primary"
@click="onSndpDet"
>
详情
</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="18">
<el-form-item label="">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.ori.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇款人" prop="cpdgrp.orc.pts.ref">
<c-input
v-model="model.cpdgrp.orc.pts.ref"
style="width: 90%"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.orcact">
<c-input
v-model="model.cpdgrp.rec.orcact"
style="width: 90%"
maxlength="35"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item label="">
<c-input placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
>
</c-button>
<c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="18">
<el-form-item label="">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.orc.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col> -->
<!-- ==============右================== -->
<!-- <c-col :span="12">
<c-col :span="24">
<c-col :span="17">
<el-form-item label="发报行">
<c-input placeholder="" readonly></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
>
</c-button>
<c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="18">
<el-form-item label="">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.snd.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款详情">
<c-input
type="textarea"
placeholder=""
readonly
style="width: 90%"
rows="3"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人Ref." prop="cpdgrp.orc.pts.ref">
<c-input
v-model="model.cpdgrp.orc.pts.ref"
style="width: 90%"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.pyeact">
<c-input
v-model="model.cpdgrp.rec.orcact"
style="width: 90%"
maxlength="35"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item label="">
<c-input placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
>
</c-button>
<c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="18">
<el-form-item label="">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.pye.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
<!-- ====================清算模式-代理行模式=================== -->
<!-- <c-col
:span="24"
v-if="model.cptp.liqtyp === 'C'"
style="margin-top: 10px"
> -->
<!-- ==============左============== -->
<!-- <c-col :span="24">
<el-form-item
label="Ordering institution (52a)"
prop="cpdgrp.ori.pts.ref"
>
<c-input
v-model="model.cpdgrp.ori.pts.ref"
style="width: 90%"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item label="">
<c-input placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
>
</c-button>
<c-button
size="small"
type="primary"
@click="onSndpDet"
>
详情
</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="18">
<el-form-item label="">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.ori.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇款人" prop="cpdgrp.orc.pts.ref">
<c-input
v-model="model.cpdgrp.orc.pts.ref"
style="width: 90%"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.orcact">
<c-input
v-model="model.cpdgrp.rec.orcact"
style="width: 90%"
maxlength="35"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item label="">
<c-input placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
>
</c-button>
<c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="18">
<el-form-item label="">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.orc.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col> -->
<!-- ==============右============== -->
<!-- <c-col :span="12" >
<c-col :span="24">
<el-form-item label="清算代理行">
<c-select
v-model="model.cptp.cleage"
style="width: 70%"
placeholder="请选择清算代理行"
>
<el-option
v-for="item in cleageOptions"
: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="光大开户行">
<c-select
v-model="model.cptp.evebch"
style="width: 70%"
placeholder="请选择光大开户行"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="清算代理行账号">
<c-input
v-model="model.cptp.coract"
maxlength="32"
style="width: 90%"
placeholder="请输入清算代理行账号"
readonly
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="指令代码" prop="cpdgrp.rec.f23e">
<c-input
v-model="model.cpdgrp.rec.f23e"
style="width: 90%"
maxlength="35"
placeholder="请输入指令代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="原始金额" prop="cpdgrp.rec.curf33b">
<c-select
v-model="model.cpdgrp.rec.curf33b"
style="width: 100%"
placeholder=""
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="" label-width="15px" prop="cpdgrp.rec.amtf33b">
<c-input
v-model="model.cpdgrp.rec.amtf33b"
placeholder="请输入原始金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="发报行扣费金额" prop="cpdgrp.rec.cur71f">
<c-select v-model="model.cpdgrp.rec.cur71f" placeholder="">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="" label-width="15px" prop="cpdgrp.rec.amt71f">
<c-input
v-model="model.cpdgrp.rec.amt71f"
placeholder="请输入发报行扣费金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="银行操作码" prop="cpdgrp.rec.f23b">
<c-input
v-model="model.cpdgrp.rec.f23b"
style="width: 100%"
maxlength="4"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="汇率"
prop="cpdgrp.rec.f36"
label-width="100px"
>
<c-input
v-model="model.cpdgrp.rec.f36"
style="width: 100%"
placeholder=""
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.pyeact">
<c-input
v-model="model.cpdgrp.rec.pyeact"
style="width: 90%"
maxlength="35"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item label="收款人" prop="cpdgrp.orc.pts.extkey">
<c-input
placeholder=""
v-model="model.cpdgrp.orc.pts.extkey"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.orc.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onCptpGetInfpta"
icon="el-icon-search"
>
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
详情
</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="18">
<el-form-item label="">
<c-input
type="textarea"
:rows="4"
maxlength="140"
v-model="model.cpdgrp.pye.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col> -->
<!-- <c-col><div style="height: 100px"></div></c-col>
<c-col :span="12">
<span v-text="model.cptp.shktyp" data-path=".cptp.shktyp"> </span>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Currency">
<c-select
v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择Currency"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Currency">
<c-select
v-model="model.cpdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="汇款金额">
<c-input
v-model="model.cpdgrp.cbs.max.amt"
placeholder="请输入汇款金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="9" :offset="1">
<el-form-item label="Uetr">
<c-input
v-model="model.cptp.uetr"
maxlength="40"
placeholder="请输入Uetr"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" :offset="1">
<c-button size="small" type="primary" @click="onCptpGetuetr">
Get
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.cptp.paydatsta" data-path=".cptp.paydatsta"> </span>
</c-col>
<c-col :span="12">
<span v-text="model.cptp.commetlab" data-path=".cptp.commetlab"> </span>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="自�'�区备注">
<c-select
v-model="model.cptp.comsystbl"
style="width: 100%"
placeholder="请选择自�'�区备注"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cptp.valdat" data-path=".cptp.valdat"> </span>
</c-col>
<c-col :span="11">
<el-form-item label="Value Date">
<c-date-picker
type="date"
v-model="model.cpdgrp.rec.valdat"
style="width: 100%"
placeholder="请选择Value Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Uil Payment">
<c-select
v-model="model.cptp.payuil"
style="width: 100%"
placeholder="请选择Uil Payment"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="PRECHKDAT">
<c-date-picker
type="date"
v-model="model.cpdgrp.rec.prechkdat"
style="width: 100%"
placeholder="请选择PRECHKDAT"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="付款人常驻国家/地区代码">
<c-input
v-model="model.cptp.draweecountcode"
maxlength="3"
placeholder="请输入付款人常驻国家/地区代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item label="swift type">
<c-select
v-model="model.cpdgrp.rec.swftyp"
style="width: 100%"
placeholder="请选择swift type"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="2" :offset="1">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCptpSelbut"
>
?
</c-button>
</c-col>
<c-col :span="9">
<el-form-item label="Details of Charges">
<c-select
v-model="model.cpdgrp.rec.detchgcod"
style="width: 100%"
placeholder="请选择Details of Charges"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="2" :offset="1">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCptpSelbut1"
>
?
</c-button>
</c-col>
<c-col :span="11">
<el-form-item label="清算模式">
<c-select
v-model="model.cptp.liqtyp"
style="width: 100%"
placeholder="请选择清算模式"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="国外�'�用币种">
<c-select
v-model="model.cpdgrp.rec.feecur"
style="width: 100%"
placeholder="请选择国外�'�用币种"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="国外�'�用金额">
<c-input
v-model="model.cpdgrp.rec.feeamt"
placeholder="请输入国外�'�用金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Good's Code for Statistics">
<c-select
v-model="model.cpdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择Good's Code for Statistics"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cptp.feesta" data-path=".cptp.feesta"> </span>
</c-col>
<c-col :span="12">
<span v-text="model.cptp.clmlab" data-path=".cptp.clmlab"> </span>
</c-col>
<c-col :span="11">
<el-form-item label="付款人名称">
<c-input
type="textarea"
v-model="model.cptp.orcnam"
maxlength="40"
show-word-limit
placeholder="请输入付款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Drag Drop Sender">
<c-input
v-model="model.cptp.sndp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="清算代理行">
<c-select
v-model="model.cptp.cleage"
style="width: 100%"
placeholder="请选择清算代理行"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="External Key of Address">
<c-input
v-model="model.cpdgrp.snd.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="12">
<el-form-item label="汇款人名称">
<c-input
v-model="model.cptp.resbchnam"
maxlength="42"
placeholder="请输入汇款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="收款�'接参与者行号">
<c-input
v-model="model.cptp.reconebch"
maxlength="35"
placeholder="请输入收款�'接参与者行号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="名称">
<c-input
type="textarea"
v-model="model.cpdgrp.snd.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="光大开户分行">
<c-select
v-model="model.cptp.evebch"
style="width: 100%"
placeholder="请选择光大开户分行"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Address Block">
<c-input
type="textarea"
v-model="model.cpdgrp.snd.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Chinese address">
<c-input
type="textarea"
v-model="model.cpdgrp.snd.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Name of Party">
<c-input
v-model="model.cpdgrp.snd.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="接收行行号">
<c-input
v-model="model.cptp.resbch"
maxlength="12"
placeholder="请输入接收行行号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8" :offset="3">
<c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="付款人地址">
<c-input
type="textarea"
v-model="model.cptp.orcadr"
maxlength="40"
show-word-limit
placeholder="请输入付款人地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Drag Drop Sender">
<c-input
v-model="model.cptp.orip.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="External Key of Address">
<c-input
v-model="model.cpdgrp.ori.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item label="">
<c-input
v-model="model.cptp.orip.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" :offset="1">
<c-button size="small" type="primary" @click="onOripDet">
Details
</c-button>
</c-col>
<c-col :span="11">
<el-form-item label="清算代理行账号">
<c-input
v-model="model.cptp.coract"
maxlength="32"
placeholder="请输入清算代理行账号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="收款接参与者名称">
<c-input
type="textarea"
v-model="model.cptp.reconebchnam"
maxlength="35"
show-word-limit
placeholder="请输入收款接参与者名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="业务种类">
<c-select
v-model="model.cptp.bustyp"
style="width: 100%"
placeholder="请选择业务种类"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="地址">
<c-input
type="textarea"
v-model="model.cpdgrp.snd.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="名称">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Address Block">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Chinese address">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="收款人名称">
<c-input
type="textarea"
v-model="model.cptp.pyenam"
maxlength="40"
show-word-limit
placeholder="请输入收款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<span v-text="model.cptp.seclab" data-path=".cptp.seclab"> </span>
</c-col>
<c-col :span="11">
<el-form-item label="Content of TAG 70">
<c-input
type="textarea"
v-model="model.cpdgrp.blk.contag70"
maxlength="35"
show-word-limit
placeholder="请输入Content of TAG 70"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="地址">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="收款人开户行名称">
<c-input
v-model="model.cptp.pyebchnam"
maxlength="38"
placeholder="请输入收款人开户行名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="二代模式">
<c-select
v-model="model.cptp.secmod"
style="width: 100%"
placeholder="请选择二代模式"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="收款人地址">
<c-input
type="textarea"
v-model="model.cptp.pyeadr"
maxlength="40"
show-word-limit
placeholder="请输入收款人地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="附言">
<c-input
type="textarea"
v-model="model.cptp.commet"
maxlength="35"
show-word-limit
placeholder="请输入附言"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="收款人">
<c-input
v-model="model.cpdgrp.pye.pts.ref"
maxlength="16"
placeholder="请输入收款人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Drag Drop Sender">
<c-input
v-model="model.cptp.orcp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="External Key of Address">
<c-input
v-model="model.cpdgrp.orc.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="9" :offset="1">
<el-form-item label="">
<c-input
v-model="model.cptp.orcp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" :offset="1">
<c-button size="small" type="primary" @click="onOrcpDet">
Details
</c-button>
</c-col>
<c-col :span="11" :offset="12">
<el-form-item label="Drag Drop Sender">
<c-input
v-model="model.cptp.pyep.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="External Key of Address">
<c-input
v-model="model.cpdgrp.pye.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8" :offset="1">
<el-form-item label="">
<c-input
v-model="model.cptp.pyep.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1" style="margin-left: 10px">
<c-button size="small" type="primary" @click="onPyepDet">
Details
</c-button>
</c-col>
<c-col :span="1" style="margin-left: 20px">
<c-button size="small" type="primary" @click="onCptpSerpty">
查询客户号
</c-button>
</c-col>
<c-col :span="11">
<el-form-item label="名称">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Address Block">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Chinese address">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="名称">
<c-input
type="textarea"
v-model="model.cpdgrp.pye.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Address Block">
<c-input
type="textarea"
v-model="model.cpdgrp.pye.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Chinese address">
<c-input
type="textarea"
v-model="model.cpdgrp.pye.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="地址">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="地址">
<c-input
type="textarea"
v-model="model.cpdgrp.pye.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col> -->
<el-dialog
:fullscreen="true"
:visible.sync="infptaVisible"
top="10vh"
width="80%"
custom-class="infptaDialog"
:before-close="handleClose"
>
<Infpta></Infpta>
</el-dialog>
</c-col>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
infptaVisible: false,
};
},
methods: {
onSndpDet() {
this.$emit("onSndpDet");
},
onCptpGetInfpta() {
this.infptaVisible = true;
},
handleClose(done) {
done();
},
},
};
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="24" style="">
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="报文格式">
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].cortyp
"
style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codes.doceotCortyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="报文格式">
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].docsnf
"
style="width: 100%"
placeholder="请选择"
@change="executeDefault('trnmod.trndoc.doccur.docsnf')"
>
<el-option
v-for="item in codes.docsnf"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="语言" width="150%">
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].docuil
"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.uiltxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="传送方式">
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].apf
"
disabled
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.apftxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Or." width="65%">
<template slot-scope="scope">
<c-input
v-model="
model.trnmod.trndoc.doceot[scope.row.index].apfcpy1
"
:readonly="true"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="CC" width="65%">
<template slot-scope="scope">
<c-input
v-model="
model.trnmod.trndoc.doceot[scope.row.index].apfcpy2
"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="">
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].staflg
"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.swttlx"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="115px" fixed="right">
<template slot-scope="scope">
<c-button
type="primary"
size="small"
:disabled="
model.trnmod.trndoc.doceot[scope.row.index]
.pandsc == 'MT799' &&
model.didgrp.rec.elcflg == 'Y'
"
@click="handleDisplay(scope.row.index, scope.row,model.trnmod.trndoc.doceot[scope.row.index])"
icon="el-icon-search"
style="margin-left:0"
></c-button
>
<c-button
size="small"
type="primary"
icon="el-icon-edit"
style="margin-left:0"
@click="handleDetail(scope.row.index, scope.row)"
></c-button
>
</template>
</el-table-column>
</c-istream-table-docpan>
</c-col>
<template>
<el-dialog
:title="title"
:visible.sync="centerDialogVisible"
width="60%"
center
>
<el-form label-width="100px" :model="dialog">
<c-row>
<c-col :span="12">
<c-col>
<el-form-item label="per-medium"
><el-input disabled v-model="dialog.cortyp"
/></el-form-item>
</c-col>
<c-col>
<el-form-item label="Form Set">
<el-input
disabled
v-model="dialog.cortyp"
/>
</el-form-item>
</c-col>
<c-col v-if="title != 'elcs.101.001.01'">
<el-form-item>
<el-input
disabled
style="width: 150px"
value="Original"
/>
<el-input
v-model="dialog.apfcpy1"
style="width: 100px; margin-left: 20px"
/>
</el-form-item>
<el-form-item>
<el-input
disabled
style="width: 150px"
value="Customer Copy"
/>
<el-input
v-model="dialog.apfcpy2"
style="width: 100px; margin-left: 20px"
/>
</el-form-item>
<el-form-item>
<el-input
disabled
style="width: 150px"
value="File Copy"
/>
<el-input
v-model="dialog.apfcpy3"
style="width: 100px; margin-left: 20px"
/>
</el-form-item>
<el-form-item>
<el-input
disabled
style="width: 150px"
value="Internal Copy"
/>
<el-input
v-model="dialog.apfcpy4"
style="width: 100px; margin-left: 20px"
/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item
label="Send Message to"
label-width="150px"
>
<el-input disabled v-model="dialog.roladr" />
</el-form-item>
<el-form-item
label-width="30px"
v-if="title != 'elcs.101.001.01'"
>
<el-input
style="width: 250px"
v-model="dialog.rcv.pts.extkey"
/>
<c-button size="small" type="primary" icon="el-icon-search"
></c-button
>
<c-button size="small" type="primary">
详情
</c-button>
</el-form-item>
<el-form-item v-else label="BIC">
<el-input v-model="dialog.rcv.pts.extkey" />
</el-form-item>
<el-form-item
v-if="title == 'elcs.101.001.01'"
label="行联行号"
>
<el-input v-model="dialog.rcv.pts.bankno" />
</el-form-item>
<el-form-item label-width="30px">
<el-input
:value="
title != 'elcs.101.001.01'
? dialog.rcv.namelc
: dialog.rcv.pts.jigomc
"
:disabled="title != 'elcs.101.001.01'"
type="textarea"
:rows="2"
/>
<br />
<el-input
:value="
title != 'elcs.101.001.01'
? dialog.rcv.adrelc
: dialog.rcv.pts.dizzhii
"
:disabled="title == 'MT799'"
type="textarea"
:rows="2"
/>
</el-form-item>
<el-form-item label="Reference" label-width="100px">
<el-input disabled v-model="dialog.adrref" />
</el-form-item>
<el-form-item label="Medium" label-width="100px">
<el-input
disabled
style="width: 40%"
v-model="dialog.cortyp"
/>
<el-input
disabled
v-model="dialog.docuil"
style="width: 40%; margin-left: 20px"
/>
</el-form-item>
</c-col>
<c-col>&nbsp;</c-col>
<c-col :span="12" v-if="title != 'MT799'">
<el-form-item
label="Adress Amend"
label-width="120px"
>
<el-input
type="textarea"
v-model="dialog.adrblk"
:rows="4"
/>
</el-form-item>
</c-col>
<c-col :span="12" v-else>
<el-form-item label="BIC">
<el-input disabled v-model="dialog.adrbic" />
</el-form-item>
<el-form-item label="Authenticator"
><el-input disabled v-model="dialog.adrbicaut"
/></el-form-item>
<el-form-item label="Priority"
><el-input disabled v-model="dialog.msgpri"
/></el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="30px">
<el-table
:data="dialog.rcv.ptyinftxt.rows"
size="mini"
stripe
:border="true"
empty-text=" "
max-height="430px"
>
<el-table-column label="Corr.Type" sortable>
</el-table-column>
<el-table-column label="Adressing" sortable>
</el-table-column>
<el-table-column
label="Authentication"
sortable
>
</el-table-column>
</el-table>
</el-form-item>
</c-col>
<c-col v-if="title != 'MT799'"
><el-form-item label="Letter Date">
<el-date-picker
type="date"
v-model="dialog.docdat"
>
</el-date-picker
></el-form-item>
</c-col>
<c-col
><el-form-item label="Contact"
><el-input v-model="dialog.ptcnam"
/></el-form-item>
</c-col>
<c-col :span="22"
><el-form-item
:label="
title == 'MT799'
? 'Sender to Rec. information'
: 'Remark'
"
><el-input
type="textarea"
:rows="10"
:disabled="title == 'MT799'"
:v-model="
title == 'MT799'
? dialog.addtxt
: dialog.remark
"
/></el-form-item>
</c-col>
<c-col :span="2">
<c-button size="mini">... </c-button>
</c-col>
</c-row>
</el-form>
<template #footer>
<span class="dialog-footer">
<c-button type="primary" @click="saveDialog"
>确 定</c-button
>
<c-button @click="centerDialogVisible = false"
>取 消</c-button
>
</span>
</template>
</el-dialog>
</template>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Api from "~/service/Api";
import Utils from "~/utils/index";
import DocUtils from '~/utils/DocUtils'
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
index: 0,
title: "",
dialog: {
rcv: {
pts: {},
ptyinftxt: {},
},
},
centerDialogVisible: false,
stmData: {
columns: [
//注释的已改成静态
"role 收报人 80px",
"pandsc 描述 260px",
//"cortyp 类型",
//"docsnf 报文格式",
//"docuil 语言",
//"apf 传送方式"
],
data: [],
},
};
},
watch: {
"model.trnmod.trndoc.doceot": {
handler(val, oldVal) {
var stm = [];
let k = 0;
for (let i = 0; i < val.length; i++) {
if (val[i].role != "") {
stm[k++] = val[i];
}
}
this.stmData.data = stm
},
immediate: true
}
},
methods: {
saveDialog() {
this.centerDialogVisible = false;
console.log(this.model);
this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog);
this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => {
if(res.data.respCode==SUCCESS){
//TODO
}else{
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
async handleDisplay(index, row,doceot){
//后续要根据快照模式切换请求方式
let cortyp = row.cortyp
let docuil = doceot.docuil;
let docnam = doceot.docnam||'';
docnam = docnam.substr(docnam.indexOf("\\")+1).toLowerCase().replaceAll("\\","_");
let rtnmsg
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
this.model.setmod.msgmod.doccod = row.id
rtnmsg = await Api.post(`${this.requestPrefix}/msgmod_butshw`, this.wrapper())
} else {
this.model.trnmod.trndoc.doccod = row.id
this.model.trnmod.trndoc.cortyp = cortyp
const params = {
index: index
}
rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpan`, this.wrapper(params))
}
if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = rtnmsg.data.setmod_msgmod_docpth;
this.viewurl = viewurl
this.title = "报文"
//window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else if (cortyp == 'ELC') {
Modal.info({
title: '电证报文', content: <div style={{ height: 400, overflow: 'auto' }}><ELCMessage mty={row.id} message={rtnmsg.data["\\trnmod\\trndoc\\docinf"]} /></div>,
width: 1000,
})
}
else {
// let url = rtnmsg.data.trnmod_trndoc_smh_docpth;
this.title = "面函"
let viewurl = "/#/docpan/show";
let XMLdata;
if (row.pandsc.startsWith("elcs.")) {
window.sessionStorage.docXML = ''
window.sessionStorage.docTXT = ''
rtnmsg.data.trnmod_trndoc_doceot[index].doctxt.rows.forEach(element => {
window.sessionStorage.docTXT += element + "\r\n"
});
}
else if (row.pandsc == "MT799") {
window.sessionStorage.docTXT = ''
XMLdata = rtnmsg.data.litbenl1blk
}
else{
//参考后台Doceot.butshw order=1000
let execution = 'P', structure = 'l'
let attr = DocUtils.getDocAttribute(docnam,structure,execution)
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data[attr];
window.sessionStorage.docuil = doceot.docuil;
}
// console.log( window.sessionStorage.docTXT);
// console.log( window.sessionStorage.docXML);
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
this.dialogOpen = true
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
}
},
async handleDetail(index, row) {
const params = {
index: index
}
let rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpanDetail`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
this.title = row.pandsc
this.centerDialogVisible = true,
this.dialog = rtnmsg.data.trnmod_trndoc_doceot[index]
this.index = index
}
}
},
created: function () {},
};
</script>
<style>
</style>
<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 class="eibs-tab">
<!--
<c-col :span="12">
<el-form-item label="ECIFNO">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
-->
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="国内信用证项下开证授信额度:"
prop="liaall.limmod.limpts.wrk.pts.extkey"
style="width:100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
disabled
maxlength="16"
placeholder="请输入External Key of Address"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin:0 5px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onPreperButtxmsel"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width:100%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align:right">
<el-form-item
label="额度类型"
prop="liaall.limmod.limpts.nonrevflg1"
>
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
@change="nonrevflg1Change"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button style="padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onLimptsGet1">
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="合同流水号"
prop="liaall.limmod.limpts.pfcod1"
>
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">-->
<!-- <el-form-item label="开证授信额度主体名称" prop="liaall.limmod.limpts.wrk.pts.nam">-->
<!-- <c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!--
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
查询
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</c-button>
</c-col>
-->
<c-col :span="24" style="">
<c-table :list="model.liaall.limmod.limgrd" :border="true">
<el-table-column prop="flg" label="可否串用" width="70px">
</el-table-column>
<el-table-column prop="shxh" label="序号" width="50px"> </el-table-column>
<el-table-column prop="limtyp" label="额度类型" width="70px">
</el-table-column>
<el-table-column prop="ruzhjg" label="入账机构" width="70px">
</el-table-column>
<el-table-column prop="limref" label="额度编号" width="70px">
</el-table-column>
<el-table-column prop="infref" label="额度明细编号" width="100px">
</el-table-column>
<el-table-column prop="limcodsave" label="额度品种代码" width="100px">
</el-table-column>
<el-table-column prop="limcod" label="品种代码描述" width="100px">
</el-table-column>
<el-table-column prop="cur" label="额度明细币种" width="100px"> </el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px"> </el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px"> </el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px"> </el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px"> </el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px"> </el-table-column>
<el-table-column prop="cpkyck" label="产品可用敞口" width="100px"> </el-table-column>
<el-table-column prop="cpyyck" label="产品已用敞口" width="100px"> </el-table-column>
<el-table-column prop="bxh" label="是否可循环" width="90px"> </el-table-column>
<el-table-column prop="bcy" label="是否可串用" width="90px"> </el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px"> </el-table-column>
<el-table-column prop="credat" label="产品额度生效日期" width="120px"> </el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px"> </el-table-column>
<el-table-column prop="lcpsta" label="额度产品状态" width="100px"> </el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px"> </el-table-column>
<el-table-column prop="fentxt" label="暴露分类说明" width="100px"> </el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px"> </el-table-column>
<el-table-column prop="bfx" label="是否低风险" width="90px"> </el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="24" style="" v-if="false">
<c-table :list="model.liaall.limmod.lmegrd" :border="true">
<el-table-column label="可否串用" width="auto">
</el-table-column>
<el-table-column label="序号" width="auto"> </el-table-column>
<el-table-column label="额度类型" width="auto">
</el-table-column>
<el-table-column label="入账机构" width="auto">
</el-table-column>
<el-table-column label="额度编号" width="auto">
</el-table-column>
<el-table-column label="额度明细编号" width="auto">
</el-table-column>
<el-table-column label="额度品种代码" width="auto">
</el-table-column>
<el-table-column label="品种代码描述" width="auto">
</el-table-column>
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
// import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
tableData: {},
};
},
methods: {
onSeainf() {
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
nonrevflg1Change(){
if (this.model.liaall.limmod.limpts.nonrevflg1 == '1'){
this.model.liaall.limmod.limpts.pfcod1 = "";
}
}
},
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>
<template>
<c-row class="eibs-tab">
<!-- ====================顶部==================== -->
<c-col :span="6" style="margin-left:9px">
<el-form-item label="参考号" label-width="50px">
<c-input
v-model="model.setmod.ref"
maxlength="16"
:readonly="true"
placeholder="请输入our reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="结算金额" label-width="100px">
<c-input
v-model="model.setmod.doccur"
style="width: 100%"
placeholder="CNY"
:readonly="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" label-width="7px">
<c-input
v-model="model.setmod.docamt"
:readonly="true"
placeholder="请输入document amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="类型" label-width="100px">
<c-select
v-model="model.setmod.dspflg"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.dspflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:right">
<!-- <el-form-item label="" label-width="20px"> -->
<c-button style="margin-right:10px" size="small" type="primary" @click="onSetmodDet">
详情
</c-button>
<!-- </el-form-item> -->
</c-col>
<!--
<c-col :span="12">
<el-form-item label="自贸区账号">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自贸区账号"></c-input>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align:center">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
-->
<c-col :span="23" style="margin-left:9px;height:25px">
<el-divider></el-divider>
</c-col>
<!-- ==============中部表格===================== -->
<c-col :span="23" style="height:24px;margin-left:9px">
<el-form-item
class="formItemLabel"
label="Foreign Commission/Charges:"
label-width="300px"
>
</el-form-item>
</c-col>
<c-col :span="23" style="margin-left:9px">
<c-table
style="text-align: center"
:list="model.setmod.setfog.setfol"
:paginationShow="false"
:border="true"
>
<el-table-column label="Payer" prop="ptydbt" width="101px">
<template slot-scope="scope">
<c-select v-model="scope.row.ptydbt">
<el-option
v-for="item in codes.ptydbt"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Payee" width="101px">
<template slot-scope="scope">
<c-select v-model="scope.row.payee">
<el-option
v-for="item in codes.payee"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Source" prop="src" width="70px">
</el-table-column>
<el-table-column label="Disp" prop="dsp" width="76px">
</el-table-column>
<el-table-column
label="Text for Payer"
prop="txtdbt"
width="auto"
>
</el-table-column>
<el-table-column
label="Text for Payee"
prop="txtpay"
width="auto"
>
</el-table-column>
<el-table-column label="Currency" prop="cur" width="93px">
<template slot-scope="scope">
<c-select v-model="scope.row.cur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Amount" prop="amt" width="150px">
</el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right">
<template slot-scope="scope" slot="header">
<c-button
circle
style="padding:4px"
class="el-icon-plus"
size="mini"
@click="addRow(scope)"
>
</c-button>
<c-button
style="padding:4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRow(scope)"
>
</c-button>
</template>
<template slot-scope="scoped">
<c-button
style="margin-left:0"
size="small"
type="primary"
@click="detail1(scoped.$index, scoped.row)"
>详情</c-button
>
</template>
</el-table-column>
</c-table>
</c-col>
<c-col>
<el-dialog :visible.sync="dialogVisible" center>
<c-col>
<el-form :model="dialog" label-width="200px">
<c-col :span="16" >
<el-form-item label="收款人">
<c-select v-model="dialog.payee" style="width: 100%">
<el-option
v-for="item in codes.payee"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="收款人摘要">
<c-input v-model="dialog.txtpay" style="width: 100%"/>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="付款人">
<c-select v-model="dialog.ptydbt" style="width: 100%">
<el-option
v-for="item in codes.ptydbt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="付款人摘要">
<c-input v-model="dialog.txtdbp" style="width: 100%"/>
</el-form-item>
</c-col>
<c-col :span="16">
<c-col :span="18">
<el-form-item label="费用">
<c-select v-model="dialog.cur" style="width: 100%">
<el-option
v-for="item in codes.cur"
:key="item.value"
:labelF="item.label"
:value="item.value"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" label-width="20px">
<c-input v-model="dialog.amt" style="width: 100%"/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="16">
<el-form-item>
<c-checkbox v-model="dialog.forflg">CG00005</c-checkbox>
</el-form-item>
</c-col>
</el-form>
</c-col>
<span slot="footer" class="dialog-footer">
<c-button type="primary" @click="saveDialog">确 定</c-button>
<c-button @click="dialogVisible = false">取 消</c-button>
</span>
</el-dialog>
</c-col>
<!--=================== Own Commission/Charges:================== -->
<c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px">
<el-form-item class="formItemLabel" label="Own Commission/Charges:" label-width="200px"> </el-form-item>
</c-col>
<c-col :span="23" style="margin-left:9px">
<c-table
style="text-align: center"
:list="model.setmod.setfeg.setfel"
:paginationShow="false"
:border="true"
>
<el-table-column label="Role" width="101px">
<template #default="scope">
<c-select v-model="scope.row.rol">
<el-option
v-for="item in codes.setfelRol"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Code" prop="feecod" width="101px">
</el-table-column>
<el-table-column label="Source" prop="src" width="70px">
</el-table-column>
<el-table-column label="Disp" prop="dsp" width="76px">
<template #default="scope">
<c-select v-model="scope.row.dsp" @change="dispDefault(scope.$index+1)">
<el-option
v-for="item in codes.setfeldsp"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Units" prop="unt" width="70px">
</el-table-column>
<el-table-column
label="Long Fee Text"
prop="feetxtinf"
width="auto"
>
</el-table-column>
<el-table-column label="Currency" prop="cur" width="100px">
</el-table-column>
<el-table-column
label="Original Amount"
prop="ogiamt"
width="150px"
>
</el-table-column>
<el-table-column label="Fee Amount" prop="amt" width="150px">
</el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right">
<template slot-scope="scope" slot="header">
<c-button
circle
style="padding:4px"
class="el-icon-plus"
size="mini"
@click="addRow(scope)"
>
</c-button>
<c-button
style="padding:4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRow(scope)"
>
</c-button>
</template>
<template slot-scope="scoped">
<c-button
style="margin-left:0"
size="small"
type="primary"
@click="detail2(scoped.$index, scoped.row)"
>详情</c-button
>
</template>
</el-table-column>
</c-table>
</c-col>
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes"/>
<c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px">
<el-form-item class="formItemLabel" label="Settlement:" label-width="200px">
</el-form-item>
</c-col>
<c-col :span="23" style="margin-left: 9px">
<c-table
style="text-align: center"
:list="model.setmod.setglg.setgll"
:paginationShow="false"
:border="true"
>
<el-table-column label="Mod" prop="modflg" width="46px">
</el-table-column>
<el-table-column label="Role" prop="rol" width="55px">
</el-table-column>
<el-table-column label="in" prop="acccur" width="101px">
<template slot-scope="scope">
<c-select v-model="scope.row.acccur">
<el-option
v-for="item in codes.acccur"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column
label="Amount Paid"
prop="fmtaccamt"
width="120px"
>
</el-table-column>
<el-table-column label="Disp." width="101px">
<template #default="scope">
<c-select v-model="scope.row.dsp">
<el-option
v-for="item in codes.setglldsp"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.value }}</span>
<span style="float: left;margin-left:20px">{{ item.label }}</span>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Account" prop="act" width="auto">
<template slot-scope="scope">
<c-select v-model="scope.row.act">
<el-option
v-for="item in scope.act"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="C" prop="debcdtflg" width="45px">
</el-table-column>
<el-table-column label="Curr." prop="cur" width="55px">
</el-table-column>
<el-table-column
label="Original Amount"
prop="fmtamt"
width="150px"
>
</el-table-column>
<el-table-column label="Rate" prop="rat" width="120px">
</el-table-column>
<el-table-column label="操作" width="135px" fixed="right">
<template slot-scope="scoped">
<c-button
style="margin-left:0"
size="small"
type="primary"
>Get</c-button
>
<c-button
style="margin-left:0"
size="small"
type="primary"
@click="handleDetail(scoped.$index, scoped.row)"
>详情</c-button
>
</template>
</el-table-column>
<!-- <el-table-column label="" width="80px">
<template>
<c-button
style="margin-left:0"
size="small"
type="primary"
>详情</c-button
>
</template> </el-table-column> -->
</c-table>
</c-col>
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg">
</span>
</c-col> -->
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab">
</span>
</c-col> -->
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<span
v-text="model.setmod.setglg.labdspflg"
data-path=".setmod.setglg.labdspflg"
>
</span>
</c-col> -->
<template>
<el-dialog
ref="detpDialog"
:visible.sync="detpDialogVisible"
width="70%"
center
>
<el-form label-width="100px" :model="dialog3">
<c-row>
<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;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
&nbsp;
</c-col>
<c-col :span="12">
<el-form-item label="rollab" >
<c-input v-model="dialog3.rollab" maxlength="3" placeholder="请输入rollab"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="role" >
<c-input v-model="dialog3.rol" maxlength="3" placeholder="请输入role"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="dialog3.act3flg">第三方还款</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButapy">
确定
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="setgll.actp.ptsget.sdamod.dadsnd">
<c-input v-model="dialog3.actp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="Disposition" prop="setgll.dsp" >
<c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External" prop="setgll.setgrp.act.pts.extkey" >
<c-input v-model="dialog3.setgrp.act.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="seainf" >
<c-col :span="18">
<c-input v-model="dialog3.actp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" style="text-align: right">
<c-button size="small" type="primary" @click="onActpDet">
Details
</c-button>
</c-col>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="核心业务代号" >
<c-input v-model="dialog3.acccode" maxlength="4" placeholder="请输入核心业务代号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetgllDetget">
Get
</c-button>
</c-col> -->
<c-col :span="12">
<el-form-item label="账号" >
<c-select v-model="dialog3.act" style="width:100%" placeholder="请选择账号">
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Name of Party" >
<c-input v-model="dialog3.setgrp.act.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="科目代码" >
<c-select v-model="dialog3.cur" style="width:100%" placeholder="请选择科目代码">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="value date" >
<c-date-picker type="date" v-model="dialog3.valdat" style="width:100%" placeholder="请选择value date"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Search type" >
<c-select v-model="dialog3.actpriflg" style="width:100%" placeholder="请选择Search type">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="原始金额">
<c-col :span="8">
<c-select v-model="dialog3.acttrmtyp" style="width:100%" placeholder="请选择原始金额">
</c-select>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-input v-model="dialog3.fmtamt" placeholder="请输入原始金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-select v-model="dialog3.modflg" style="width:100%" placeholder="请选择Modified">
</c-select>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="实际金额">
<c-col :span="8">
<el-form-item label="" label-width="0">
<c-select v-model="dialog3.acccur" style="width:100%" placeholder="请选择Amount handled">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-input v-model="dialog3.fmtaccamt" placeholder="请输入实际金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-input v-model="dialog3.debcdtflg" maxlength="1" placeholder="请输入Debit/Credit"></c-input>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<!-- ---------------------- -->
<c-col :span="23" style="height:24px">
<el-form-item label="Cross信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
&nbsp;
</c-col>
<c-col :span="24">
<el-form-item label="Cross Rate">
<c-col :span="6">
<c-col :span="24">
<el-form-item label="" label-width="20%">
<span>Rate Type</span>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="rattyp"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dcbrattyp"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="scbrattyp"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label="" label-width="20%">
<span>Calculate Rate</span>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.rat" placeholder="请输入rate used"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.dcbextrat" placeholder="请输入Selling Rate"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.scbextrat" placeholder="请输入Buying Rate"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label="" label-width="20%">
<span>From Date</span>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
&nbsp;
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.xrtdatcur" placeholder="请输入xrtdatcur"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.xrtdatacc" placeholder="请输入xrtdatacc"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label="牌价时间">
<c-input v-model="dialog3.xrttim" placeholder="请输入牌价时间"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="卖价" prop="setgll.midrat">
<c-input v-model="dialog3.selrat" placeholder="请输入卖价"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中间价" prop="setgll.midrat">
<c-input v-model="dialog3.midrat" placeholder="请输入中间价"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="买价" prop="setgll.midrat">
<c-input v-model="dialog3.buyrat" placeholder="请输入买价"></c-input>
</el-form-item>
</c-col>
</c-col>
</el-form-item>
</c-col>
<!-- <div>
<c-col :span="12">
<el-form-item label="pre rate type" prop="setgll.selrattyp">
<c-select v-model="dialog3.selrattyp" style="width:100%" placeholder="请选择pre rate type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sel" prop="setgll.preselrat">
<c-input v-model="dialog3.preselrat" placeholder="请输入Sel"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="dialog3.selpct" data-path=".setgll.selpct" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Amount handled" prop="setgll.fmtacccpramt">
<c-input v-model="dialog3.fmtacccpramt" placeholder="请输入Amount handled"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Pre rate type" prop="setgll.buyrattyp">
<c-select v-model="dialog3.buyrattyp" style="width:100%" placeholder="请选择Pre rate type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Buy" prop="setgll.prebuyrat">
<c-input v-model="dialog3.prebuyrat" placeholder="请输入Buy"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="dialog3.buypct" data-path=".setgll.buypct" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="From Date" prop="setgll.xrttim">
<c-input v-model="dialog3.xrttim" maxlength="20" placeholder="请输入From Date"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="dialog3.ratcurlab" data-path=".setgll.ratcurlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Codetable of supported rate types M-iddle, B-uying, S-elling, I-nput" prop="setgll.rattyp">
<c-select v-model="dialog3.rattyp" style="width:100%" placeholder="请选择Codetable of supported rate types M-iddle, B-uying, S-elling, I-nput">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="rate used" prop="setgll.rat">
<c-input v-model="dialog3.rat" placeholder="请输入rate used"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Selling Rate" prop="setgll.selrat">
<c-input v-model="dialog3.selrat" placeholder="请输入Selling Rate"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="dialog3.dcbratlab" data-path=".setgll.dcbratlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Document Cur to Base RATe TYPe" prop="setgll.dcbrattyp">
<c-select v-model="dialog3.dcbrattyp" style="width:100%" placeholder="请选择Document Cur to Base RATe TYPe">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Cur to Base EXTernal RATe" prop="setgll.dcbextrat">
<c-input v-model="dialog3.dcbextrat" placeholder="请输入Document Cur to Base EXTernal RATe"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Begin-Date of XRT-Rate of CUR" prop="setgll.xrtdatcur">
<c-date-picker type="date" v-model="dialog3.xrtdatcur" style="width:100%" placeholder="请选择Begin-Date of XRT-Rate of CUR"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="setgll.xrtgetdcb.sdamod.seainf">
<c-input v-model="dialog3.xrtgetdcb.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Middle Rate" prop="setgll.midrat">
<c-input v-model="dialog3.midrat" placeholder="请输入Middle Rate"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="dialog3.scbratlab" data-path=".setgll.scbratlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Settle Cur to Base RATe TYPe" prop="setgll.scbrattyp">
<c-select v-model="dialog3.scbrattyp" style="width:100%" placeholder="请选择Settle Cur to Base RATe TYPe">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Settle Cur to Base EXTernal RATe" prop="setgll.scbextrat">
<c-input v-model="dialog3.scbextrat" placeholder="请输入Settle Cur to Base EXTernal RATe"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Begin-Date of XRT-Rate of ACCCUR" prop="setgll.xrtdatacc">
<c-date-picker type="date" v-model="dialog3.xrtdatacc" style="width:100%" placeholder="请选择Begin-Date of XRT-Rate of ACCCUR"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="setgll.xrtgetscb.sdamod.seainf">
<c-input v-model="dialog3.xrtgetscb.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Buying Rate" prop="setgll.buyrat">
<c-input v-model="dialog3.buyrat" placeholder="请输入Buying Rate"></c-input>
</el-form-item>
</c-col>
</div> -->
<!-- ---------------------- -->
<c-col :span="23" style="height:24px">
<el-form-item label="交易信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
&nbsp;
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="交易主体" prop="setgll.trnman">
<c-select v-model="dialog3.trnman" style="width:100%" placeholder="请选择交易主体">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TRADE OUT" prop="setgll.trdout">
<c-select v-model="dialog3.trdout" style="width:100%" placeholder="请选择TRADE OUT">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TRADE IN" prop="setgll.trdint">
<c-select v-model="dialog3.trdint" style="width:100%" placeholder="请选择TRADE IN">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="TXT" prop="setgll.txt">
<c-input type="textarea" v-model="dialog3.txt" maxlength="100" show-word-limit placeholder="请输入TXT" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TXT1" prop="setgll.txt1">
<c-input type="textarea" v-model="dialog3.txt1" maxlength="100" show-word-limit placeholder="请输入TXT1" ></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="dialog3.modifyflg">Modify flg</c-checkbox>
</c-col> -->
<!-- ---------------------- -->
<c-col :span="23" style="height:24px">
<el-form-item label="交易详情" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
&nbsp;
</c-col>
<c-col :span="12">
<el-form-item label="交易性质" >
<c-col :span="20">
<c-input v-model="dialog3.trntyp" maxlength="6" placeholder="请输入交易性质"></c-input>
</c-col>
<c-col :span="4" style="text-align:right">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetgllCodsel">
</c-button>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国别代码" prop="setgll.ctycod">
<c-col :span="20">
<c-input v-model="dialog3.ctycod" maxlength="3" placeholder="请输入国别代码"></c-input>
</c-col>
<c-col :span="4" style="text-align:right">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetgllCtysel">
</c-button>
</c-col>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Which MT to beneficiary institution" prop="setgll.sftmt">
<c-select v-model="dialog3.sftmt" style="width:100%" placeholder="请选择Which MT to beneficiary institution">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Direct payment one message" prop="setgll.dirindflg">
<c-select v-model="dialog3.dirindflg" style="width:100%" placeholder="请选择Direct payment one message">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="对方名称" prop="setgll.oppnam">
<c-input v-model="dialog3.oppnam" maxlength="100" placeholder="请输入对方名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国内地区代码" prop="setgll.discod">
<c-input v-model="dialog3.discod" maxlength="6" placeholder="请输入国内地区代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="对方账号" prop="setgll.oppacc">
<c-input v-model="dialog3.oppacc" maxlength="35" placeholder="请输入对方账号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="虚拟号账号" prop="setgll.xzhacc">
<c-input v-model="dialog3.xzhacc" maxlength="40" placeholder="请输入虚拟号账号"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
取消
</c-button>
</c-col> -->
<c-col :span="12">
<el-form-item label="对方银行代码" prop="setgll.oppbnk">
<c-input v-model="dialog3.oppbnk" maxlength="14" placeholder="请输入对方银行代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="虚拟号名称" prop="setgll.xzhnam">
<c-input v-model="dialog3.xzhnam" maxlength="50" placeholder="请输入虚拟号名称"></c-input>
</el-form-item>
</c-col>
</c-row>
</el-form>
</el-dialog>
</template>
</c-row>
</template>
<script>
// import Event from "~/model/Ditopn/Event";
import commonProcess from "~/mixin/commonProcess";
import SetpanDialog from "./SetpanDialog.vue";
import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
inject: ['root'],
components: { SetpanDialog },
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
dialogVisible: false,
dialog: {
payee: "",
ptydbt: "",
txtpay: "",
txtdbt: "",
CG00005: "",
},
dialog2: {
feetxtinf:"",
feetxt:"",
},
index: 0,
detpDialogVisible : false,
rattyp:'',
dcbrattyp:'',
scbrattyp:'',
dialog3:{
setgrp:{
act:{
pts:{
}
}
},
actp:{
ptsget:{
sdamod:{
}
}
},
},
};
},
methods: {
//第一个表格
addRow() {
let newRow = { ...dialog };
this.model.setmod.setfog.setfol.push(newRow);
},
removeRow() {
this.model.setmod.setfog.setfol.pop();
},
saveDialog() {
this.dialogVisible = false;
this.model.setmod.setfog.setfol[this.index] = this.dialog;
},
// 第二个表格
detail1(index, row) {
this.executeDefault("setfel/det").then(res=>{
this.dialogVisible = true;
this.dialog = row;
this.index = index;
})
},
dispDefault(index){
this.executeDefault(`setmod.setfeg.setfel(${index}).mac`).then(res=>{
Utils.copyValueFromVO(this.model, res.data)
})
},
// 第二个表格
detail2(index, row) {
const that = this;
const rule = "setmod.setfeg.setfel("+(index+1)+").det";
that.executeRule(rule).then(res=>{
that.$refs.setpanDialog.visiable = true;
that.$refs.setpanDialog.formData = Object.assign({}, that.model.setmod.setfeg.setfel[index]);
that.index = index;
that.dialog2 = row
})
},
// 第三个表格
async handleDetail(index, row) {
const that = this;
const rule = "setmod.setglg.setgll("+(index+1)+").det";
let rtnmsg = await this.executeRule(rule)
if (rtnmsg.respCode == SUCCESS) {
that.$refs.detpDialog.visiable = true;
this.detpDialogVisible = true;
that.dialog3 = Object.assign({}, that.model.setmod.setglg.setgll[index]);
that.index = index;
that.rattyp = that.strCalCode(that.dialog3.rattyp, that.codes.ratetype);
that.dcbrattyp = that.strCalCode(that.dialog3.dcbrattyp, that.codes.ratetype);
that.scbrattyp = that.strCalCode(that.dialog3.scbrattyp, that.codes.ratetype);
}
},
strCalCode(str, code){
var result = '';
for(let i = 0; i < code.length; i++){
if(code[i].value === str){
result = code[i].label;
continue;
}
}
if(result === ''){
return str;
}else{
return result;
}
},
onMtdbutButapy(){
},
onActpDet(){
},
onSetgllCodsel(){
},
onMtdbutButcan(){
},
onSetgllCtysel(){
},
onSetgllDetget(){
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
created: function () {},
};
</script>
<style scoped>
.el-col >>> .el-divider--horizontal {
margin-top: 10px;
}
.formItemLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
}
.messageLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
font-size: 12px;
}
</style>
<template>
<el-dialog
v-if="visiable"
:visible.sync="visiable"
center
fullscreen
destroy-on-close
:before-close="beforeClose"
>
<c-col>
<el-form v-model="formData" inline>
<c-col>
<c-col :span="8">
<el-form-item label="费用代码">
<c-input v-model="formData.feecod" disabled />
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="中文描述">
<c-input v-model="formData.feetxt" style="width: 350px" />
<c-input
v-model="formData.modflg"
disabled
style="width: 350px; margin-left: 100px"
/>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="6">
<el-form-item label="详细信息">
<c-input v-model="formData.feetxtinf" />
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="起算时间">
<!-- <c-input v-model="formData.dat1" type="date" /> -->
<c-date-picker
type="date"
v-model="formData.dat1"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择起算时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="结束时间">
<c-date-picker
type="date"
v-model="formData.dat2"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择结束时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="收取份数">
<c-input v-model="formData.unt" />
</el-form-item>
</c-col>
</c-col>
<c-col>
<el-form-item label="费用换算">
<c-select v-model="formData.usrcur">
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<c-input
v-model="formData.usramt"
style="width: 200px; margin-left: 50px"
/>
</el-form-item>
</c-col>
<c-col>
<c-col :span="8">
<el-form-item label="应收费用">
<c-input
v-model="formData.cur"
disabled
style="width: 100px; margin-right: 10px"
/>
<c-input
v-model="formData.ogiamt"
disabled
style="width: 200px"
/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="优惠百分比">
<c-input v-model="formData.dctrat">
<template #append>%</template>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Period calculation starting at">
<c-input v-model="formData.datrefbeg" disabled />
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="8">
<el-form-item label="付款方">
<c-select v-model="formData.rol">
<el-option
v-for="item in codes.setfelRol"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="优惠金额">
<c-input v-model="formData.dctamt" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="优惠后实收费用金额">
<c-input v-model="formData.amt" />
</el-form-item>
</c-col>
</c-col>
<c-col>
<el-form-item
:label="
idx == 0
? 'Per mile fee depending on duration'
: 'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.'
"
/>
</c-col>
<c-col :span="12">
<c-col v-if="idx == 0">
<c-col>
<el-form-item label="千分率">
<c-input v-model="formData.wrkfec.ratcal" style="width: 200px" />
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最小值">
<c-select v-model="formData.wrkfec.mincur" style="width: 200px">
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<!-- v-model="formData.fecp1.fec.minamt" -->
<c-input
style="width: 200px"
v-model="formData.wrkfec.minamt"
/>
<!-- <c-input
style="width: 200px"
v-model="formData.wrkfec.minfcc"
/> -->
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最大值">
<c-select v-model="formData.wrkfec.maxcur" style="width: 200px">
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<c-input
style="width: 200px;"
v-model="formData.wrkfec.maxamt"
/>
<!-- <c-input
style="width: 200px"
v-model="formData.wrkfec.maxfcc"
/> -->
</el-form-item>
</c-col>
<c-col>
<el-form-item>
<c-checkbox label="CG000652" v-model="formData.fecp1.jnwshx" />
</el-form-item>
</c-col>
</c-col>
<c-col v-else>
<el-form-item label="Amount">
<c-select v-model="formData.wrkfec.ratcur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<c-input style="width:200px;" v-model="formData.wrkfec.untamt">
</c-input>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="销项税">
<c-input
v-model="formData.fecp1.taxrat"
disabled
style="width: 200px"
/>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="客户属性">
<c-input
v-model="formData.fecp1.custyp"
disabled
style="width: 200px"
/>
</el-form-item>
</c-col>
</c-col>
<c-col v-if="idx == 0" :span="12">
<el-form-item label="Caiculation Base">
<c-input
v-model="formData.wrkfec.calcbs"
disabled
style="width: 200px"
/>
</el-form-item>
<br />
<el-form-item label="Calc.Period">
<c-select v-model="formData.wrkfec.pertyp">
<el-option
v-for="item in codes.pertyp"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
<br />
<el-form-item label="Min.Periods">
<c-input v-model="formData.wrkfec.permin" style="width: 200px" />
</el-form-item>
<br />
<el-form-item label="Rates to Apply per Period Tier" />
<br />
<el-form-item label="from Perimod">
<c-input style="width: 200px" v-model="formData.wrkfec.perbegtr2" />
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="formData.wrkfec.perrattr2"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="formData.wrkfec.perbegtr3"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="formData.wrkfec.perrattr3"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="formData.wrkfec.perbegtr4"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="formData.wrkfec.perrattr4"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="formData.wrkfec.perbegtr5"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="formData.wrkfec.perrattr5"
/>
</el-form-item>
</c-col>
<c-col>&nbsp;</c-col>
<c-col :span="18" :offset="6">
<el-form-item label="收费的说明信息">
<c-input
v-model="formData.inftxt"
disabled
rows="10"
type="textarea"
style="width: 500px;"
/>
</el-form-item>
</c-col>
</el-form>
<c-col :span="4" :offset="8">
<c-button type="primary" @click="saveDialog">
确 定
</c-button>
</c-col>
<c-col :span="6">
<c-button @click="visiable = false">取 消</c-button>
</c-col>
<c-col>&nbsp;</c-col>
</c-col>
</el-dialog>
</template>
<script>
export default {
props: {
model: Object,
idx: Number,
codes: Object,
},
data() {
return {
formData: {},
visiable: false,
};
},
methods: {
saveDialog() {
this.model.setmod.setfeg.setfel[this.idx] = this.formData;
this.visiable = false;
},
beforeClose(done) {
this.visiable = false;
done()
}
},
};
</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