Commit fdd41b07 by xionglin

brtlat前端页面修改

parent f52dfbe3
export default {
buildPtspta (ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.brdgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.apl));
}
if (model.brdgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LID',
// ownref: model.brdgrp.rec.ownref,
// expdat: model.lidgrp.rec.expdat,
// branchInr: model.brdgrp.rec.branchInr,
// hndtyp: model.brdgrp.rec.hndtyp,
// gartyp: model.brdgrp.rec.gartyp,
// fingua: model.brdgrp.rec.fingua,
// segtyp: model.brdgrp.ghd.segtyp,
// fromflg: model.brdgrp.rec.fromflg,
// othersno: model.brdgrp.rec.othersno,
// sndto: model.brdgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
// giduil: model.brdgrp.rec.giduil,
// purpos: model.brdgrp.rec.purpos,
// revflg: model.brdgrp.rec.revflg,
// cnfsta: model.brdgrp.rec.cnfsta,
// },
// cbsMap: {
// MAX: model.brdgrp.cbs.max,
// OPN1: model.brdgrp.cbs.opn1,
// MAC: model.brdgrp.cbs.mac,
// MAC2: model.brdgrp.cbs.mac2,
// OPC2: model.brdgrp.cbs.opc2,
// CNF: model.brdgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj
},
buildSetfeg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
};
return params
},
buildSetglg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
buildGlentry (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params
},
buildEngp (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
},
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
};
return params
}
}
\ No newline at end of file
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
import setmod from '~/components/business/setmod/event';
import glentry from '~/components/business/glentry/event';
import engp from '~/components/business/engp/event';
import docpan from '~/components/business/docpan/event';
import ccvpan from '~/components/business/ccvpan/event';
import limitbody from '~/components/business/limitbody/event';
import doctre from '~/components/business/doctre/event';
import Utils from "~/utils";
import buildFn from './buildCommons.js';
export default {
mixins: [commonFunctions],
methods: {
...setmod,
...glentry,
...engp,
...docpan,
...ccvpan,
...limitbody,
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
const res = await Api.post('/service/brtlat/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
});
if (!res.data) {
return
}
this.copyValueFromVoData(this.model, res.data)
this.copyValueFromVoData(this.model.setmod.setfeg, res.data.setfeg)
this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) {
let keysList = Object.keys(model)
keysList.map((key) => {
if (data[key]) {
if (Utils.typeOf(model[key]) === 'Object') {
this.copyValueFromVoData(model[key], data[key])
} else {
this.$set(model, key, data[key])
}
}
})
},
async tabClick(tab) {
if (this.isInDisplay) {
return;
}
let name = tab.name;
switch (name) {
case 'ccvpan':
let ccvpanRequest = buildFn.buildCcvpan(this.model, this.trnName);
this.processLiaccv(ccvpanRequest);
break;
case 'engp':
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName);
});
break;
case 'docpan':
let docpanRequest = buildFn.buildDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest);
break;
case 'glepan':
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
case 'limitbody':
let limitbodyRequest = buildFn.buildLimitbody(this.model, this.trnName);
this.processLimitbody(limitbodyRequest);
break;
case 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
},
buildLiaccv () {
let params = {
...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg,
oldamt: this.model.liaccv.oldamt,
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) {
let reqParams = {}
switch (emitParams.code) {
case 'processMethods':
reqParams = buildFn.buildSetglg(this.model, this.trnName);
this.calcPayDetail(reqParams)
break
case 'changeDsp':
let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list};
this.setgllAccts(setglgRequest, index);
break
default:
return
}
},
detail1(index, row) {
this.executeDefault("setfel/det").then((res) => {
this.dialogVisible = true;
this.dialog = row;
this.index = index;
});
},
},
};
import Pts from '~/model/Common/Pts';
import Pub from '~/model/Public';
export default class Brtlat{
constructor () {
this.data = {
brtapll1blk:"", // XMLPanel brtapll1的内置block .brtapll1blk
addbcb: {
gitamermk: '',
gitamecho: '',
},
brdgrp:{
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
},
rec: {
tenmaxday: '',
relgodflg: '',
advtyp: '',
docflg: '',
docsta: '',
relgoddat: '',
reltyp: '',
igndisflg: '',
tramod: '',
totdat: '',
nam: '',
rcvdat: '',
approvcod: '',
ownref: '',
rtoaplflg: '',
ngrcod: '',
disdat: '',
blnum: '',
trpdocnum: '',
expdat: '',
tradat: '',
trpdoctyp: '',
matdat: '',
advdat: '',
stadat: ''
},
cbs:{
max:{
cur:"", // 单据金额 .brdgrp.cbs.max.cur
amt:"", // 单据金额 .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
},
blk: {
docdisflg: '',
notpty: '',
roggod: '',
pordis: '',
aplins: '',
setinsbr: '',
voynum: '',
vesnam: '',
docdis: '',
delplc: '',
carnam: '',
prsdoc: '',
comcon: '',
porlod: '',
relstoadr: ''
},
},
lidgrp:{
rec:{
ownref:"", // 信用证编号 .lidgrp.rec.ownref
expdat:"", // Date of Expiry .lidgrp.rec.expdat
},
cbs:{
opn1:{
cur:"", // Currency .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
},
brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
seainf:"", // .brtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .brtp.matp.mattxtlab
},
shpp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.shpp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.shpp.ptsget.sdamod.dadsnd
},
},
},
cre732flg: '',
furide: '',
connum: '',
cre752flg: '',
},
gleflg:"", // 系统内付款且过�'� .gleflg
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import Coninfp from "~/views/Public/Coninfp";
import Addbcb1 from "./Addbcb1";
export default {
components: {
"m-coninfp": Coninfp,
"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["addbcb1"],
};
},
methods: {
},
created: function () { },
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- S0000003 : 货物税号 DE!-->
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="">
授信条件对于本笔修改项下有无特殊规定:
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="GITAMECHO" prop="addbcb.gitamecho">
<c-select
v-model="model.addbcb.gitamecho"
style="width: 100%"
placeholder="请选择"
:code="codes.gitamecho"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="GITAMERMK" prop="addbcb.gitamermk">
<c-input
:disabled="model.addbcb.gitamecho=='无特殊规定'"
type="textarea"
v-model="model.addbcb.gitamermk"
maxlength="34"
show-word-limit
placeholder="请输入GITAMERMK"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1"> </c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import event from '../event'
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel brtapll1的内置block" prop="brtapll1blk">
<c-input type="textarea" v-model="model.brtapll1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel brtapll1的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<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.newamt">
<c-input v-model="model.liaall.liaccv.newamt" placeholder="请输入合同金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<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="保证金实收比例" prop="liaall.liaccv.relcshpct">
<c-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></c-input>
</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" prop="liaall.liaccv.pctresamt">
<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">
<c-button size="small" type="primary" @click="onLiaccvAdd">
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="12">
<el-form-item label="金额总和" prop="liaall.liaccv.totcovamt">
<c-input v-model="model.liaall.liaccv.totcovamt" placeholder="请输入金额总和"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Information " prop="liaall.liaccv.addinf">
<c-input type="textarea" v-model="model.liaall.liaccv.addinf" maxlength="70" show-word-limit placeholder="请输入Additional Information " ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel cmnsetl1的内置block" prop="setmod.cmnsetl1blk">
<c-input type="textarea" v-model="model.setmod.cmnsetl1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel cmnsetl1的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButapy">
确定
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="减少的金额" prop="setmod.redamt">
<c-input v-model="model.setmod.redamt" placeholder="请输入减少的金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="减少结算金额" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入减少结算金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="注释" prop="setmod.redamttxt">
<c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit placeholder="请输入注释" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
取消
</c-button>
</c-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="保证金账户" prop="liaall.liaccv.dnfmod.kehuzh">
<c-input v-model="model.liaall.liaccv.dnfmod.kehuzh" maxlength="21" placeholder="请输入保证金账户"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDnfmodGet">
查询
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="操作类型" prop="liaall.liaccv.dnfmod.ccvtyp">
<c-select v-model="model.liaall.liaccv.dnfmod.ccvtyp" style="width:100%" placeholder="请选择操作类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="支取类型" prop="liaall.liaccv.dnfmod.zhqtyp">
<c-select v-model="model.liaall.liaccv.dnfmod.zhqtyp" style="width:100%" placeholder="请选择支取类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="支取次数" prop="liaall.liaccv.dnfmod.zhqucs">
<c-input v-model="model.liaall.liaccv.dnfmod.zhqucs" maxlength="2" placeholder="请输入支取次数"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="部分提支金额" prop="liaall.liaccv.dnfmod.tizamt">
<c-input v-model="model.liaall.liaccv.dnfmod.tizamt" placeholder="请输入部分提支金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="业务代号" prop="liaall.liaccv.dnfmod.yewudh">
<c-input v-model="model.liaall.liaccv.dnfmod.yewudh" maxlength="4" placeholder="请输入业务代号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="本金转入账户" prop="liaall.liaccv.dnfmod.pridsp">
<c-select v-model="model.liaall.liaccv.dnfmod.pridsp" style="width:100%" placeholder="请选择本金转入账户">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="本金转入账户" prop="liaall.liaccv.dnfmod.zhruzh">
<c-select v-model="model.liaall.liaccv.dnfmod.zhruzh" style="width:100%" placeholder="请选择本金转入账户">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="起存金额" prop="liaall.liaccv.dnfmod.qicuje">
<c-input v-model="model.liaall.liaccv.dnfmod.qicuje" placeholder="请输入起存金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDnfmodQcget">
获取
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="利息转入账户" prop="liaall.liaccv.dnfmod.intdsp">
<c-select v-model="model.liaall.liaccv.dnfmod.intdsp" style="width:100%" placeholder="请选择利息转入账户">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="利息转入账户" prop="liaall.liaccv.dnfmod.lxzyzh">
<c-select v-model="model.liaall.liaccv.dnfmod.lxzyzh" style="width:100%" placeholder="请选择利息转入账户">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="帐户余额" prop="liaall.liaccv.dnfmod.zhhuye">
<c-input v-model="model.liaall.liaccv.dnfmod.zhhuye" placeholder="请输入帐户余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="8023STREAM" prop="liaall.liaccv.dnfmod.stm8023">
<c-input v-model="model.liaall.liaccv.dnfmod.stm8023" placeholder="请输入8023STREAM"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<!-- ====================左边======================= -->
<c-col :span="12" class="col-left">
<c-col :span="24">
<c-col :span="21">
<el-form-item label="不符点" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" :disabled="model.brdgrp.blk.docdisflg==''?true:false" rows="5"></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel" :disabled="model.brdgrp.blk.docdisflg==''?true:false">
...
</c-button>
</c-col>
</c-col>
<c-col :span="21">
<el-form-item label="注释和结论" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入注释和结论" rows="5" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="21">
<el-form-item label="结算指示" prop="brdgrp.blk.setinsbr">
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit placeholder="请输入结算指示" rows="3" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel" disabled>
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-docpre :model="model"
:argadr="{
path:'brdgrp.blk.prsdoc',
grp:'brtp',
code:'docpre'
}"
></c-docpre>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.brdgrp.rec.igndisflg" disabled style="float: left;">忽略不符点</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled style="float: left;">录入不符点</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收到的通知类型" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择收到通知类型" :code="codes.advtyp" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" placeholder="请选择Date to be Paid" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点通知日期" prop="brdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择不符点通知日期" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.brdgrp.rec.approvcod" disabled style="float: left;">Documents on Approval Basis</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" v-show="false">
<el-form-item>
<c-checkbox v-model="model.brtp.cre752flg" disabled style="float: left;">创建 752</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.brtp.cre732flg" disabled style="float: left;">创建 MT 732</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12" v-show="false">
<el-form-item label="Further Identification" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" placeholder="请选择Further Identification" disabled>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import event from "../event"
import Docpre from "~/views/Public/Docpre"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
components:{
"c-docpre":Docpre,
},
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-row >
<c-col :span="24">
<!---------------------------左边--------------------------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据参考号" prop="brdgrp.rec.ownref">
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额" disabled :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="brdgrp.cbs.max.amt" label-width="5px">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur">
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额" disabled :code="codes.cur"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="brdgrp.cbs.opn1.amt" label-width="5px">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="到单日期" prop="brdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="通知到单日期" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请选择Date of Advice of Payment" disabled></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="远期单据到期日" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开始日期" prop="brdgrp.rec.stadat">
<c-date-picker type="date" v-model="model.brdgrp.rec.stadat" style="width:100%" placeholder="请选择远期单据到期日" disabled></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据类型" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型" :code="codes.docflg" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="期限(天)" prop="brdgrp.rec.tenmaxday">
<c-input v-model="model.brdgrp.rec.tenmaxday" placeholder="请输入Tenor day" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态" :code="codes.docsta1" disabled>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!---------------------------右边--------------------------->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="到期日" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择日期" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur">
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请选择币种" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="lidgrp.cbs.opn1.amt" label-width="5px">
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据简略信息" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入单据简略信息" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="申请人" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="brdgrp.apl.pts.nam" label-width="5px">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="受益人" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="brdgrp.ben.pts.nam" label-width="5px">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="交单行" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="brdgrp.prb.pts.nam" label-width="5px">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel prtswtp的内置block" prop="trnmod.docimm.prtswtpblk">
<c-input type="textarea" v-model="model.trnmod.docimm.prtswtpblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtswtp的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Message as stream" prop="trnmod.docimm.ascin">
<c-input v-model="model.trnmod.docimm.ascin" placeholder="请输入Message as stream"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel prtswtrp的内置block" prop="trnmod.docimm.prtswtrpblk">
<c-input type="textarea" v-model="model.trnmod.docimm.prtswtrpblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtswtrp的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Display" prop="mtabut.syswrn.dsp">
<c-input v-model="model.mtabut.syswrn.dsp" placeholder="请输入Display"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButok">
确认
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButcan">
取消
</c-button>
</c-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="偿还垫款" name="utlp">
<m-utlp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="概览信息" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="不符点" name="docpre">
<m-docpre :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="装运信息" name="shpdet">
<m-shpdet :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Utlp from "./Utlp";
import Ovwp from "./Ovwp";
import Docpre from "./Docpre";
import Shpdet from "./Shpdet";
import event from '../event';
export default {
components: {
"m-utlp":Utlp ,
"m-ovwp": Ovwp,
"m-docpre": Docpre,
"m-shpdet": Shpdet,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["utlp"],
};
},
}
</script>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel xmldoc的内置block" prop="trnmod.docimm.xmldocblk">
<c-input type="textarea" v-model="model.trnmod.docimm.xmldocblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel xmldoc的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="tabClick"
>
<el-tab-pane label="业务信息" name="total">
<c-content>
<m-total :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" :buildLiaccv="buildLiaccv" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Brtlat from "../model";
import event from '../event';
import Addbcb from "./Addbcb";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "../model/check";
import Brtapll1 from "./Brtapll1";
import Prtswtr from "./Prtswtr";
import Prtswtrp from "./Prtswtrp";
import Xmldoc from "./Xmldoc";
import Prtswtp from "./Prtswtp";
import Dnfp from "./Dnfp";
import Detp from "./Detp";
import Cmnsetl1 from "./Cmnsetl1";
import Syswrndisplay from "./Syswrndisplay";
import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import Total from "./Total"
export default {
name: "Brtlat",
components: {
"m-brtapll1": Brtapll1,
"m-prtswtr": Prtswtr,
"m-prtswtrp": Prtswtrp,
"m-xmldoc": Xmldoc,
"m-prtswtp": Prtswtp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-addbcb": Addbcb,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-dnfp": Dnfp,
"m-setmod": Setmod,
"m-detp": Detp,
"m-glentry": Glentry,
"m-cmnsetl1": Cmnsetl1,
"m-syswrndisplay": Syswrndisplay,
"m-limitbody": Limitbody,
"m-total": Total
},
provide() {
return {
root: this,
};
},
mixins: [event, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "total",
trnName: "brtlat",
model: new Brtlat().data,
rules: Check,
codes: {
...CodeTable,
},
};
},
mounted () {
this.init()
},
};
</script>
<style></style>
......@@ -27,5 +27,6 @@ const Business = [
{ path: 'gitfre', component: () => import('~/business/gitfre/views'), name: 'gitfre', meta: { title: '保函自由格式报文' } },
{ path: 'fctopn', component: () => import('~/business/fctopn/views'), name: 'fctopn', meta: { title: '保证金收取' } },
{ path: 'brtlat', component: () => import('~/business/brtlat/views'), name: 'brtlat', meta: { title: '进口信用证单据偿还垫款' } },
]
export default Business
\ No newline at end of file
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