Commit b73d4c45 by xionglin

litdal

parent 514a6f1d
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.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
}
if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LID',
ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchInr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
// segtyp: model.lidgrp.ghd.segtyp,
fromflg: model.lidgrp.rec.fromflg,
othersno: model.lidgrp.rec.othersno,
sndto: model.lidgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.lidgrp.rec.giduil,
purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.lidgrp.cbs.max,
OLDMAX: model.lidgrp.cbs.oldmax,
MAX2: model.lidgrp.cbs.max2,
NOM1: model.lidgrp.cbs.nom1,
OPN1: model.lidgrp.cbs.opn1,
MAC: model.lidgrp.cbs.mac,
MAC2: model.lidgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2,
CNF: model.lidgrp.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.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.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 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';
import Utils from "~/utils"
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/litdla/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;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LC',
tbl: 'LC',
};
const loading = this.loading();
let res = await Api.post('/service/litdla/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.gidgrp[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;
}
},
// 选中gitopn弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
purposChange(key, value) {
this.handleChangeForm(key, value);
},
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
}
},
onSeainf() {},
max2Amt(){
this.executeDefault("max2.amt").then(
(res) => {
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
},
async multipleSelect(selection) {
console.log(selection);
if (selection) {
let selIds = selection.map(x=>x+1);
let params = {selDst:"decstm",selIds}
const rtnmsg = await this.executeRule("decstm",params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
open(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (val == "X" && this.model.litamep.adlcndamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
},
};
<template>
<div class="eibs">
<c-col :span="20">
<c-col :span="10">
<el-form-item label="附加金额" prop="lidgrp.cbs.max2.cur">
<c-select
v-model="model.lidgrp.cbs.max2.cur"
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="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.max2.amt"
>
<c-input
disabled
v-model="model.lidgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="0"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="附加金额余额" prop="lidgrp.cbs.opn2.cur">
<c-select
v-model="model.lidgrp.cbs.opn2.cur"
style="width: 100%"
placeholder=""
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.opn2.amt"
>
<c-input
v-model="model.lidgrp.cbs.opn2.amt"
style="text-align: left; width: 100%"
placeholder="0"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="39C场覆盖" prop="litp.aamp.addamtcov">
<c-input
disabled
type="textarea"
v-model="model.litp.aamp.addamtcov"
maxlength="140"
:rows="4"
show-word-limit
placeholder=""
></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">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-input disabled v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur">
<c-input disabled v-model="model.lidgrp.cbs.nom1.cur" maxlength="3" placeholder="请选择">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
<c-input disabled v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur">
<c-input disabled v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入信用证余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
<c-input disabled v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.avbnam">
<c-input disabled v-model="model.lidgrp.avbnam" maxlength="40" placeholder="请输入可用银行"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select
disabled
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证日期" prop="lidgrp.rec.opndat">
<c-date-picker
disabled
type="date" v-model="model.lidgrp.rec.opndat" style="width:100%" placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提货日期" prop="lidgrp.rec.shpdat">
<c-date-picker
disabled
type="date" v-model="model.lidgrp.rec.shpdat" style="width:100%" placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有效期限" prop="lidgrp.rec.expdat">
<c-date-picker
disabled
type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到期地点" prop="lidgrp.rec.expplc">
<c-input disabled v-model="model.lidgrp.rec.expplc" maxlength="29" placeholder="请输入地点"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
<c-select
disabled
:code="codes.lcrtyp"
v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
</c-select>
</el-form-item>
</c-col>
</el-col>
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input disabled v-model="model.lidgrp.rec.nam" maxlength="40" placeholder="请输入简略信息"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人参考号" prop="lidgrp.apl.pts.ref">
<c-input disabled v-model="model.lidgrp.apl.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人名称" prop="lidgrp.apl.pts.nam">
<c-input disabled v-model="model.lidgrp.apl.pts.nam" maxlength="40" placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人参考号" prop="lidgrp.ben.pts.ref">
<c-input disabled v-model="model.lidgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="lidgrp.ben.pts.nam">
<c-input disabled v-model="model.lidgrp.ben.pts.nam" maxlength="40" placeholder="请输入兑付方式"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="通知行参考号" prop="lidgrp.adv.pts.ref">
<c-input disabled v-model="model.lidgrp.adv.pts.ref" maxlength="16" placeholder="请输入通知行参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="通知行名称" prop="lidgrp.adv.pts.nam">
<c-input disabled v-model="model.lidgrp.adv.pts.nam" maxlength="40" placeholder="请输入到期日"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="修改次数" prop="amenbr">
<c-input disabled v-model="model.amenbr" maxlength="3" placeholder="请输入修改次数"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改金额" prop="amecur">
<c-input disabled v-model="model.amecur" maxlength="3" placeholder="请输入修改金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="reduceamt">
<c-input disabled v-model="model.reduceamt" placeholder="请输入修改金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改日期" prop="amedat">
<c-input disabled v-model="model.amedat" maxlength="12" placeholder="请输入修改日期"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否接受此笔减额修改" prop="ameflg" label-width="160px">
<c-select v-model="model.ameflg" disabled>
<el-option v-for="item in codes.ameflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</el-col>
<el-col :span="23">
<c-istream-table
:list="model.decstm.rows || []"
:columns="trnData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
>
</c-istream-table>
</el-col>
</div>
</template>
<script>
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
trnData: {
columns: [
"0 1 \"\" 200",
"1 2 \"编号\" 240",
"2 3 \"币种\" 200",
"3 4 \"减额金额\" 200 ",
"4 5 \"修改日期\" 255 ",
"5 6 \"备注\" 300 ",
],
data: [],
},
}
},
}
</script>
<style>
.stream{
cursor: pointer;
}
</style>
<template>
<div class="eibs">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.rec.avbwth">
<c-select
disabled
:code="codes.avbwth"
v-model="model.lidgrp.rec.avbwth"
style="width:100%"
placeholder="请选择可用银行">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.avb.pts.extkey" maxlength="16" placeholder="请输入内容"></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click=""
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.avb.pts.adrblk">
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select
disabled
:rows="4"
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="延期付款指示" prop="lidgrp.blk.defdet">
<c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入延期付款指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇票期限" prop="lidgrp.blk.dftat">
<c-input
:rows="4"
disabled type="textarea" v-model="model.lidgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入汇票期限" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受票人" prop="lidgrp.drw.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.drw.pts.extkey" maxlength="16" placeholder="请输入地址编码"></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click=""
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.drw.pts.adrblk">
<c-input disabled type="textarea"
:rows="4"
v-model="model.lidgrp.drw.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="装船/发运地" prop="lidgrp.rec.shpfro">
<c-input disabled v-model="model.lidgrp.rec.shpfro" maxlength="65" placeholder="请输入地址"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="始发(航空)站" prop="lidgrp.rec.porloa">
<c-input disabled v-model="model.lidgrp.rec.porloa" maxlength="65" placeholder="请输入始发(航空)站"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="终点(航空)站" prop="lidgrp.rec.pordis">
<c-input disabled v-model="model.lidgrp.rec.pordis" maxlength="65" placeholder="请输入终点(航空)站"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="最终目的地" prop="lidgrp.rec.shpto">
<c-input disabled v-model="model.lidgrp.rec.shpto" maxlength="65" placeholder="请输入最终目的地"></c-input>
</el-form-item>
</c-col>
</el-col>
<!-- ====================================================================================== -->
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="寄单期限" prop="lidgrp.rec.prepers18">
<c-input disabled v-model="model.lidgrp.rec.prepers18" placeholder="请输入交单期限"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="寄单描述" prop="lidgrp.rec.prepertxts18">
<c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.rec.prepertxts18" maxlength="35" show-word-limit placeholder="请输入内容" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox disabled v-model="model.lidgrp.blk.preperflg">修改寄单期限</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="银行费用负担" prop="lidgrp.blk.feetxt">
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="315" show-word-limit placeholder="请输入银行费用负担" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费条件" prop="lidgrp.rec.chato">
<c-select disabled
:code="codes.chato"
v-model="model.lidgrp.rec.chato" style="width:100%" placeholder="请选择收费条件">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国家地区代码" prop="lidgrp.rec.stacty">
<c-select
disabled
:code="codes.stacty"
v-model="model.lidgrp.rec.stacty" style="width:100%" placeholder="请选择内容">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="混合付款详情" prop="lidgrp.blk.mixdet">
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.mixdet" maxlength="35" show-word-limit placeholder="请输入混合付款详情" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限日" prop="lidgrp.rec.tenmaxday">
<c-input disabled v-model="model.lidgrp.rec.tenmaxday" placeholder="请输入期限日"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装运期限" prop="lidgrp.blk.shpper">
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="65" show-word-limit placeholder="请输入装运期限" ></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="22">
<el-form-item label="货物描述" prop="lidgrp.blk.lcrgod">
<c-input
:rows="30"
type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="52000" show-word-limit placeholder="请输入货物描述" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-more" @click="onLcrgodButtxmsel">
</c-button>
</c-col>
<c-col :span="18">
<el-form-item label="货物类型 " prop="lidgrp.rec.stagod">
<c-select v-model="model.lidgrp.rec.stagod" style="width:100%"
:code="codes.godcod"
placeholder="请选择货物类型 ">
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="20">
<el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc">
<c-input
:rows="30"
type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="52000" show-word-limit placeholder="请输入单据要求" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-more" @click="onLcrdocButtxmsel">
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="20">
<el-form-item label="付款/承兑/议付银行指示" prop="lidgrp.blk.insbnk">
<c-input
:rows="20"
type="textarea" v-model="model.lidgrp.blk.insbnk" maxlength="800" show-word-limit 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"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="叙事的历史概述" prop="oldlidgrp.blk.narhis">
<c-input type="textarea"
disabled
:autosize="{ minRows: 20, maxRows: 999}"
v-model="model.oldlidgrp.blk.narhis" maxlength="49950" show-word-limit placeholder="" ></c-input>
</el-form-item>
</c-col>
</el-col>
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="叙述内容" prop="trnmod.swiadd.nartxt">
<c-input type="textarea"
disabled
:autosize="{ minRows: 20, maxRows: 35}"
v-model="model.trnmod.swiadd.nartxt" maxlength="1750" show-word-limit placeholder="请输入内容" ></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</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="accp">
<!-- 修改接受 -->
<m-accp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="修改信息" name="amep">
<!-- 修改信息 -->
<m-amep :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="叙述内容" name="narp">
<!-- 叙述内容 -->
<m-narp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="详细信息" name="detp">
<!-- 详细信息 -->
<m-detp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />
</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" :dtyp="'dorp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="货物修改" name="dogpame">
<!-- 货物修改 -->
<m-dogpame :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="单据" name="dorp">
<!-- 单据 -->
<m-dorp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="单据修改" name="dorpame">
<!-- 单据修改-->
<m-dorpame :model="model" :codes="codes" :dtyp="'dogp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="附件条款(修改)" name="adcpame">
<!-- 附加条款 -->
<m-adcpame :model="model" :codes="codes" :dtyp="'dorp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="附加金额" name="aamp"
v-if="model.litp.aamp.aammod.addamtflg">
<!-- 附加金额 -->
<m-aamp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="仅适用于指定银行的特殊付款条款"
name="spcrcvp"
v-if="model.lidgrp.rec.spcrcbflg"
>
<m-spcrcvp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="存在受益人的特殊付款条款"
name="spcbenp"
v-if="model.lidgrp.rec.spcbenflg"
>
<m-spcbenp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
v-if="this.model.lidgrp.rec.spcbenflg"
title="Spe.pay.conditions Ben[Amend.]" name="spbpame">
<m-spbpame :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
v-if="this.model.lidgrp.rec.spcrcbflg"
title="Spe.pay.cond.bank only [Amend]" name="sprpame">
<m-sprpame :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="银行指示(修改)" name="inspame">
<!-- 银行指示 -->
<m-inspame :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />
</el-collapse-item>
<!-- <el-collapse-item title="试算结果" name="shisuan"> -->
<!-- 试算结果 -->
<!-- <m-shisuan :model="model" :codes="codes" />
</el-collapse-item> -->
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import Amep from "./Amep"
import Accp from "./Accp"
import Narp from "./Narp"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
import Dogpame from "./Dogpame"
import Dorpame from "./Dorpame"
import Adcpame from "./Adcpame"
import Inspame from "./Inspame"
import Dogp from "./Dogp"
import Dorp from "./Dorp"
import Shisuan from "./Shisuan"
import Ovwp1 from "./Ovwp1"
import Aamp from "./Aamp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
import Spbpame from "./Spbpame.vue"
import Sprpame from "./Sprpame.vue"
export default {
components:{
"m-amep" : Amep,
"m-accp" : Accp,
"m-narp" : Narp,
"m-detp" : Detp,
"m-ptyp" : Ptyp,
"m-dogpame" : Dogpame,
"m-dorpame" : Dorpame,
"m-adcpame" : Adcpame,
"m-inspame" : Inspame,
"m-dogp" : Dogp,
"m-dorp" : Dorp,
"m-shisuan" : Shisuan,
"m-ovwp1" : Ovwp1,
"m-aamp": Aamp,
"m-spcrcvp": Spcrcvp,
"m-spcbenp": Spcbenp,
"m-spbpame" : Spbpame,
"m-sprpame" : Sprpame,
},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
activeNames: ["ovwp1"],
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="申请人账户行参考号" prop="lidgrp.ini.pts.ref">
<c-input disabled v-model="model.lidgrp.ini.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.ini.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.ini.pts.extkey" maxlength="16" placeholder="请输入申请人账户行"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-search"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.ini.pts.adrblk">
<c-input
:rows="4"
disabled
type="textarea" v-model="model.lidgrp.ini.pts.adrblk" maxlength="180" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="偿付行参考号" prop="lidgrp.rmb.pts.ref">
<c-input disabled v-model="model.lidgrp.rmb.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编号" prop="lidgrp.rmb.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.lidgrp.rmb.pts.extkey" maxlength="16" placeholder="请输入偿付行"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-search"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="偿付行名称" prop="lidgrp.rmb.pts.nam">
<c-input disabled v-model="model.lidgrp.rmb.pts.nam" maxlength="40" placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保兑行参考号" prop="lidgrp.con.pts.ref">
<c-input disabled v-model="model.lidgrp.con.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.con.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.con.pts.extkey" maxlength="16" placeholder="请输入保兑行"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-search"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.con.pts.adrblk">
<c-input
:rows="4"
disabled
type="textarea" v-model="model.lidgrp.con.pts.adrblk" maxlength="180" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
</el-col>
<!-- ================================================= -->
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="第二通知行参考号" prop="lidgrp.a2b.pts.ref">
<c-input
disabled
v-model="model.lidgrp.a2b.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.a2b.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.a2b.pts.extkey" maxlength="16" placeholder="请输入第二通知行"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-search"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.a2b.pts.adrblk">
<c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.a2b.pts.adrblk" maxlength="180" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="可用银行参考号" prop="lidgrp.avb.pts.ref">
<c-input disabled v-model="model.lidgrp.avb.pts.ref" maxlength="16" placeholder="请输入可用银行参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.avb.pts.extkey" maxlength="16" placeholder="请输入地址编码"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-search"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.avb.pts.adrblk">
<c-input
:rows="4"
disabled
type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="180" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
</el-col>
<c-col :span="24">
<el-form-item label="附加当事人" >
<div class="e-table-wrapper">
<c-table
:data="model.litp.ptsaddp.ptsaddg"
style="width: 100%"
>
<el-table-column
prop="rol"
label="角色"
sortable
width="320">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="当事人"
sortable
width="360">
</el-table-column>
<el-table-column
prop="nam"
label="当事人名称"
sortable
width="360">
</el-table-column>
<el-table-column
prop="地址编码"
label="地址编码"
sortable
width="360">
</el-table-column>
</c-table>
</div>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmcbe || []"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="Limit Type"
sortable
width="120">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="120">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="120">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="180">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="150">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
</c-table>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmcbb || []"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="150">
</el-table-column>
</c-table>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmpty || []"
style="width: 100%"
>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="120">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="120">
</el-table-column>
</c-table>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="受益人的特殊付款条款" prop="lidgrp.blk.spcben">
<c-input
:rows="12"
:disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.spcben" maxlength="65" show-word-limit placeholder="请输入受益人的特殊付款条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="22">
<el-form-item label="添加/删除当前修订中的文本" prop="litamep.spcbenamep.usrblk">
<c-input type="textarea"
:disabled="this.flag2"
v-model="model.litamep.spcbenamep.usrblk"
maxlength="1650"
show-word-limit placeholder="请输入添加/删除补充信息"
:rows="22"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.spcbenamep.buttxmsel',null,null,{TXT: 'litamep.spcbenamep.usrblk'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.spcbename">
<c-input
:rows="12"
disabled
type="textarea" v-model="model.lidgrp.blk.spcbename" maxlength="50" show-word-limit placeholder="请输入历史概述" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
style=" margin: 0px 0px 10px 120px;" class="checkbox-left"
@change="open"
v-model="model.litamep.spcbenamep.modflg">修改要替换的文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 120px;"
v-model="model.litamep.spcbenamep.modmanflg">内部修改文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-button
style=" margin: 0px 0 10px 120px;"
size="small" type="primary" @click="onLcrdocamepButdif">
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 120px;"
disabled
size="small" type="primary" @click="onLcrdocamepButadd">
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 120px;"
disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
删除文本
</c-button>
</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/Litame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:false,
}
},
watch:{
"model.litamep.spcbenamep.modflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcbenamep.usrblk='';
}else if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcbenamep.usrblk='';
}
}
},
"model.litamep.spcbenamep.modmanflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcbenamep.usrblk='';
}else if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcbenamep.usrblk='';
}
}
}
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.spcben == '')){
this.$confirm('是否确定要重置手动修改?','提示',{
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcben='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.spcbenamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(val == 'X' && this.model.litamep.spcbenamep.modmanflg =='X'){
this.$confirm('请先重置内部修改','提示',{
confirmButtonText: '确定',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.spcben == '')){
this.$confirm('是否确定要重置手动修改?','提示',{
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcben='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.spcbenamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg =='X'){
this.$confirm('请先重置修改以替换','提示',{
confirmButtonText: '确定',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modmanflg='';
this.flag1=true;
this.flag2=false;
})
}
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="18">
<el-form-item label="存在受益人的特殊付款条件" prop="lidgrp.blk.spcben">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.spcben" maxlength="65" :rows="30" show-word-limit placeholder="请输入存在受益人的特殊付款条件" ></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button disabled size="small" type="primary" icon="el-icon-search" @click="onSpcbenButtxmsel">
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="18">
<el-form-item label="仅适用于指定银行的特殊付款条件" prop="lidgrp.blk.spcrcb">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.spcrcb" maxlength="65" :rows="30" show-word-limit placeholder="请输入仅适用于指定银行的特殊付款条件" ></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button disabled size="small" type="primary" icon="el-icon-search" @click="onSpcrcbButtxmsel">
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="仅适用于银行的特殊付款条款" prop="lidgrp.blk.spcrcb">
<c-input
:rows="12"
:disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.spcrcb" maxlength="65" show-word-limit placeholder="请输入仅适用于银行的特殊付款条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="22">
<el-form-item label="添加/删除当前修订中的文本" prop="litamep.spcrcbamep.usrblk">
<c-input type="textarea"
:disabled="this.flag2"
v-model="model.litamep.spcrcbamep.usrblk"
maxlength="1650"
show-word-limit placeholder="请输入添加/删除补充信息"
:rows="22"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.spcrcbamep.buttxmsel',null,null,{TXT: 'litamep.spcrcbamep.usrblk'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.spcrcbame">
<c-input
:rows="12"
disabled
type="textarea" v-model="model.lidgrp.blk.spcrcbame" maxlength="50" show-word-limit placeholder="请输入历史概述" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
style=" margin: 0px 0px 10px 120px;" class="checkbox-left"
@change="open"
v-model="model.litamep.spcrcbamep.modflg">修改要替换的文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 120px;"
v-model="model.litamep.spcrcbamep.modmanflg">内部修改文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-button
style=" margin: 0px 0 10px 120px;"
size="small" type="primary" @click="onLcrdocamepButdif">
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 120px;"
disabled
size="small" type="primary" @click="onLcrdocamepButadd">
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 120px;"
disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
删除文本
</c-button>
</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/Litame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:false,
}
},
watch:{
"model.litamep.spcrcbamep.modflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcrcbamep.usrblk='';
}else if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcrcbamep.usrblk='';
}
}
},
"model.litamep.spcrcbamep.modmanflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcrcbamep.usrblk='';
}else if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcrcbamep.usrblk='';
}
}
}
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.spcrcb == '')){
this.$confirm('是否确定要重置手动修改?','提示',{
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcrcb='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.spcrcbamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(val == 'X' && this.model.litamep.spcrcbamep.modmanflg =='X'){
this.$confirm('请先重置内部修改','提示',{
confirmButtonText: '确定',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.spcrcb == '')){
this.$confirm('是否确定要重置手动修改?','提示',{
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcrcb='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.spcrcbamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg =='X'){
this.$confirm('请先重置修改以替换','提示',{
confirmButtonText: '确定',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modmanflg='';
this.flag1=true;
this.flag2=false;
})
}
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="进口信用证减额修改接受">
<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="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="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody,shisuan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames1">
<el-collapse-item title="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<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"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litdla from "~/model/Litdla"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litdla/Check"
import Default from "~/model/Litdla/Default"
import Pattern from "~/model/Litdla/Pattern"
import Accp from "./Accp"
import Amep from "./Amep"
import Ovwp from "./Ovwp"
import Narp from "./Narp"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
import Dogpame from "./Dogpame"
import Dorpame from "./Dorpame"
import Adcpame from "./Adcpame"
import Inspame from "./Inspame"
import Dogp from "./Dogp"
import Dorp from "./Dorp"
import Shisuan from "./Shisuan"
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody";
import Aamp from "./Aamp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
import Spbpame from "./Spbpame.vue"
import Sprpame from "./Sprpame.vue"
export default {
name: "Litdla",
components:{
"m-spbpame" : Spbpame,
"m-sprpame" : Sprpame,
"m-spcrcvp": Spcrcvp,
"m-spcbenp": Spcbenp,
"m-aamp": Aamp,
"m-accp" : Accp,
"m-amep" : Amep,
"m-ovwp" : Ovwp,
"m-narp" : Narp,
"m-detp" : Detp,
"m-ptyp" : Ptyp,
"m-dogpame" : Dogpame,
"m-dorpame" : Dorpame,
"m-adcpame" : Adcpame,
"m-inspame" : Inspame,
"m-dogp" : Dogp,
"m-dorp" : Dorp,
"m-shisuan" : Shisuan,
"m-engp" : Engp,
"m-ccvpan" : Ccvpan ,
"m-setpan" : Setpan,
"m-glepan" : Glepan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-limitbody" : Limitbody,
"m-doctre" : Doctre
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "litdla",
model: new Litdla().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {... CodeTable
},
activeNames: ["engp","coninfp",],
activeNames1: ["limitbody"],
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入litdla交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment