Commit b4aa78c9 by WF1020

brtset修改

parent f38d9557
...@@ -19,42 +19,39 @@ export default { ...@@ -19,42 +19,39 @@ export default {
}, },
buildCommonData (model, trnName) { buildCommonData (model, trnName) {
let ptsptaList = []; let ptsptaList = [];
if (model.gidgrp.apl.pts.extkey) { if (model.brdgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.apl)); ptsptaList.push(this.buildPtspta(model.brdgrp.apl));
} }
if (model.gidgrp.adv.pts.extkey) { if (model.brdgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.adv)); ptsptaList.push(this.buildPtspta(model.brdgrp.ben));
}
if (model.gidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.ben));
} }
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'GID', objtyp: 'brd',
ownref: model.gidgrp.rec.ownref, ownref: model.brdgrp.rec.ownref,
opndat: model.gidgrp.rec.opndat, opndat: model.brdgrp.rec.opndat,
expdat: model.gidgrp.rec.expdat, expdat: model.brdgrp.rec.expdat,
branchInr: model.gidgrp.rec.branchInr, branchInr: model.brdgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp, hndtyp: model.brdgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp, gartyp: model.brdgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua, fingua: model.brdgrp.rec.fingua,
segtyp: model.gidgrp.ghd.segtyp, segtyp: model.brdgrp.ghd.segtyp,
fromflg: model.gidgrp.rec.fromflg, fromflg: model.brdgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno, othersno: model.brdgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto, sndto: model.brdgrp.rec.sndto,
swiftflg: model.gitp.swiftflg, swiftflg: model.brtp.swiftflg,
giduil: model.gidgrp.rec.giduil, brduil: model.brdgrp.rec.brduil,
purpos: model.gidgrp.rec.purpos, purpos: model.brdgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg, revflg: model.brdgrp.rec.revflg,
cnfsta: model.gidgrp.rec.cnfsta, cnfsta: model.brdgrp.rec.cnfsta,
}, },
cbsMap: { cbsMap: {
MAX: model.gidgrp.cbs.max, MAX: model.brdgrp.cbs.max,
OPN1: model.gidgrp.cbs.opn1, OPN1: model.brdgrp.cbs.opn1,
MAC: model.gidgrp.cbs.mac, MAC: model.brdgrp.cbs.mac,
MAC2: model.gidgrp.cbs.mac2, MAC2: model.brdgrp.cbs.mac2,
OPC2: model.gidgrp.cbs.opc2, OPC2: model.brdgrp.cbs.opc2,
CNF: model.gidgrp.cbs.cnf, CNF: model.brdgrp.cbs.cnf,
}, },
ptsList: ptsptaList, ptsList: ptsptaList,
transName: trnName, transName: trnName,
...@@ -117,9 +114,9 @@ export default { ...@@ -117,9 +114,9 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'GID', objtyp: 'brd',
objinr: model.gidgrp.rec.objinr, objinr: model.brdgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref, ownref: model.brdgrp.rec.ownref,
}, },
}; };
return params return params
...@@ -128,10 +125,10 @@ export default { ...@@ -128,10 +125,10 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'GID', objtyp: 'brd',
objinr: model.gidgrp.rec.objinr, objinr: model.brdgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref, ownref: model.brdgrp.rec.ownref,
swiftflg: model.gitp.swiftflg, swiftflg: model.brtp.swiftflg,
}, },
}; };
return params return params
......
...@@ -28,7 +28,13 @@ export default { ...@@ -28,7 +28,13 @@ export default {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
brdgrp:{
rec:{
inr: "00000254",
}
}
}); });
// debugger
if (!res.data) { if (!res.data) {
return return
} }
...@@ -109,7 +115,7 @@ export default { ...@@ -109,7 +115,7 @@ export default {
this.model.gidgrp.rec.ownref = res.data; this.model.gidgrp.rec.ownref = res.data;
} }
}, },
// 获取gitopn弹框表格数据 // 获取brtset弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) { async queryGridEtyPromptDialogData(type, ptytyp) {
let params = { let params = {
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
...@@ -123,7 +129,7 @@ export default { ...@@ -123,7 +129,7 @@ export default {
this.root.promptData.type = type; this.root.promptData.type = type;
} }
}, },
// 选中gitopn弹框表格的行数据 // 选中brtset弹框表格的行数据
async selectGridEtyPromptData(row) { async selectGridEtyPromptData(row) {
let params = { let params = {
...row, ...row,
...@@ -140,10 +146,10 @@ export default { ...@@ -140,10 +146,10 @@ export default {
// 初始化保函开立类型码表下拉列表 // 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) { async queryHndtypCodeTableList(trnName) {
let params = { let params = {
gitp: { brtp: {
swiftflg: this.model.gitp.swiftflg, swiftflg: this.model.gitp.swiftflg,
}, },
gidgrp: { brdgrp: {
rec: { rec: {
purpos: this.model.gidgrp.rec.purpos, purpos: this.model.gidgrp.rec.purpos,
}, },
......
This source diff could not be displayed because it is too large. You can view the blob instead.
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<!--el-collapse-item title="备查表" name="addbcb"> <m-addbcb :model="model" :codes="codes" />
<m-addbcb :model="model" :codes="codes" /> </el-collapse-item-->
</el-collapse-item--> <el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
<el-collapse-item title="附言" name="coninfp"> </el-collapse-item>
<m-coninfp :model="model" :codes="codes" /> </el-collapse>
</el-collapse-item>
</el-collapse>
</div> </div>
</template> </template>
<script> <script>
import event from '../event' import Api from "~/service/Api";
import event from "../event"
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
export default { export default {
components: { components: {
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
}, },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {},
created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eibs"> <div class="eibs">
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="收款直接参与者行号" prop="trnmod.reconebch">
<c-input
v-model="model.trnmod.reconebch"
maxlength="35"
placeholder="请输入收款直接参与者行号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12" style="padding-right: 20px;"> <el-form-item label="收款直接参与者名称" prop="trnmod.reconebchnam">
<c-col :span="24"> <c-input
<el-form-item label="收款直接参与者行号" prop="trnmod.reconebch"> type="textarea"
<c-input v-model="model.trnmod.reconebch" maxlength="35" placeholder="请输入收款直接参与者行号"></c-input> v-model="model.trnmod.reconebchnam"
</el-form-item> maxlength="35"
</c-col> show-word-limit
placeholder="请输入收款直接参与者名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收款直接参与者名称" prop="trnmod.reconebchnam"> <el-form-item label="附言" prop="trnmod.commen">
<c-input type="textarea" v-model="model.trnmod.reconebchnam" maxlength="35" show-word-limit placeholder="请输入收款直接参与者名称" ></c-input> <c-input
</el-form-item> type="textarea"
</c-col> v-model="model.trnmod.commen"
maxlength="30"
show-word-limit
placeholder="请输入附言"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="附言" prop="trnmod.commen"> <el-form-item label="业务种类" prop="trnmod.bustyp">
<c-input type="textarea" v-model="model.trnmod.commen" maxlength="30" show-word-limit placeholder="请输入附言" ></c-input> <c-select
</el-form-item> v-model="model.trnmod.bustyp"
</c-col> style="width: 100%"
placeholder="请选择业务种类"
<c-col :span="24"> >
<el-form-item label="业务种类" prop="trnmod.bustyp"> <el-option
<c-select v-model="model.trnmod.bustyp" style="width:100%" placeholder="请选择业务种类" > v-for="item in this.bustyp"
<el-option :key="item.value"
v-for="item in this.bustyp" :label="item.value + item.label"
:key="item.value" :value="item.value"
:label="item.value + item.label" >
:value="item.value"> </el-option>
</el-option> </c-select>
</c-select> </el-form-item>
</el-form-item> </c-col>
</c-col> </c-col>
</c-col> <c-col :span="12" style="padding-left: 20px"> </c-col>
<c-col :span="12" style="padding-left: 20px;"> </c-col>
</c-col>
</c-col>
</div> </div>
</template> </template>
<script> <script>
import event from '../event' import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data(){ data() {
return { return {
bustyp:[ bustyp: [
{ value: 'GODX', label: '货期贸易' }, { value: "GODX", label: "货期贸易" },
{ value: 'STRX', label: '服务贸易' }, { value: "STRX", label: "服务贸易" },
{ value: 'CTFX', label: '资本项下' }, { value: "CTFX", label: "资本项下" },
{ value: 'FTFX', label: '金融机构头寸调拨' }, { value: "FTFX", label: "金融机构头寸调拨" },
{ value: 'BDES', label: '债卷还本利息' }, { value: "BDES", label: "债卷还本利息" },
{ value: 'BPRR', label: '债卷还本金' }, { value: "BPRR", label: "债卷还本金" },
{ value: 'BINP', label: '债卷利息' }, { value: "BINP", label: "债卷利息" },
{ value: 'BISF', label: '债卷发行手续费' }, { value: "BISF", label: "债卷发行手续费" },
{ value: 'BCAF', label: '债卷兑付手续费' }, { value: "BCAF", label: "债卷兑付手续费" },
{ value: 'CBCF', label: '附息式债卷兑付手续费' }, { value: "CBCF", label: "附息式债卷兑付手续费" },
{ value: 'OTFX', label: '其他' }, { value: "OTFX", label: "其他" },
], ],
} };
}, },
methods:{}, methods: { },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -388,8 +388,9 @@ ...@@ -388,8 +388,9 @@
</div> </div>
</template> </template>
<script> <script>
import event from '../event' import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
...@@ -397,7 +398,7 @@ export default { ...@@ -397,7 +398,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: {}, methods: { },
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="外管信息" name="wg"> <el-collapse-item title="外管信息" name="wg">
<m-wg :model="model" :codes="codes" /> <m-wg :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item
<el-collapse-item title="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '1'"> title="对外付款/承兑通知书-基础信息"
<m-basp :model="model" :codes="codes" /> name="basp"
</el-collapse-item> v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '1'"
>
<el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1" v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '2'"> <m-basp :model="model" :codes="codes" />
<m-basp1 :model="model" :codes="codes" /> </el-collapse-item>
</el-collapse-item> <el-collapse-item
title="境内付款/承兑通知书-基础信息"
<el-collapse-item title="跨境人民币申报" name="cnyp1"> name="basp1"
<m-cnyp1 :model="model" :codes="codes" /> v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '2'"
</el-collapse-item> >
<m-basp1 :model="model" :codes="codes" />
<el-collapse-item title="2111跨境支出信息" name="outp" v-show="model.cnybop.outflg == '1'"> </el-collapse-item>
<m-outp :model="model" :codes="codes" /> <el-collapse-item title="跨境人民币申报" name="cnyp1">
</el-collapse-item> <m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="资本项目" name="cfactlp"> <el-collapse-item
<m-cfactlp :model="model" :codes="codes" /> title="2111跨境支出信息"
</el-collapse-item> name="outp"
v-show="model.cnybop.outflg == '1'"
>
<m-outp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="资本项目" name="cfactlp">
<m-cfactlp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
import Wg from "./Wg"; import Wg from "./Wg";
import Cnyp1 from "./Cnyp1"; import Cnyp1 from "./Cnyp1";
import Cfactlp from "./Cfactlp"; import Cfactlp from "./Cfactlp";
...@@ -39,26 +46,26 @@ import Basp from "./Basp"; ...@@ -39,26 +46,26 @@ import Basp from "./Basp";
import Basp1 from "./Basp1"; import Basp1 from "./Basp1";
import Outp from "./Outp"; import Outp from "./Outp";
export default { export default {
inject: ["root"], inject: ["root"],
components: { components: {
"m-wg": Wg, "m-wg": Wg,
"m-basp": Basp, "m-basp": Basp,
"m-basp1": Basp1, "m-basp1": Basp1,
"m-cnyp1": Cnyp1, "m-cnyp1": Cnyp1,
"m-outp": Outp, "m-outp": Outp,
"m-cfactlp": Cfactlp, "m-cfactlp": Cfactlp,
}, },
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeNames: ["wg"], activeNames: ["wg"],
}; };
}, },
methods: {}, methods: {
created: function () {}, },
created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eibs"> <div class="eibs">
<!-- left --> <!-- left -->
<c-col :span="12" style="margin-top: 20px;"> <c-col :span="12" style="margin-top: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" label-width="175px"> <el-form-item label="是否报送跨境人民币2101表" label-width="175px">
<c-select <c-select
v-model="model.cnybop.cnyflg" v-model="model.cnybop.cnyflg"
style="width: 100%;" style="width: 100%"
placeholder="请选择" placeholder="请选择"
disabled disabled
> >
<el-option <el-option
v-for="item in codes.cnyflg" v-for="item in codes.cnyflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" label-width="175px"> <el-form-item label="是否报送跨境人民币2107表" label-width="175px">
<c-select <c-select
v-model="model.cnybop.traflg" v-model="model.cnybop.traflg"
style="width: 100%;" style="width: 100%"
placeholder="请选择" placeholder="请选择"
disabled disabled
> >
<el-option <el-option
v-for="item in codes.traflg" v-for="item in codes.traflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" label-width="175px" prop="cnybop.outflg"> <el-form-item
<c-select label="是否报送跨境人民币2111表"
v-model="model.cnybop.outflg" label-width="175px"
style="width: 100%;" prop="cnybop.outflg"
placeholder="请选择" >
> <c-select
<el-option v-model="model.cnybop.outflg"
v-for="item in codes.outflg" style="width: 100%"
:key="item.value" placeholder="请选择"
:label="item.label" >
:value="item.value" <el-option
></el-option> v-for="item in codes.outflg"
</c-select> :key="item.value"
</el-form-item> :label="item.label"
</c-col> :value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" label-width="175px"> <el-form-item label="是否报送跨境人民币2106表" label-width="175px">
<c-select <c-select
v-model="model.cnybop.libflg" v-model="model.cnybop.libflg"
style="width: 100%;" style="width: 100%"
placeholder="请选择" placeholder="请选择"
disabled disabled
> >
<el-option <el-option
v-for="item in codes.libflg" v-for="item in codes.libflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" label-width="175px"> <el-form-item label="是否报送跨境人民币2122表" label-width="175px">
<c-select <c-select
v-model="model.cnybop.vouflg" v-model="model.cnybop.vouflg"
placeholder="请选择" placeholder="请选择"
style="width: 100%;" style="width: 100%"
disabled disabled
> >
<el-option <el-option
v-for="item in codes.vouflg" v-for="item in codes.vouflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 2111跨境支出信息 --> <!-- 2111跨境支出信息 -->
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default { export default {
inject: ["root"], inject: ["root"],
...@@ -104,7 +109,7 @@ export default { ...@@ -104,7 +109,7 @@ export default {
mixins: [event], mixins: [event],
data() { data() {
return { return {
temp:'不申报', temp: "不申报",
options: [ options: [
{ {
value: "1", value: "1",
...@@ -115,48 +120,34 @@ export default { ...@@ -115,48 +120,34 @@ export default {
label: "不申报", label: "不申报",
}, },
], ],
codesOwnextkey:[ codesOwnextkey: [
{ {
value: "", value: "",
label: "", label: "",
} },
], ],
}; };
}, },
methods: { methods: {
async szflgChange(){
let rtnmsg = await this.executeRule("bopmod.szflg")
if(rtnmsg.respCode == SUCCESS){
this.model.bopmod.ownextkey = rtnmsg.data.bopmod_ownextkey
}
if(this.model.bopmod.szflg==='2'){
this.model.bopmod.acttyp = '';
}
if(this.model.bopmod.szflg==='3'){
this.model.bopmod.ownextkey = '';
this.model.bopmod.acttyp = '';
this.model.bopmod.basflg='';
}
}
}, },
created: function () { created: function () {
//给人民币申报赋值 //给人民币申报赋值
this.model.cnybop.cnyflg="2"; this.model.cnybop.cnyflg = "2";
this.model.cnybop.traflg="2"; this.model.cnybop.traflg = "2";
this.model.cnybop.libflg="2"; this.model.cnybop.libflg = "2";
this.model.cnybop.vouflg="2"; this.model.cnybop.vouflg = "2";
}, },
watch: { watch: {
"model.bopmod.ownextkey": function(){ "model.bopmod.ownextkey": function () {
if(this.model.bopmod.ownextkey != ''){ if (this.model.bopmod.ownextkey != "") {
var instName = window.sessionStorage.instName || "北京分行"; var instName = window.sessionStorage.instName || "北京分行";
this.codesOwnextkey[0].value = this.model.bopmod.ownextkey; this.codesOwnextkey[0].value = this.model.bopmod.ownextkey;
this.codesOwnextkey[0].label = this.model.bopmod.ownextkey + instName; this.codesOwnextkey[0].label = this.model.bopmod.ownextkey + instName;
}else{ } else {
this.codesOwnextkey[0].value = ''; this.codesOwnextkey[0].value = "";
this.codesOwnextkey[0].label = ''; this.codesOwnextkey[0].label = "";
}
} }
},
}, },
}; };
</script> </script>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
showGridPromptDialog('gcdgrp.prb.pts.extkey') showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input> "></c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" style="margin: 0 0" @click="onGctpGetrefbut"> <c-button size="small" type="primary" style="margin: 0 0" @click="onGctpGetrefbut">
...@@ -43,10 +43,10 @@ ...@@ -43,10 +43,10 @@
showGridPromptDialog('gcdgrp.prb.pts.extkey') showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input> "></c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" style="margin: 0 0" @click="onGctpGetrefbut"> <c-button size="small" type="primary" style="margin: 0 0">
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -109,10 +109,10 @@ ...@@ -109,10 +109,10 @@
showGridPromptDialog('gcdgrp.prb.pts.extkey') showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input> "></c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" style="margin: 0 0" @click="onGctpGetrefbut"> <c-button size="small" type="primary" style="margin: 0 0">
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -139,10 +139,10 @@ ...@@ -139,10 +139,10 @@
showGridPromptDialog('gcdgrp.prb.pts.extkey') showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input> "></c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" style="margin: 0 0" @click="onGctpGetrefbut"> <c-button size="small" type="primary" style="margin: 0 0">
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -171,7 +171,9 @@ ...@@ -171,7 +171,9 @@
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default { export default {
inject: ["root"], inject: ["root"],
...@@ -180,7 +182,7 @@ export default { ...@@ -180,7 +182,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: {}, methods: { },
created: function () { }, created: function () { },
}; };
</script> </script>
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
...@@ -32,7 +31,6 @@ ...@@ -32,7 +31,6 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 0 0" style="margin: 0 0"
@click="onGctpGetrefbut"
> >
详情 详情
</c-button> </c-button>
...@@ -77,7 +75,6 @@ ...@@ -77,7 +75,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
...@@ -85,7 +82,6 @@ ...@@ -85,7 +82,6 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 0 0" style="margin: 0 0"
@click="onGctpGetrefbut"
> >
详情 详情
</c-button> </c-button>
...@@ -130,7 +126,6 @@ ...@@ -130,7 +126,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
...@@ -138,7 +133,6 @@ ...@@ -138,7 +133,6 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 0 0" style="margin: 0 0"
@click="onGctpGetrefbut"
> >
详情 详情
</c-button> </c-button>
...@@ -197,16 +191,6 @@ ...@@ -197,16 +191,6 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 0 0 0 3px" style="margin: 0 0 0 3px"
@click="
showGridPromptDialog(
'setmod.setglg.setgll.sespay.cod.buttxmsel',
null,
null,
{ TXT: 'setmod.setglg.setgll[' + idx + '].sespay.strinf' },
{ TXT: false },
'doxpDialog'
)
"
> >
... ...
</c-button> </c-button>
...@@ -215,9 +199,9 @@ ...@@ -215,9 +199,9 @@
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import event from '../event'; import CodeTable from "~/config/CodeTable";
import event from "../event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes", "idx"], props: ["model", "codes", "idx"],
...@@ -225,7 +209,7 @@ export default { ...@@ -225,7 +209,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: {}, methods: { },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -311,7 +311,9 @@ ...@@ -311,7 +311,9 @@
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default { export default {
inject: ["root"], inject: ["root"],
...@@ -320,7 +322,7 @@ export default { ...@@ -320,7 +322,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: {}, methods: { },
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input
v-model="model.trnmod.trndoc.filrecv"
placeholder="请输入File Receiver"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入Document tree"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete">
Delete
</c-button>
</c-col>
<c-col :span="12">
<span
v-text="model.trnmod.trndoc.doclbl"
data-path=".trnmod.trndoc.doclbl"
>
</span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc"
>Show Incoming Messages</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout"
>Show Outgoing Messages</c-checkbox
>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary">
Attach
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input
v-model="model.trnmod.trndoc.condocstm"
placeholder="请输入Connected Documents"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input
v-model="model.trnmod.trndoc.rcvatt.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created: function () {},
};
</script>
<style>
</style>
<template> <template>
<div class="eibs"> <div class="eibs">
<!-- SG000148 : 收款账号 --> <!-- SG000148 : 收款账号 -->
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<c-form-item label="收款人账号" prop="trtcre.trdgrp.rec.recaccount"> <c-form-item label="收款人账号" prop="trtcre.trdgrp.rec.recaccount">
<c-input v-model="model.trtcre.trdgrp.rec.recaccount" maxlength="35" placeholder=""></c-input> <c-input
v-model="model.trtcre.trdgrp.rec.recaccount"
maxlength="35"
placeholder=""
></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- SG000152 : 收款人名称 --> <!-- SG000152 : 收款人名称 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item label="收款人名称" prop="trtcre.trtp.recname"> <c-form-item label="收款人名称" prop="trtcre.trtp.recname">
<c-input v-model="model.trtcre.trtp.recname" maxlength="80" placeholder=""></c-input> <c-input
v-model="model.trtcre.trtp.recname"
maxlength="80"
placeholder=""
></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="收款人国别代码" prop="trtcre.trdgrp.rec.reccountrycode"> <c-form-item
label="收款人国别代码"
prop="trtcre.trdgrp.rec.reccountrycode"
>
<c-fullbox> <c-fullbox>
<c-input v-model="model.trtcre.trdgrp.rec.reccountrycode" maxlength="3" placeholder="" <c-input
@keyup.enter.native="showGridPromptDialog('trtcre.trdgrp.rec.reccountrycode')" v-model="model.trtcre.trdgrp.rec.reccountrycode"
maxlength="3"
placeholder=""
@keyup.enter.native="
showGridPromptDialog('trtcre.trdgrp.rec.reccountrycode')
"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onRecctySelbut1"> <c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- SG000150 : 收款人国别代码 --> <!-- SG000150 : 收款人国别代码 -->
<!-- SG000151 : 收款人国内地区码 --> <!-- SG000151 : 收款人国内地区码 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item label="收款人国内地区码" prop="trtcre.trdgrp.rec.recdistrictcode"> <c-form-item
<c-input v-model="model.trtcre.trdgrp.rec.recdistrictcode" maxlength="6" placeholder=""></c-input> label="收款人国内地区码"
prop="trtcre.trdgrp.rec.recdistrictcode"
>
<c-input
v-model="model.trtcre.trdgrp.rec.recdistrictcode"
maxlength="6"
placeholder=""
></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import T23E from "@/widget/SwfMessage/Tags/T23E"; import T23E from "@/widget/SwfMessage/Tags/T23E";
import event from "../event";
export default { export default {
components: {T23E}, components: { T23E },
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data(){ data() {
return { return {};
} },
}, methods: { },
methods:{}, created: function () {},
created:function(){ };
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24">
<c-col :span="24"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="12" style="padding-right: 20px;"> <el-form-item
<el-form-item label="进口开证额度主体"
label="进口开证额度主体" prop="brdgrp.apl.pts.extkey"
prop="brdgrp.apl.pts.extkey" style="width = 100%"
style="width = 100%"> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.brdgrp.apl.pts.extkey" v-model="model.brdgrp.apl.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入信用证编号" placeholder="请输入信用证编号"
></c-input>
></c-input> <template slot="footer">
<template slot="footer"> <c-button
<c-button style="margin: 0 10px 0 10px; padding: 0 12px"
style="margin:0 10px 0 10px;padding: 0 12px;" size="small"
size="small" type="primary"
type="primary" >
@click="onSeainf"
>
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" >
> <span style="font-family: '宋体'; font-weight: bold">详情</span>
<span style="font-family:'宋体';font-weight:bold">详情</span> </c-button>
</c-button> </template>
</template> </c-fullbox>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px">
<el-form-item label="有效日期" prop="lidgrp.rec.expdat"> <el-form-item label="有效日期" prop="lidgrp.rec.expdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.lidgrp.rec.expdat" v-model="model.lidgrp.rec.expdat"
style="width:100%" style="width: 100%"
placeholder="请选择日期"> placeholder="请选择日期"
</c-date-picker> >
</c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data(){ data() {
return { return {};
} },
}, methods: { },
methods:{}, created: function () {},
created:function(){} };
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs"> <div class="eibs">
<!-- ------------------Left------------------> <!-- ------------------Left------------------>
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnyout.spk"> <el-form-item label="业务主键" prop="cnybop.cnyout.spk">
<c-input <c-input
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
</c-col> </c-col>
<!-- ------------------Right------------------> <!-- ------------------Right------------------>
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="银行业务编号" label="银行业务编号"
...@@ -378,15 +378,13 @@ ...@@ -378,15 +378,13 @@
</template> </template>
<script> <script>
import event from '../event'; import event from "../event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {};
};
}, },
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames">
<el-collapse-item title="单据结算" name="utlp">
<el-collapse-item title="单据结算" name="utlp"> <m-utlp ref="utlp" :model="model" :codes="codes" />
<m-utlp ref="utlp" :model="model" :codes="codes" /> </el-collapse-item>
</el-collapse-item> <el-collapse-item
title="CIPS"
<el-collapse-item title="CIPS" name="cips2" v-if="model.trnmod.cmtflg == 'P'"> name="cips2"
<m-cips2 :model="model" :codes="codes" /> v-if="model.trnmod.cmtflg == 'P'"
</el-collapse-item> >
<m-cips2 :model="model" :codes="codes" />
<el-collapse-item title="CIPS要素" name="cips" v-if="model.trnmod.cmtflg == 'P'"> </el-collapse-item>
<m-cips :model="model" :codes="codes" /> <el-collapse-item
</el-collapse-item> title="CIPS要素"
name="cips"
<el-collapse-item title="创建融资" name="trtcrep" v-if="model.trtcre.crefinflg != ''"> v-if="model.trnmod.cmtflg == 'P'"
<m-trtcrep :model="model" :codes="codes" /> >
</el-collapse-item> <m-cips :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="定价系统" name="dinpan" v-if=" <el-collapse-item
model.trtcre.trtmod.finmod.dinjdm != '' && title="创建融资"
model.trtcre.crefinflg != '' name="trtcrep"
"> v-if="model.trtcre.crefinflg != ''"
<m-dinpan :model="model" :codes="codes" /> >
</el-collapse-item> <m-trtcrep :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="融资款项" name="rzkx" v-model="model.trtcre.crefinflg" v-if="model.trtcre.crefinflg"> <el-collapse-item
title="定价系统"
name="dinpan"
v-if="
model.trtcre.trtmod.finmod.dinjdm != '' &&
model.trtcre.crefinflg != ''
"
>
<m-dinpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="融资款项"
name="rzkx"
v-model="model.trtcre.crefinflg"
v-if="model.trtcre.crefinflg"
>
<m-rzkx :model="model" :codes="codes" /> <m-rzkx :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item
<el-collapse-item title="定向收付" name="dxzfp" v-if="model.trtcre.crefinflg"> title="定向收付"
name="dxzfp"
v-if="model.trtcre.crefinflg"
>
<m-dxzfp :model="model" :codes="codes" /> <m-dxzfp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<!-- <el-collapse-item title="通知付款(MT756)" name="det756" v-if="model.setmod.setglg.setgll[0].dsp == 'PAC'">
<!-- <el-collapse-item title="通知付款(MT756)" name="det756" v-if="model.setmod.setglg.setgll[0].dsp == 'PAC'">
<m-det756 :model="model" :codes="codes" :idx="0"/> <m-det756 :model="model" :codes="codes" :idx="0"/>
</el-collapse-item> --> </el-collapse-item> -->
<!-- <el-collapse-item title="头寸调拨(MT202)" name="det202cv" v-if="model.setmod.setglg.setgll[0].dsp == 'PAC'">
<!-- <el-collapse-item title="头寸调拨(MT202)" name="det202cv" v-if="model.setmod.setglg.setgll[0].dsp == 'PAC'">
<m-det202cv :model="model" :codes="codes" /> <m-det202cv :model="model" :codes="codes" />
</el-collapse-item> --> </el-collapse-item> -->
<el-collapse-item
<el-collapse-item v-for="(pac, idx) in pacs" :key="idx" :title="pac.title" :name="pac.name"> v-for="(pac, idx) in pacs"
<m-det756 v-if="pac.type === '756'" :model="model" :codes="codes" :idx="pac.idx"/> :key="idx"
<m-det202cv v-else-if="pac.type === '202'" :model="model" :codes="codes" :idx="pac.idx" /> :title="pac.title"
</el-collapse-item> :name="pac.name"
>
<m-det756
v-if="pac.type === '756'"
:model="model"
:codes="codes"
:idx="pac.idx"
/>
<m-det202cv
v-else-if="pac.type === '202'"
:model="model"
:codes="codes"
:idx="pac.idx"
/>
</el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import Utils from "~/utils";
import Utlp from "./Utlp"; import Utlp from "./Utlp";
import Trtcrep from "./Trtcrep"; import Trtcrep from "./Trtcrep";
import Dinpan from "./Dinpan"; import Dinpan from "./Dinpan";
...@@ -63,54 +91,58 @@ import Cips from "./Cips"; ...@@ -63,54 +91,58 @@ import Cips from "./Cips";
import Cips2 from "./Cips2"; import Cips2 from "./Cips2";
import Rzkx from "./Rzkx"; import Rzkx from "./Rzkx";
import Dxzfp from "./Dxzfp"; import Dxzfp from "./Dxzfp";
import event from "../event";
export default { export default {
components: { components: {
"m-rzkx": Rzkx, "m-rzkx": Rzkx,
"m-dxzfp": Dxzfp, "m-dxzfp": Dxzfp,
"m-utlp": Utlp, "m-utlp": Utlp,
"m-trtcrep": Trtcrep, "m-trtcrep": Trtcrep,
"m-dinpan": Dinpan, "m-dinpan": Dinpan,
"m-det756": Det756, "m-det756": Det756,
"m-det202cv": Det202cv, "m-det202cv": Det202cv,
"m-cips": Cips, "m-cips": Cips,
"m-cips2": Cips2, "m-cips2": Cips2,
},
}, inject: ["root"],
inject: ["root"], props: ["model", "codes"],
props: ["model", "codes"], mixins: [event],
mixins: [event], data() {
data() { return {
return { activeNames: ["utlp"],
activeNames: ["utlp"] };
}; },
}, computed: {
computed: { pacs() {
pacs() { const pa = [];
const pa = [] const setgll = this.model.setmod.setglg.setgll;
const setgll = this.model.setmod.setglg.setgll for (let i = 0; i < setgll.length; i++) {
for (let i = 0; i < setgll.length; i++) { const setg = setgll[i];
const setg = setgll[i]; // 765和202页面出现条件(费用/账务页面:结算,处理方式是PAC时,756和202页面才能显示)
// 765和202页面出现条件(费用/账务页面:结算,处理方式是PAC时,756和202页面才能显示) if (setg.dsp === "PAC") {
if (setg.dsp === 'PAC') { const temp = [];
const temp = [] temp.push(setg.rol);
temp.push(setg.rol ) temp.push(setg.acccur);
temp.push(setg.acccur ) temp.push(setg.fmtaccamt);
temp.push(setg.fmtaccamt ) pa.push({
pa.push({ idx: i, title: '通知付款(MT756 ' + temp.join(' ') + ')', name: 'det756_' + temp.join('_'), type: '756' }) idx: i,
pa.push({ idx: i, title: '头寸调拨(MT202 ' + temp.join(' ') + ')', name: 'det202cv_' + temp.join('_'), type: '202' }) title: "通知付款(MT756 " + temp.join(" ") + ")",
} name: "det756_" + temp.join("_"),
} type: "756",
return pa });
pa.push({
idx: i,
title: "头寸调拨(MT202 " + temp.join(" ") + ")",
name: "det202cv_" + temp.join("_"),
type: "202",
});
} }
}
return pa;
}, },
methods: { },
handleChange(val) { methods: {},
console.log(val);
},
},
created: function () {},
}; };
</script> </script>
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
style="margin: 0 0 0 10px; padding: 0 12px" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-info" icon="el-icon-info"
> >
<span style="font-family: '宋体'; font-weight: bold"></span> <span style="font-family: '宋体'; font-weight: bold"></span>
...@@ -64,7 +63,6 @@ ...@@ -64,7 +63,6 @@
style="margin: 0 0 0 10px; padding: 0 12px" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-info" icon="el-icon-info"
> >
<span style="font-family: '宋体'; font-weight: bold"></span> <span style="font-family: '宋体'; font-weight: bold"></span>
...@@ -213,9 +211,10 @@ ...@@ -213,9 +211,10 @@
:list="model.liaall.tenstm.rows || []" :list="model.liaall.tenstm.rows || []"
:columns="columns" :columns="columns"
:showSelection="true" :showSelection="true"
v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm" prop="liaall.tenstm"
> >
<!-- v-on:multipleSelect="multipleSelect" -->
</c-istream-table-noPag> </c-istream-table-noPag>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -239,8 +238,6 @@ ...@@ -239,8 +238,6 @@
<c-input <c-input
v-model="model.setmod.docamt" v-model="model.setmod.docamt"
placeholder="请输入金额" placeholder="请输入金额"
@keyup.enter.native="$event.target.blur()"
@blur="eventFunction('setmod.docamt')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -287,9 +284,6 @@ ...@@ -287,9 +284,6 @@
<c-input <c-input
v-model="model.aamset.utlamt" v-model="model.aamset.utlamt"
placeholder="请输入金额" placeholder="请输入金额"
disabled
@keyup.enter.native="$event.target.blur()"
@blur="eventFunction('aamset.utlamt')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -313,8 +307,6 @@ ...@@ -313,8 +307,6 @@
<c-input <c-input
v-model="model.aamset.utlamt2" v-model="model.aamset.utlamt2"
placeholder="请输入金额" placeholder="请输入金额"
disabled
@change="eventFunction('aamset.utlamt2')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -343,10 +335,9 @@ ...@@ -343,10 +335,9 @@
label-width="120px" label-width="120px"
style="float: left" style="float: left"
> >
<c-checkbox disabled v-model="model.mtabut.clsflg" true-label="C" <c-checkbox :disabled="this.model.trnmod.cmtflg==''" v-model="model.mtabut.clsflg" true-label="C"
>闭卷标识</c-checkbox >闭卷标识</c-checkbox
> >
<!--:disabled="this.model.trnmod.cmtflg==''" -->
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -633,7 +624,6 @@ ...@@ -633,7 +624,6 @@
v-model="model.brdgrp.rec.docprbrol" v-model="model.brdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择交单人" placeholder="请选择交单人"
@change="selectOrCheckboxRule('brdgrp.rec.docprbrol')"
:code="codes.docprbrol1" :code="codes.docprbrol1"
> >
...@@ -658,7 +648,6 @@ ...@@ -658,7 +648,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-info" icon="el-icon-info"
> >
<span style="font-family: '宋体'; font-weight: bold"></span> <span style="font-family: '宋体'; font-weight: bold"></span>
...@@ -667,7 +656,6 @@ ...@@ -667,7 +656,6 @@
style="margin: 0 0 0 10px; padding: 0 12px" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-info" icon="el-icon-info"
> >
<span style="font-family: '宋体'; font-weight: bold"></span> <span style="font-family: '宋体'; font-weight: bold"></span>
...@@ -695,8 +683,9 @@ ...@@ -695,8 +683,9 @@
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
...@@ -722,38 +711,6 @@ export default { ...@@ -722,38 +711,6 @@ export default {
}; };
}, },
methods: { methods: {
commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => {
if (res.respCode == SUCCESS) {
}
});
},
async multipleSelect(selection) {
console.log(selection);
if (selection.length > 1) {
this.$notify({
title: "错误",
message: "您不能选择多个期限",
type: "error",
});
} else {
let chkIds;
if (selection.length === 0) {
chkIds = [];
} else {
chkIds = [selection[0] + 1];
}
//
console.log(this.model.liaall.tensetstm);
let params = { chkDst: "liaall.tenstm", chkIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
}, },
created: function () {}, created: function () {},
watch: { watch: {
...@@ -787,7 +744,7 @@ export default { ...@@ -787,7 +744,7 @@ export default {
} else { } else {
this.model.trnmod.swftyp = ""; this.model.trnmod.swftyp = "";
} }
} },
}, },
}, },
}; };
......
<template> <template>
<div class="eibs"> <div class="eibs">
<c-col :span="24" style="margin-top: 20px">
<c-col :span="24" style="margin-top: 20px;">
<c-col :span="12" class="col-left"> <c-col :span="12" class="col-left">
<el-form-item label="申报类型" label-width="120px" prop="bopmod.szflg"> <el-form-item label="申报类型" label-width="120px" prop="bopmod.szflg">
<c-select <c-select
v-model="model.bopmod.szflg" v-model="model.bopmod.szflg"
style="width: 100%" style="width: 100%"
placeholder="请选择申报类型" placeholder="请选择申报类型"
@change="szflgChange"
> >
<el-option <el-option
v-for="item in codes.szflg" v-for="item in codes.szflg"
...@@ -20,8 +18,11 @@ ...@@ -20,8 +18,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7" :offset="1"> <c-col :span="7" :offset="1">
<c-checkbox v-model="model.bopmod.basflg" :disabled="model.bopmod.szflg==='3'||model.bopmod.szflg===''" <c-checkbox
@change="changeBasflg">基础数据</c-checkbox> v-model="model.bopmod.basflg"
:disabled="model.bopmod.szflg === '3' || model.bopmod.szflg === ''"
>基础数据</c-checkbox
>
</c-col> </c-col>
</c-col> </c-col>
...@@ -32,51 +33,57 @@ ...@@ -32,51 +33,57 @@
v-model="model.bopmod.acttyp" v-model="model.bopmod.acttyp"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
:disabled="model.bopmod.szflg==='3' || model.bopmod.szflg==='2' ||model.bopmod.szflg===''" :disabled="
@change="acttypChange" model.bopmod.szflg === '3' ||
model.bopmod.szflg === '2' ||
model.bopmod.szflg === ''
"
> >
<el-option <el-option
v-for="item in codes.acttyp" v-for="item in codes.acttyp"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey" label-width="120px"> <el-form-item
label="地区机构号"
prop="bopmod.ownextkey"
label-width="120px"
>
<c-select <c-select
v-model="model.bopmod.ownextkey" v-model="model.bopmod.ownextkey"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
:disabled="model.bopmod.szflg==='3' ||model.bopmod.szflg===''" :disabled="model.bopmod.szflg === '3' || model.bopmod.szflg === ''"
@change="ownextkeyChange"
> >
<el-option <el-option
v-for="item in codesOwnextkey" v-for="item in codesOwnextkey"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data(){ data() {
return { return {
temp:'不申报', temp: "不申报",
options: [ options: [
{ {
value: "1", value: "1",
...@@ -87,88 +94,35 @@ export default { ...@@ -87,88 +94,35 @@ export default {
label: "不申报", label: "不申报",
}, },
], ],
codesOwnextkey:[ codesOwnextkey: [
{ {
value: "", value: "",
label: "", label: "",
} },
], ],
}; };
},
methods: {
async szflgChange(){
let rtnmsg = await this.executeRule("bopmod.szflg")
if(rtnmsg.respCode == SUCCESS){
this.model.bopmod.ownextkey = rtnmsg.data.bopmod_ownextkey
}
if(this.model.bopmod.szflg==='2'){
this.model.bopmod.acttyp = '';
}
if(this.model.bopmod.szflg==='3'){
this.model.bopmod.ownextkey = '';
this.model.bopmod.acttyp = '';
this.model.bopmod.basflg='';
}
},
async changeBasflg(){//基础数据单选框点击触发执行默认方法
// 执行默认方法新写法:executeNotify()不用传参
this.executeNotify().then(res => {
if (res.respCode == SUCCESS){
this.copyValueFromVO(res.data);
}
});
this.$nextTick(()=>{
this.tabClick()
});
},
async ownextkeyChange(){//地区机构号改变触发
this.tabClick()
},
async acttypChange(){
this.tabClick()
},
//Ui页面整合后,申报信息页中的三个小页面漏掉的切换标签页面事件
tabClick(){
if(this.model.bopmod.basflg=="X"){//勾选基础信息,显示出对外/对内付款标签页
switch (this.model.bopmod.szflg) {
case "1"://申报类型选跨境收支
this.eventFunction("bopmod.dbcp.basp")//触发td上的点击切换到对外付款标签页事件
break;
case "2"://申报类型选境内收支
this.eventFunction("bopmod.dbfp.basp")//触发td上的点击切换到境内付款标签页事件
break;
}
// this.executeRule("boppay.dbfp.basp").then((res) => {
// if (res.respCode == SUCCESS) {
// this.copyValueFromVO(res.data);
// }
// });
}
}
}, },
methods: {},
created: function () { created: function () {
//给人民币申报赋值 //给人民币申报赋值
this.model.cnybop.cnyflg="2"; this.model.cnybop.cnyflg = "2";
this.model.cnybop.traflg="2"; this.model.cnybop.traflg = "2";
this.model.cnybop.libflg="2"; this.model.cnybop.libflg = "2";
this.model.cnybop.vouflg="2"; this.model.cnybop.vouflg = "2";
}, },
watch: { watch: {
"model.bopmod.ownextkey": function(){ "model.bopmod.ownextkey": function () {
if(this.model.bopmod.ownextkey != ''){ if (this.model.bopmod.ownextkey != "") {
var instName = window.sessionStorage.instName || "北京分行"; var instName = window.sessionStorage.instName || "北京分行";
this.codesOwnextkey[0].value = this.model.bopmod.ownextkey; this.codesOwnextkey[0].value = this.model.bopmod.ownextkey;
this.codesOwnextkey[0].label = this.model.bopmod.ownextkey + instName; this.codesOwnextkey[0].label = this.model.bopmod.ownextkey + instName;
}else{ } else {
this.codesOwnextkey[0].value = ''; this.codesOwnextkey[0].value = "";
this.codesOwnextkey[0].label = ''; this.codesOwnextkey[0].label = "";
}
} }
},
}, },
};
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="进口信用证单据进口付汇"> <c-page title="进口信用证单据进口付汇">
<!-- <!--
<div class="fast-button"> <div class="fast-button">
<el-button size="small">备忘录</el-button> <el-button size="small">备忘录</el-button>
...@@ -10,7 +9,6 @@ ...@@ -10,7 +9,6 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
/div> /div>
--> -->
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -26,70 +24,79 @@ ...@@ -26,70 +24,79 @@
type="card" type="card"
@tab-click="tabClick" @tab-click="tabClick"
> >
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp ref="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>
<!--PD000001 --> <!--PD000115 -->
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="统一授信" name="limitbody">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan"> <!--PD000027 -->
<c-content> <el-tab-pane label="表外记账" name="engp">
<m-ccvpan :model="model" :codes="codes" :buildLiaccv="buildLiaccv" /> <c-content>
</c-content> <!-- 表外记账 -->
</el-tab-pane> <m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 --> <!--PD000027 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-limitbody :model="model" :codes="codes" /> <m-setmod
</c-content> :model="model"
</el-tab-pane> :codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="会计分录" name="glepan">
<c-content> <c-content>
<m-setmod <m-glentry :model="model" :codes="codes" />
:model="model" </c-content>
:codes="codes" </el-tab-pane>
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb"> <el-tab-pane label="备查/附言" name="addbcb">
<c-content> <c-content>
<div class="eibs-tab"> <m-addbcb :model="model" :codes="codes" />
<m-addbcb :model="model" :codes="codes" /> </c-content>
</div> </el-tab-pane>
</c-content>
</el-tab-pane>
<!--PD000002 -->
<el-tab-pane label="申报信息" name="cnyp">
<c-content>
<m-cnyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 --> <!--PD000009 -->
<el-tab-pane label="报文/面函" name="docpan"> <el-tab-pane label="申报信息" name="cfactlp,cnyp1">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-cnyp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000529 -->
<el-tab-pane label="附件信息" name="doctre"> <el-tab-pane label="报文/面函" name="docpan">
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </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> </c-tabs>
</el-form> </el-form>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
...@@ -98,33 +105,34 @@ ...@@ -98,33 +105,34 @@
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :handleStash="handleStash"
> >
</c-function-btn> </c-function-btn>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
></c-grid-ety-prompt-dialog> @select-ety="selectGridEtyPromptData">
</c-grid-ety-prompt-dialog>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import event from "../event";
import Brtset from "~/model/Brtset"; import formRules from '../model/check';
import commonFuncs from "~/mixin/commonFuncs"; import Api from "~/service/Api";
import Utlp from "./Utlp";
import formRules from '../model/check'
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Engp from "~/components/business/engp/views"; import Brtset from "../model";
import Utlp from "./Utlp";
import Ccvpan from "~/components/business/ccvpan/views"; import Ccvpan from "~/components/business/ccvpan/views";
import Engp from "~/components/business/engp/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views"; import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views"; import Limitbody from "~/components/business/limitbody/views";
import Setmod from "~/components/business/setmod/views"; import operationFunc from "~/mixin/operationFunc";
import Wg from "./Wg"; import Wg from "./Wg";
import Cfactlp from "./Cfactlp"; import Cfactlp from "./Cfactlp";
import Cnyp from "./Cnyp"; import Cnyp from "./Cnyp";
import Shisuan from "./Shisuan";
import Namp from "./Namp"; import Namp from "./Namp";
import Basp from "./Basp"; import Basp from "./Basp";
import Basp1 from "./Basp1"; import Basp1 from "./Basp1";
...@@ -136,7 +144,6 @@ import Cips from "./Cips"; ...@@ -136,7 +144,6 @@ import Cips from "./Cips";
import Cips2 from "./Cips2"; import Cips2 from "./Cips2";
import Trtcrep from "./Trtcrep"; import Trtcrep from "./Trtcrep";
import Dinpan from "./Dinpan"; import Dinpan from "./Dinpan";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb"; import Addbcb from "./Addbcb";
...@@ -146,12 +153,12 @@ export default { ...@@ -146,12 +153,12 @@ export default {
"m-utlp": Utlp, "m-utlp": Utlp,
"m-engp": Engp, "m-engp": Engp,
"m-ccvpan": Ccvpan, "m-ccvpan": Ccvpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-wg": Wg, "m-wg": Wg,
"m-cfactlp": Cfactlp, "m-cfactlp": Cfactlp,
"m-cnyp": Cnyp, "m-cnyp": Cnyp,
"m-shisuan": Shisuan,
"m-namp": Namp, "m-namp": Namp,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-sbxx": Sbxx, "m-sbxx": Sbxx,
...@@ -167,13 +174,14 @@ export default { ...@@ -167,13 +174,14 @@ export default {
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-addbcb": Addbcb, "m-addbcb": Addbcb,
"m-setmod": Setmod, "m-setmod": Setmod,
"m-glentry": Glentry,
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; };
}, },
mixins: [event, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [operationFunc,event], // 里面包含了Default、Check等的公共处理
computed: {}, computed: {},
data() { data() {
return { return {
...@@ -186,52 +194,53 @@ export default { ...@@ -186,52 +194,53 @@ export default {
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
fyzw: ['engp'], fyzw: ["engp"],
promptData: { promptData: {
title: 'Select a Party', title: 'Select a Party',
columns: [ columns: [
{ {
prop: 'ptyInr', prop: 'ptyInr',
label: 'Party Number' label: 'Party Number'
}, },
{ {
prop: 'inr', prop: 'inr',
label: 'Address Number' label: 'Address Number'
}, },
{ {
prop: 'branch', prop: 'branch',
label: 'Branch Code' label: 'Branch Code'
}, },
{ {
prop: 'bchName', prop: 'bchName',
label: 'Branch Name' label: 'Branch Name'
}, },
{ {
prop: 'adrName', prop: 'adrName',
label: 'Address Name' label: 'Address Name'
}, },
{ {
prop: 'adr1', prop: 'adr1',
label: 'Address1' label: 'Address1'
}, },
{ {
prop: 'locCty', prop: 'locCty',
label: 'City' label: 'City'
}, },
{ {
prop: 'locZip', prop: 'locZip',
label: 'Zip' label: 'Zip'
}, },
{ {
prop: 'bicCode', prop: 'bicCode',
label: 'BIC' label: 'BIC'
}
],
data: []
} }
],
data: []
}
}; };
}, },
methods: {}, methods: {
},
watch: { watch: {
"model.setmod.doccur": { "model.setmod.doccur": {
immediate: true, immediate: true,
...@@ -254,7 +263,6 @@ export default { ...@@ -254,7 +263,6 @@ export default {
}, },
}, },
}, },
}; };
</script> </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