Commit 68f7bb1a by xionglin

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 62fb3d89 1dad65d3
export default {
"brdgrp.acb.namelc" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.blk.docdis" :null,
"brtp.furide" :null,
"brdgrp.acb.adrelc" :null,
"brdgrp.prb.pts.adrblk" :null,
"brdgrp.prb.namelc" :null,
"setmod.dspflg" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.rec.disdat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null,
"brdgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brtp.lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -56,7 +43,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
// "brdgrp.cbs.max.amt":[
// {type: "string", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
......@@ -89,7 +75,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
......@@ -100,7 +85,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
// "brdgrp.rec.tenmaxday":[
// {type: "number", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
......@@ -113,9 +97,6 @@ export default {
// {type: "string", required: false, message: "必输项"},
// {max: 40,message:"长度不能超过40"}
// ],
"brtp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -136,10 +117,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{max: 18,required: true,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
......@@ -186,7 +163,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.acb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -207,48 +183,31 @@ export default {
//{type: "string", required: false, message: "必输项"},
{max: 3500,message:"长度不能超过3500"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
......@@ -257,7 +216,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -270,7 +228,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -279,10 +236,4 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brtp.furide":[
{type: "string", required: true, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
......@@ -46,6 +46,9 @@ export default class Brtacp {
docprbrol: ''
},
cbs: {
opn1: {
cur: ''
},
opn2: {
cur: ''
},
......@@ -56,10 +59,16 @@ export default class Brtacp {
max2: {
amt: ''
}
},
matp: {
mattxtlab: ''
}
},
brtp: {
furide: ''
furide: '',
matp: {
mattxtlab: ''
}
},
lidgrp: {
rec: {
......
......@@ -28,15 +28,8 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
lidgrp:{
rec:{
inr:"00000026",
}
},
brdgrp:{
rec:{
inr:"00000059",
}
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
});
if (!res.data) {
......
......@@ -74,7 +74,9 @@ export default class Brtame {
avbby: '',
nam: '',
opndat: '',
redclsflg: ''
redclsflg: '',
branchinr:''
},
cbs: {
opn1: {
......
......@@ -29,18 +29,8 @@ export default {
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
// lidinr: this.$route.query.inr
brdgrp:{
rec:{
inr:"00000049",
},
},
lidgrp:{
rec:{
inr:"00000072",
}
},
liaccv:{
concur:"CNY"
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
});
if (!res.data) {
......
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,
opndat: model.brdgrp.rec.opndat,
expdat: model.brdgrp.rec.expdat,
branchInr: model.brdgrp.rec.branchInr,
hndtyp: model.brdgrp.rec.hndtyp,
gartyp: model.brdgrp.rec.gartyp,
fingua: model.brdgrp.rec.fingua,
fromflg: model.brdgrp.rec.fromflg,
othersno: model.brdgrp.rec.othersno,
sndto: model.brdgrp.rec.sndto,
swiftflg: model.brtp.swiftflg,
brduil: model.brdgrp.rec.brduil,
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: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.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.brtp.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/brtudp/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
brdgrp:{
rec:{
inr:this.$route.query.inr
}
}
});
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 'setmod':
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: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/brtudp/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取brtudp弹框表格数据
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;
}
},
// 选中brtudp弹框表格的行数据
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);
},
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
},
gidgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/brtudp/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);
},
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
}
}
},
};
<template>
<div class="eibs">
<c-col :span="12">
<el-form-item label="数据采集标志" prop="cfabrt.cfaflg">
<c-select
v-model="model.cfabrt.cfaflg"
style="width: 100%"
placeholder="请选择数据采集标志"
:code="codes.cfaflg1"
@change="eventFunction('cfabrt.cfaflg')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="cfabrt.basflg" class="checkbox-left" label-width="143px" style="margin-left:">
<c-checkbox v-model="model.cfabrt.basflg" disabled>签约信息</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="cfabrt.dclflg" class="checkbox-left">
<c-checkbox v-model="model.cfabrt.dclflg" disabled>变动信息</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="cfabrt.ownextkey">
<c-select
v-model="model.cfabrt.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey1"
:disabled="model.cfabrt.cfatyp != 'A'"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不报送原因" prop="cfabrt.cfabrttxt">
<!-- <c-select v-model="model.cfabrt.cfabrttxt" style="width:100%" placeholder="请选择不报送原因">
</c-select> -->
<c-select
v-model="model.cfabrt.cfabrttxt"
clearable
filterable
allow-create
style="width: 100%"
placeholder=""
:disabled="model.cfabrt.cfaflg != 4"
:code="codes.cfabrttxt"
>
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import event from '../event'
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
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="cfabrt.recp.dclp.exdebtcode">
<c-input
v-model="model.cfabrt.recp.dclp.exdebtcode"
maxlength="28"
placeholder="请输入外债编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动编号" prop="cfabrt.recp.dclp.changeno">
<c-input
v-model="model.cfabrt.recp.dclp.changeno"
maxlength="4"
placeholder="请输入变动编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="cfabrt.recp.dclp.actiontype">
<c-select
v-model="model.cfabrt.recp.dclp.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
disabled
:code="codes.actiontype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务参号" prop="cfabrt.recp.dclp.buscode">
<c-input
v-model="model.cfabrt.recp.dclp.buscode"
maxlength="32"
placeholder="请输入银行业务参号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动类型" prop="cfabrt.recp.dclp.changtype">
<c-select
v-model="model.cfabrt.recp.dclp.changtype"
style="width: 100%"
placeholder="请选择变动类型"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动日期" prop="cfabrt.recp.dclp.chdate">
<c-date-picker
type="date"
v-model="model.cfabrt.recp.dclp.chdate"
style="width: 100%"
placeholder="请选择变动日期"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动币种" prop="cfabrt.recp.dclp.chcurrency">
<c-select
v-model="model.cfabrt.recp.dclp.chcurrency"
style="width: 100%"
placeholder="请选择变动币种"
:code="codes.curtxt"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动金额" prop="cfabrt.recp.dclp.chamount">
<c-input
v-model="model.cfabrt.recp.dclp.chamount"
placeholder="请输入变动金额"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="公允价值" prop="cfabrt.recp.dclp.fairvalue">
<c-input
v-model="model.cfabrt.recp.dclp.fairvalue"
placeholder="请输入公允价值"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="备注" prop="cfabrt.recp.dclp.remark">
<c-input
type="textarea"
v-model="model.cfabrt.recp.dclp.remark"
maxlength="248"
show-word-limit
placeholder="请输入备注"
:rows="5"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ==================================右边-删除原因================================ -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="删除原因" prop="cfabrt.recp.dclp.actiondesc">
<c-input
type="textarea"
v-model="model.cfabrt.recp.dclp.actiondesc"
maxlength="248"
show-word-limit
placeholder="请输入删除原因"
:rows="5"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSav"> &Save </c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onChk"> &Check </c-button>
</c-col> -->
<c-col :span="24">
<el-form-item
label=""
prop="cfabrt.recp.dclp.acp"
class="checkbox-left"
>
<c-checkbox v-model="model.cfabrt.recp.dclp.acp" disabled
>确认</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style></style>
<template>
<div class="eibs">
<!--=== =================================左边======================================== -->
<c-col :span="12" style="padding-right: 20px;">
<!-- Discrepancies -->
<c-col :span="24">
<el-form-item label="不符点" prop="brdgrp.blk.docdis">
<c-fullbox>
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="3500" show-word-limit
placeholder="请输入不符点信息" rows="5" :disabled="!docdisflg"></c-input>
<!-- @click="onDocdisButtxmsel" -->
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-more"
@click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
:disabled="!docdisflg">
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- Comments and Conclusion -->
<c-col :span="24">
<el-form-item label="评论和结论" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="1950" show-word-limit
placeholder="请输入评论和结论内容" rows="5"></c-input>
</el-form-item>
</c-col>
<!-- Settlement Instructions BR -->
<!-- <c-col :span="21"> -->
<c-col :span="24">
<el-form-item label="结算指示" prop="brdgrp.blk.setinsbr">
<c-fullbox>
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="390" show-word-limit
placeholder="请输入结算指示" rows="5"></c-input>
<template slot="footer">
<!-- @click="onSetinstxmButtxmsel" -->
<c-button size="small" type="primary" icon="el-icon-more"
@click="showGridPromptDialog('brtp.setinstxm.buttxmsel', null, null,{TXT: 'brdgrp.blk.setinsbr'}, {TXT: false},'doxpDialog')"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!--=== ========================================右边======================================== -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="12">
<el-form-item
label=""
prop="brdgrp.rec.igndisflg"
label-width="0px"
>
<c-checkbox
style="margin: 0px 0 10px 120px;float: left;"
v-model="model.brdgrp.rec.igndisflg"
>忽略不符点</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
prop="brdgrp.blk.docdis"
>
<c-checkbox
style="margin: 0px 0 10px 150px;"
v-model="docdisflg"
@change="docdisDefault"
>录入不符点</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.advtyp0">
</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="请选择付款日期"
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>
<!-- 底部表格 -->
<c-col :span="24" label-width="0px">
<c-docpre
:model="model"
:argadr="{
path: 'brdgrp.blk.prsdoc',
grp: 'brtp',
code: 'docpre',
}"
></c-docpre>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtudp/Event";
import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre";
import event from '../event';
export default {
components: {
// "c-ptap": Ptap,
"c-docpre": Docpre,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
};
},
methods: { ...Event,
async docdisDefault(){
this.executeDefault("brdgrp.blk.docdis").then(res => {
//TODO 处理数据逻辑
if(res.respCode == SUCCESS)
this.updateModel(res.data);
})
},
},
created: function () { },
computed: {
docdisflg: {
get() {
return this.model.brdgrp.blk.docdisflg != ""
},
set(val) {
this.model.brdgrp.blk.docdisflg = val ? "X" : ""
}
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<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>
<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="11">
<el-form-item label="" label-width="5px" prop="brdgrp.cbs.max.amt">
<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.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.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="11">
<el-form-item label="" label-width="5px" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.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.rec.totcur">
<c-select v-model="model.brdgrp.rec.totcur" 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="11">
<el-form-item label="" label-width="5px" prop="brdgrp.rec.totamt">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-ptap1 :model="model" :argadr="{
title: '账户银行',
grp: 'brdgrp',
rol: 'acb',
}" :disabled="true" :disabled1="true">
</c-ptap1>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="已扣除费用" prop="brdgrp.blk.chaded">
<c-input type="textarea" v-model="model.brdgrp.blk.chaded" maxlength="210" :rows="4" show-word-limit
placeholder="请输入已扣除费用" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已添加费用" prop="brdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="210" :rows="4" show-word-limit
placeholder="请输入已添加费用" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点信息" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="3500" :rows="8" show-word-limit
placeholder="请输入不符点" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="brdgrp.blk.docdisflg">
<c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled>不符点修改</c-checkbox>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from '../event'
import Ptap1 from "~/views/Public/Ptap1";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: {
"c-ptap1": Ptap1,
},
data() {
return {};
},
methods: {},
created: function () { },
};
</script>
<style></style>
<template>
<div class="eibs">
<!-- ==================================== 左边 ================================= -->
<c-col :span="12" style="padding-right: 20px;">
<!--加Mt750p页面的 单据金额 -->
<!-- 单据金额 -->
<c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择币种" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额" disabled></c-input>
</el-form-item>
</c-col>
<!-- 加Mt750p页面的Drawn.Add.Amount -->
<!-- 附加金额 -->
<c-col :span="12">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择币种" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已扣除费用" prop="brdgrp.blk.chaded">
<c-input type="textarea" v-model="model.brdgrp.blk.chaded" maxlength="210" show-word-limit
placeholder="请输入已扣除费用" disabled :rows="4"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已添加费用" prop="brdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="210" show-word-limit
placeholder="请输入已添加费用" disabled :rows="4"></c-input>
</el-form-item>
</c-col>
<!--加Mt750p页面的 索赔总额 -->
<c-col :span="12">
<el-form-item label="索赔总额" prop="brdgrp.rec.totcur">
<c-input v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入索赔总额" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 加Mt750p页面的Total Amount to be Paid -->
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.rec.totamt">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1 :model="model" :argadr="{
title: '偿付银行',
grp: 'brdgrp',
rol: 'rmb',
}" :disabled="true" disabled1
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet">
</c-ptap1>
</c-col>
<!-- 加Mt750p页面的Amount with Bank -->
<c-col :span="24">
<c-ptap1 :model="model" :argadr="{
title: '寄单行',
grp: 'brdgrp',
rol: 'acb',
}" :disabled="true" disabled1
@onSeainf="onSeainf"
@onAplpDet="onAcbpDet">
</c-ptap1>
</c-col>
<!-- 加Docpre.vue页面中的date to paied -->
<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="请选择付款日期"
disabled value-format="yyyy-MM-dd">
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ==================================== 右边 ================================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="MT754报文中77A项的内容" prop="brdgrp.blk.nartxt77a">
<c-input type="textarea" v-model="model.brdgrp.blk.nartxt77a" maxlength="700" show-word-limit
placeholder="请输入MT754报文中77A项的内容" disabled :rows="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1 :model="model" :argadr="{
title: `受益人银行`,
grp: 'brdgrp',
rol: 'beb',
}" :disabled="true" disabled1
@onSeainf="onSeainf"
@onAplpDet="onBebpDet">
</c-ptap1>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Ptap1 from "~/views/Public/Ptap1";
import event from '../event';
export default {
components: {
"c-ptap1": Ptap1,
},
inject: ['root'],
props: ["model", "codes"],
mixins: [event],
data() {
return {
}
},
methods: {
...Event,
onSeainf(){},
},
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- 此页面内容为加入Mt750p和Mt754p页面的内容 -->
<!-- ====================================左边 ================================= -->
<c-col :span="12">
<!-- 单据金额 -->
<c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择币种" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额" disabled></c-input>
</el-form-item>
</c-col>
<!-- 附加金额 -->
<c-col :span="12">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择币种" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已添加费用" prop="brdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="35" show-word-limit
placeholder="请输入已添加费用" disabled rows="4"></c-input>
</el-form-item>
</c-col>
<!-- 索赔总额 -->
<c-col :span="12">
<el-form-item label="索赔总额" prop="brdgrp.rec.totcur">
<c-input v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入索赔总额" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- Total Amount to be Paid -->
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.rec.totamt">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1 :model="model" :argadr="{
title: '寄单行',
grp: 'brdgrp',
rol: 'acb',
}" :disabled="true" :isAdrblk="false" disabled1>
</c-ptap1>
</c-col>
<!-- 加Mt754p页面的Beneficiary`s Bank -->
<c-col :span="24">
<c-ptap1 :model="model" :argadr="{
title: `受益人银行`,
grp: 'brdgrp',
rol: 'beb',
}" :disabled="true" disabled1>
</c-ptap1>
</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/Brtudp/Event"
import Ptap1 from "~/views/Public/Ptap1";
import event from '../event';
export default {
components: {
"c-ptap1": Ptap1,
// "c-ptap": Ptap,
// "c-ptsmsg": Ptsmsg,
},
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="承兑信息" name="payp">
<m-payp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="不符点" name="docpre" v-if="model.brdgrp.rec.dscinsflg">
<m-docpre :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="不符点通知" name="mt750p" v-if="model.brdgrp.rec.advtyp == '750'">
<m-mt750p :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="付款通知" name="mt754p" v-if="model.brdgrp.rec.advtyp == '754'">
<m-mt754p :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="装运详情" name="shpdet" v-if="model.brdgrp.rec.dscinsflg">
<m-shpdet :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="通知详情" name="othadvtypp" v-if="model.brdgrp.rec.advtyp == 'oth'">
<m-othadvtypp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="外债远期信用证数据采集" name="cfap">
<m-cfap :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="外债远期信用证(含即期单证相符)-签约信息" name="conp" v-if="model.cfabrt.cfaflg == 1">
<m-conp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="外债远期信用证(含即期单证相符)-变动信息" name="dclpp" v-if="model.cfabrt.cfaflg == 1">
<m-dclpp :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/Brtudp/Event";
import Payp from "./Payp";
import Docpre from "./Docpre";
import Mt750p from "./Mt750p";
import Shpdet from "./Shpdet";
import Mt754p from "./Mt754p";
import Othadvtypp from "./Othadvtypp";
import Cfap from "./Cfap";
import Conp from "./Conp";
import Dclpp from "./Dclpp";
// import Shisuan from "./Shisuan";
import event from '../event';
export default {
components: {
"m-payp": Payp,
"m-docpre": Docpre,
"m-mt750p": Mt750p,
"m-shpdet": Shpdet,
"m-mt754p": Mt754p,
"m-othadvtypp": Othadvtypp,
"m-cfap": Cfap,
"m-conp": Conp,
"m-dclpp": Dclpp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ['payp']
};
},
methods: {},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbe"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="限制类型"
sortable
width="150">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="70">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="100">
</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="100">
</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>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="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="100">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="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="100">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
</el-pagination>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import event from '../event'
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
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="brdgrp.rec.relgodflg">
<c-select v-model="model.brdgrp.rec.relgodflg" style="width:100%" placeholder="请选择提货担保申请人" :code="codes.relgod">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="放货类型" prop="brdgrp.rec.reltyp">
<c-select v-model="model.brdgrp.rec.reltyp" style="width:100%" placeholder="请选择放货类型"
:code="codes.reltyp1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="放货日期" prop="brdgrp.rec.relgoddat">
<c-date-picker type="date" v-model="model.brdgrp.rec.relgoddat" style="width:100%" placeholder="请选择日期"
value-format="yyyy-MM-dd"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="生效日期" prop="brdgrp.rec.expdat">
<c-date-picker disabled type="date" v-model="model.brdgrp.rec.expdat" style="width:100%" placeholder="请选择日期"
value-format="yyyy-MM-dd"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物单据类型" prop="brdgrp.rec.trpdoctyp">
<c-select v-model="model.brdgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择货物单据类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="运输单据编号" prop="brdgrp.rec.trpdocnum">
<c-input v-model="model.brdgrp.rec.trpdocnum" maxlength="40" placeholder="请输入运输单据编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提单装船期" prop="brdgrp.rec.tradat">
<c-date-picker type="date" v-model="model.brdgrp.rec.tradat" style="width:100%" placeholder="请选择日期"
value-format="yyyy-MM-dd"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="运输模式" prop="brdgrp.rec.tramod">
<c-select v-model="model.brdgrp.rec.tramod" style="width:100%" placeholder="请选择运输模式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="运输工具" prop="brdgrp.blk.vesnam">
<c-input v-model="model.brdgrp.blk.vesnam" maxlength="40" placeholder="请输入运输工具"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="卸货口岸" prop="brdgrp.blk.pordis">
<c-input v-model="model.brdgrp.blk.pordis" maxlength="40" placeholder="请输入卸货口岸"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="移交地点" prop="brdgrp.blk.delplc">
<c-input v-model="model.brdgrp.blk.delplc" maxlength="40" placeholder="请输入移交地点"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物描述" prop="brdgrp.blk.roggod">
<c-input type="textarea" v-model="model.brdgrp.blk.roggod" maxlength="1600" show-word-limit placeholder="请输入货物描述" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="起运口岸" prop="brdgrp.blk.porlod">
<c-input v-model="model.brdgrp.blk.porlod" maxlength="40" placeholder="请输入起运口岸"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="航号" prop="brdgrp.blk.voynum">
<c-input v-model="model.brdgrp.blk.voynum" maxlength="30" placeholder="请输入航号"></c-input>
</el-form-item>
</c-col>
</c-col>
<!--=== ==========右边=============== -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="合同编号" prop="brtp.connum">
<c-input v-model="model.brtp.connum" maxlength="35" placeholder="请输入合同编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label=" ">
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承运人" prop="brdgrp.blk.carnam">
<c-input v-model="model.brdgrp.blk.carnam" maxlength="35" placeholder="请输入承运人"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="海运/远洋提单编号" prop="brdgrp.rec.blnum">
<c-input v-model="model.brdgrp.rec.blnum" maxlength="20" placeholder="请输入海运/远洋提单编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label=" ">
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item label="收货人名称及地址" prop="brdgrp.blk.relstoadr">
<c-input type="textarea" v-model="model.brdgrp.blk.relstoadr" maxlength="140" show-word-limit placeholder="请输入收货人名称及地址"
rows="4"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="5px" prop="brdgrp.rec.rtoaplflg">
<c-checkbox v-model="model.brdgrp.rec.rtoaplflg">给申请人</c-checkbox>
<!-- <el-input v-model="model.brdgrp.rec.rtoaplflg"></el-input> -->
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '运输公司',
grp: 'brdgrp',
rol: 'shp',
}"
:disabled="true"
:isAdrblk="false"
disabled1
@onSeainf="onSeainf" @onAplpDet="onShppDet"
>
</c-ptap1>
<!-- brdgrp.shp.pts.extkey 对应grp: 'brdgrp', rol: 'prb',-->
</c-col>
<c-col :span="24">
<el-form-item label="被通知人" prop="brdgrp.blk.notpty">
<c-input type="textarea" v-model="model.brdgrp.blk.notpty" maxlength="350" show-word-limit placeholder="请输入被通知人" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物类型" prop="brdgrp.rec.ngrcod">
<c-select v-model="model.brdgrp.rec.ngrcod" style="width:100%" placeholder="请选择货物类型"
:code="codes.bnrsec">
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Ptap1 from "~/views/Public/Ptap1"
import event from '../event'
export default {
components: {
"c-ptap1": Ptap1,
// "c-ptap": Ptap,
// "c-ptsmsg": Ptsmsg,
},
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
computed:{
// rtoaplflg:{
// get() {
// return this.model.brdgrp.rec.rtoaplflg != ''
// brdgrp.rec.rtoaplflg
// },
// set(val) {
// this.model.brdgrp.rec.rtoaplflg = val ? "X" : ""
// }
// }
},
methods:{
...Event,
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="进口信用证单据承兑">
<!--
<div class="fast-button">
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">智能提示</el-button>
/div>
-->
<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="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<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">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<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>
<!--PD000027 -->
<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>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<c-content>
<div class="eibs-tab">
<m-coninfp :model="model" :codes="codes" />
</div>
</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-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
></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-page>
</div>
</template>
<script>
import event from '../event';
import operationFunc from "~/mixin/operationFunc";
import CodeTable from "~/config/CodeTable"
import formRules from '../model/check'
import Brtudp from "../model"
import Mt750p from "./Mt750p"
import Payp from "./Payp";
import Docpre from "./Docpre";
import Mt754p from "./Mt754p";
import Othadvtypp from "./Othadvtypp";
import Shpdet from "./Shpdet";
import Ovwp from "./Ovwp";
import Cfap from "./Cfap";
import Conp from "./Conp";
import Dclpp from "./Dclpp";
import Shisuan from "./Shisuan"
//公共面板导入
import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Setmod from "~/components/business/setmod/views";
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
export default {
name: "Brtudp",
components: {
"m-ovwp": Ovwp,
"m-shpdet": Shpdet,
"m-payp": Payp,
"m-docpre": Docpre,
"m-mt750p": Mt750p,
"m-mt754p": Mt754p,
"m-othadvtypp": Othadvtypp,
"m-conp": Conp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setmod": Setmod,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-cfap": Cfap,
"m-limitbody": Limitbody,
"m-dclpp": Dclpp,
"m-shisuan": Shisuan,
},
provide() {
return {
root: this
}
},
mixins: [event,operationFunc], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "brtudp",
model: new Brtudp().data,
rules: formRules,
codes: {
...CodeTable
},
activeNames: ["setpan"],
}
},
methods:{
},
mounted () {
this.init()
}
}
</script>
<style>
</style>
......@@ -28,9 +28,6 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
});
loading.close();
if (!res.data) {
......@@ -149,10 +146,10 @@ export default {
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/litopn/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
// let res = await Api.post('/service/litopn/initHndtyp', params);
// if (res.respCode == SUCCESS) {
// this.$set(this.codes, 'voHndtyp', res.data);
// }
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
......
......@@ -44,6 +44,7 @@ const Business = [
{ path: 'litrog', component: () => import('~/business/litrog/views'), name: 'litrog', meta: { title: '进口信用证提货担保' } },
{ path: 'gitenc', component: () => import('~/business/gitenc/views'), name: 'gitenc', meta: { title: '进口信用证单据提货担保注销' } },
{ path: 'litdla', component: () => import('~/business/litdla/views'), name: 'litdla', meta: { title: '进口信用证减额修改接受' } },
{ path: 'brtudp', component: () => import('~/business/brtudp/views'), name: 'brtudp', meta: { title: '进口信用证单据承兑' } },
{ path: 'brtame', component: () => import('~/business/brtame/views'), name: 'brtame', meta: { title: '进口信用证单据提货担保修改' } },
{ path: 'infbrd', component: () => import('~/business/infbrd/views'), name: 'infbrd', meta: { title: '进口信用证单据入口交易' } },
......
......@@ -117,7 +117,7 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
<!-- <c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
......@@ -128,7 +128,7 @@
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</c-grid-ety-prompt-dialog> -->
</div>
</c-page>
</template>
......
......@@ -108,7 +108,7 @@
>
</c-function-btn>
<c-grid-ety-prompt-dialog
<!-- <c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
......@@ -119,7 +119,7 @@
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</c-grid-ety-prompt-dialog> -->
</c-page>
</div>
</template>
......
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