Commit 5eeaeec6 by xionglin

letnot

parent b57124e1
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.ledgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.apl));
}
if (model.ledgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.adv));
}
if (model.ledgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LED',
ownref: model.ledgrp.rec.ownref,
opndat: model.ledgrp.rec.opndat,
expdat: model.ledgrp.rec.expdat,
branchInr: model.ledgrp.rec.branchInr,
hndtyp: model.ledgrp.rec.hndtyp,
gartyp: model.ledgrp.rec.gartyp,
fingua: model.ledgrp.rec.fingua,
// segtyp: model.ledgrp.ghd.segtyp,
fromflg: model.ledgrp.rec.fromflg,
othersno: model.ledgrp.rec.othersno,
sndto: model.ledgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.ledgrp.rec.giduil,
purpos: model.ledgrp.rec.purpos,
revflg: model.ledgrp.rec.revflg,
cnfsta: model.ledgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.ledgrp.cbs.max,
OLDMAX: model.ledgrp.cbs.oldmax,
MAX2: model.ledgrp.cbs.max2,
NOM1: model.ledgrp.cbs.nom1,
OPN1: model.ledgrp.cbs.opn1,
MAC: model.ledgrp.cbs.mac,
MAC2: model.ledgrp.cbs.mac2,
OPC2: model.ledgrp.cbs.opc2,
CNF: model.ledgrp.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: 'LED',
objinr: model.ledgrp.rec.objinr,
ownref: model.ledgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LED',
objinr: model.ledgrp.rec.objinr,
ownref: model.ledgrp.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 Utils from '~/utils';
import commonFunctions from '~/mixin/commonFunctions.js';
import buildFn from './buildCommons.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';
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 loading = this.loading();
const res = await Api.post('/service/letnot/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
});
loading.close();
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;
}
},
// 获取弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.ledgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
this.root.$refs['etyDialog'].show = true;
this.root.promptData.data = res.data.ptaInfos;
this.root.promptData.type = type;
}
},
// 选中letnot弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.ledgrp, row.role.toLowerCase(), res.data);
}
},
//获取信用证编号
async onLitpButgetref() {
let params = {
ptainr: this.model.ledgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/letnot/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.ledgrp.rec.ownref = res.data;
}
},
// 初始化开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
letp: {
swiftflg: this.model.letp.swiftflg,
},
ledgrp: {
rec: {
purpos: this.model.ledgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
// let res = await Api.post('/service/litopn/initHndtyp', params);
// if (res.respCode == SUCCESS) {
// this.$set(this.codes, 'voHndtyp', res.data);
// }
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
apprulChange(v) {
if (v !== 'OTHR') {
this.model.ledgrp.rec.apprultxt = ''
}
},
openAddAmount(val){
if(val ==='' && !(this.model.ledgrp.cbs.max2.amt =='0.000'&& this.model.ledgrp.blk.addamtcov === '') ){
this.$confirm('是否确定要删除此合同的附加金额?','提示',{
confirmButtonText: '是',
cancelButtonText: '否',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('letp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
},
};
<template>
<div class="eibs">
<!-- ====================左边======================= -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="13">
<el-form-item label="附加金额" prop="ledgrp.cbs.max2.cur">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择附加金额" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max2.amt">
<c-input-currency v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入附加金额"
@keyup.enter.native="$event.target.blur()"></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur">
<c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn2.amt">
<c-input-currency v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount" disabled></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="140" show-word-limit
placeholder="请输入Covered" rows="4"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [event],
data() {
return {
}
},
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="20">
<el-form-item label="附加条款" prop="ledgrp.blk.adlcnd">
<c-input
type="textarea"
:rows="20"
v-model="model.ledgrp.blk.adlcnd"
maxlength="52000"
show-word-limit
placeholder="请输入附加条款"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onAdlcndButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.adlcnd.buttxmsel', null, null,{TXT: 'ledgrp.blk.adlcnd'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
<c-col :span="24">
<el-form-item prop="ledgrp.rec.spcbenflg" class="checkbox-left" >
<c-checkbox v-model="model.ledgrp.rec.spcbenflg"
:disabled="model.ledgrp.blk.spcben!=''">
受益人特殊付款条款</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="ledgrp.rec.spcrcbflg" class="checkbox-left">
<c-checkbox v-model="model.ledgrp.rec.spcrcbflg"
:disabled="model.ledgrp.blk.spcrcb!=''">
收款银行特殊付款条款</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="ledgrp.rec.redclsflg" class="checkbox-left">
<c-checkbox v-model="model.ledgrp.rec.redclsflg">
红、绿条款选项
</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item label="付款、承兑、议付银行指示" prop="ledgrp.blk.insbnk">
<c-input
type="textarea"
:rows="5"
v-model="model.ledgrp.blk.insbnk"
maxlength="780"
show-word-limit
placeholder="付款、承兑、议付银行指示"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onInsbnkButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.insbnk.buttxmsel', null, null,{TXT: 'ledgrp.blk.insbnk'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</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">
<el-collapse v-model="activeNames" @change="handleChange">
<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 "~/components/business/coninfp/views";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- Description of Goods -->
<c-col :span="20">
<el-form-item label="货物描述" prop="ledgrp.blk.lcrgod">
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrgod"
:rows="30"
maxlength="52000"
show-word-limit
placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onLcrgodButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.lcrgod.buttxmsel', null, null,{TXT: 'ledgrp.blk.lcrgod'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
<br />
<c-col :span="20">
<el-form-item label="货物种类 " prop="ledgrp.rec.stagod">
<c-select
v-model="model.ledgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型 "
:code="codes.godcod"
>
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
};
</script>
<template>
<div class="eibs">
<!-- 单据要求 -->
<c-col :span="20">
<el-form-item label="所需单据" prop="ledgrp.blk.lcrdoc">
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrdoc"
maxlength="52000"
show-word-limit
placeholder="请输入单据要求"
:rows="30"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onLcrdocButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.lcrdoc.buttxmsel', null, null,{TXT: 'ledgrp.blk.lcrdoc'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</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">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="内容" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="附加金额" name="aamp" v-if="model.letp.aamp.aammod.addamtflg == 'X'">
<m-aamp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="信用证详情" name="detp">
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="银行信息" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="货物说明" name="dogp">
<m-dogp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="单据要求" name="dorp">
<m-dorp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="其他条款" name="adcp">
<m-adcp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="银行专用特殊付款条款" name="spcrcvp" v-if="model.ledgrp.rec.spcrcbflg == 'X'">
<m-spcrcvp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="受益人特殊付款条款" name="spcbenp" v-if="model.ledgrp.rec.spcbenflg == 'X'">
<m-spcbenp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from "../event";
import Ovwp1 from "./Ovwp1";
import Aamp from "./Aamp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
export default {
components: {
"m-ovwp1": Ovwp1,
"m-aamp": Aamp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
"m-spcrcvp": Spcrcvp,
"m-spcbenp": Spcbenp,
},
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
activeNames: ["ovwp1"],
}
},
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-row>
<!-- =================================左边================================= -->
<!-- 第一通知行 -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '第一通知行',
grp: 'ledgrp',
rol: 'adv',
}"
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
disabled
disabledRef
disabledExtkey
>
</c-ptap>
</c-col>
<!-- 第二通知行 -->
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '第二通知行',
grp: 'ledgrp',
rol: 'a2b',
}"
@onSeainf="onSeainf"
@onAplpDet="onA2bpDet"
>
</c-ptap>
</c-col>
<!-- Confirm. Instruct. -->
<c-col :span="24">
<el-form-item label="第二通知行确认指令" prop="ledgrp.rec.cnfins">
<c-select
v-model="model.ledgrp.rec.cnfins"
style="width: 100%"
placeholder="第二通知行确认指令"
:code="codes.cnfflg1"
:disabled="model.ledgrp.a2b.pts.extkey==''"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12" style="padding-left: 20px;">
<!-- Applicant's Bank -->
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请银行',
grp: 'ledgrp',
rol: 'apb',
}"
@onSeainf="onSeainf"
@onAplpDet="onApbpDet"
>
</c-ptap>
</c-col>
<el-form-item label="" prop="ledgrp.rec.aplbnkdirsnd" class="checkbox-left">
<c-checkbox v-model="model.ledgrp.rec.aplbnkdirsnd"
>直接发送至申请银行</c-checkbox
>
</el-form-item>
<!-- Reimbursement Bank -->
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '偿付银行',
grp: 'ledgrp',
rol: 'rmb',
}"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
>
</c-ptap>
</c-col>
<!-- Confirmation Bank -->
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '保兑行',
grp: 'ledgrp',
rol: 'con',
}"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onConpDet"
disabled
disabledRef
disabledExtkey
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.con.pts.nam">
<c-input
v-model="model.ledgrp.con.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =============================底部表格========================= -->
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" text-align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
>详情</el-button
>
</template>
</el-table-column>
</c-edit-table>
</c-row>
</div>
</template>
<script>
import event from "../event";
import Ptap from '~/views/Public/Ptap';
export default {
inject: ['root'],
components: { 'c-ptap': Ptap },
props: ['model', 'codes'],
mixins: [event],
data() {
return {
ptsaddg: {
columns: [
{
title: '角色',
width: '120px',
dataIndex: 'rol',
show: 'select',
},
{
title: '机构实体',
width: '180px',
dataIndex: 'ptyextkey',
show: 'input',
},
{
title: '名称',
width: '300px',
dataIndex: 'nam',
},
{
title: '参考地址',
width: '300px',
dataIndex: 'ref',
},
],
urls: 'letp.ptsaddp.ptsaddg',
},
}
},
}
</script>
<style></style>
<template>
<div class="eibs">
<!-- Special Payment Cond.for BeneficiaryI -->
<c-col :span="20">
<el-form-item label="受益人特殊付款条款" prop="ledgrp.blk.spcben">
<c-input
type="textarea"
v-model="model.ledgrp.blk.spcben"
maxlength="52000"
show-word-limit
:rows="30"
placeholder="请输入受益人特殊付款条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onSpcbenButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.spcben.buttxmsel', null, null,{TXT: 'ledgrp.blk.spcben'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</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">
<c-col :span="20">
<el-form-item label="银行专用特殊付款条款" prop="ledgrp.blk.spcrcb">
<c-input
type="textarea"
v-model="model.ledgrp.blk.spcrcb"
maxlength="52000"
show-word-limit
:rows="30"
placeholder="请输入银行专用特殊付款条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onSpcrcbButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.spcrcb.buttxmsel', null, null,{TXT: 'ledgrp.blk.spcrcb'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {}
},
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="出口信用证预开立">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<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-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
></c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from '~/config/CodeTable'
import Letnot from '../model'
import event from "../event";
import Ovwp from './Ovwp'
import Addbcb from './Addbcb'
import formRules from '../model/check'
import operationFunc from "~/mixin/operationFunc";
import Setmod from "~/components/business/setmod/views";
import Glepan from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
export default {
name: 'Letnot',
components: {
'm-ovwp': Ovwp,
'm-setmod': Setmod,
'm-glepan': Glepan,
'm-docpan': Docpan,
'm-doctre': Doctre,
'm-addbcb': Addbcb,
},
provide() {
return {
root: this,
}
},
mixins: [event,operationFunc ],
data() {
return {
tabVal: 'ovwp',
trnName: 'letnot',
model: new Letnot().data,
rules:formRules,
codes: { ...CodeTable },
activeNames: ["setpan"]
}
},
mounted () {
this.init()
}
}
</script>
<style></style>
......@@ -52,6 +52,7 @@ const Business = [
{ path: 'infled', component: () => import('~/business/infled/views'), name: 'infled', meta: { title: '出口信用证交易查询' } },
{ path: 'letame', component: () => import('~/business/letame/views'), name: 'letame', meta: { title: '出口信用证修改' } },
{ path: 'letcan', component: () => import('~/business/letcan/views'), name: 'letcan', meta: { title: '出口信用证注销' } },
{ path: 'letnot', component: () => import('~/business/letnot/views'), name: 'letnot', meta: { title: '出口信用证预通知' } },
{ path: 'betcan', component: () => import('~/business/betcan/views'), name: 'betcan', meta: { title: '出口信用证单据注销' } },
{ path: 'betrcl', component: () => import('~/business/betrcl/views'), name: 'betrcl', meta: { title: '出口信用证单据出口单据索汇' } },
{ path: 'betacc', component: () => import('~/business/betacc/views'), name: 'betacc', meta: { title: '出口信用证单据承兑' } },
......
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