Commit 44906d0b 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 ae0740cb d7ae94f9
......@@ -27,7 +27,7 @@ export default {
}
let dataObj = {
rec: {
objtyp: 'brd',
objtyp: 'LID',
ownref: model.brdgrp.rec.ownref,
opndat: model.brdgrp.rec.opndat,
expdat: model.brdgrp.rec.expdat,
......@@ -39,7 +39,7 @@ export default {
fromflg: model.brdgrp.rec.fromflg,
othersno: model.brdgrp.rec.othersno,
sndto: model.brdgrp.rec.sndto,
swiftflg: model.brtp.swiftflg,
// swiftflg: model.brtp.swiftflg,
brduil: model.brdgrp.rec.brduil,
purpos: model.brdgrp.rec.purpos,
revflg: model.brdgrp.rec.revflg,
......@@ -114,7 +114,7 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'brd',
objtyp: 'LID',
objinr: model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref,
},
......@@ -125,7 +125,7 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'brd',
objtyp: 'LID',
objinr: model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref,
swiftflg: model.brtp.swiftflg,
......
......@@ -28,9 +28,9 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
brdgrp:{
lidgrp:{
rec:{
inr: "00000254",
inr:'00000342',
}
}
});
......@@ -70,7 +70,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
......
......@@ -18,12 +18,12 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},//原为number类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为string
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }//含正负数
],
// "lidgrp.cbs.opn1.amt":[
// {type: "string", required: false, message: "必输项"},//原为number类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为string
// {max: 18,message:"整数位不能超过14位"},
// // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// {pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }//含正负数
// ],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -3,9 +3,9 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Brteus {
constructor() {
this.data = {
brtp:{
swiftflg: '',
},
// brtp:{
// swiftflg: '',
// },
gidgrp:{
ghd: {
......@@ -117,7 +117,8 @@ export default class Brteus {
lidgrp: {
rec: {
expdat: '',
ownref: ''
ownref: '',
branchinr:"00000014",
},
cbs: {
opn1: {
......
......@@ -25,7 +25,7 @@
<script>
import event from "../event";
import Brteus from "./Brteus";
import Brteus from "./BrteusPanel";
import Mt750p from "./Mt750p";
import Mt754p from "./Mt754p";
import Othadvtypp from "./Othadvtypp";
......
......@@ -84,7 +84,7 @@
<script>
import CodeTable from "~/config/CodeTable";
import Brteus from "../model";
import Brteuss from "./Brteus";
import BrteusPanel from "./BrteusPanel";
import Addbcb from "./Addbcb";
import Ovwp from "./Ovwp";
......@@ -106,7 +106,7 @@ import formRules from '../model/check';
export default {
name: "Brteus",
components: {
"m-brteus": Brteuss,
"m-brteus": BrteusPanel,
"m-mt750p": Mt750p,
"m-mt754p": Mt754p,
"m-othadvtypp": Othadvtypp,
......
......@@ -19,42 +19,39 @@ export default {
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.gidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.apl));
if (model.brdgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.apl));
}
if (model.gidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.adv));
}
if (model.gidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.ben));
if (model.brdgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'GID',
ownref: model.gidgrp.rec.ownref,
opndat: model.gidgrp.rec.opndat,
expdat: model.gidgrp.rec.expdat,
branchInr: model.gidgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua,
segtyp: model.gidgrp.ghd.segtyp,
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
swiftflg: model.gitp.swiftflg,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg,
cnfsta: model.gidgrp.rec.cnfsta,
objtyp: 'brd',
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,
segtyp: model.brdgrp.ghd.segtyp,
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.gidgrp.cbs.max,
OPN1: model.gidgrp.cbs.opn1,
MAC: model.gidgrp.cbs.mac,
MAC2: model.gidgrp.cbs.mac2,
OPC2: model.gidgrp.cbs.opc2,
CNF: model.gidgrp.cbs.cnf,
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,
......@@ -117,9 +114,9 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
objtyp: 'brd',
objinr: model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref,
},
};
return params
......@@ -128,10 +125,10 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
objtyp: 'brd',
objinr: model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref,
swiftflg: model.brtp.swiftflg,
},
};
return params
......
......@@ -28,7 +28,13 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
brdgrp:{
rec:{
inr: "00000028",
}
}
});
// debugger
if (!res.data) {
return
}
......@@ -109,7 +115,7 @@ export default {
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
// 获取brtset弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
......@@ -123,7 +129,7 @@ export default {
this.root.promptData.type = type;
}
},
// 选中gitopn弹框表格的行数据
// 选中brtset弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
......@@ -140,10 +146,10 @@ export default {
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
brtp: {
swiftflg: this.model.gitp.swiftflg,
},
gidgrp: {
brdgrp: {
rec: {
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>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import Api from "~/service/Api";
import event from "../event"
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
components: {
"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>
......
<template>
<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="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">
<el-form-item label="收款直接参与者名称" prop="trnmod.reconebchnam">
<c-input
type="textarea"
v-model="model.trnmod.reconebchnam"
maxlength="35"
show-word-limit
placeholder="请输入收款直接参与者名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款直接参与者名称" prop="trnmod.reconebchnam">
<c-input type="textarea" v-model="model.trnmod.reconebchnam" maxlength="35" show-word-limit placeholder="请输入收款直接参与者名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附言" prop="trnmod.commen">
<c-input
type="textarea"
v-model="model.trnmod.commen"
maxlength="30"
show-word-limit
placeholder="请输入附言"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附言" prop="trnmod.commen">
<c-input type="textarea" v-model="model.trnmod.commen" maxlength="30" show-word-limit placeholder="请输入附言" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务种类" prop="trnmod.bustyp">
<c-select v-model="model.trnmod.bustyp" style="width:100%" placeholder="请选择业务种类" >
<el-option
v-for="item in this.bustyp"
:key="item.value"
:label="item.value + item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="业务种类" prop="trnmod.bustyp">
<c-select
v-model="model.trnmod.bustyp"
style="width: 100%"
placeholder="请选择业务种类"
>
<el-option
v-for="item in this.bustyp"
:key="item.value"
:label="item.value + item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px"> </c-col>
</c-col>
</div>
</template>
<script>
import event from '../event'
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 {
bustyp:[
{ value: 'GODX', label: '货期贸易' },
{ value: 'STRX', label: '服务贸易' },
{ value: 'CTFX', label: '资本项下' },
{ value: 'FTFX', label: '金融机构头寸调拨' },
{ value: 'BDES', label: '债卷还本利息' },
{ value: 'BPRR', label: '债卷还本金' },
{ value: 'BINP', label: '债卷利息' },
{ value: 'BISF', label: '债卷发行手续费' },
{ value: 'BCAF', label: '债卷兑付手续费' },
{ value: 'CBCF', label: '附息式债卷兑付手续费' },
{ value: 'OTFX', label: '其他' },
],
}
},
methods:{},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
bustyp: [
{ value: "GODX", label: "货期贸易" },
{ value: "STRX", label: "服务贸易" },
{ value: "CTFX", label: "资本项下" },
{ value: "FTFX", label: "金融机构头寸调拨" },
{ value: "BDES", label: "债卷还本利息" },
{ value: "BPRR", label: "债卷还本金" },
{ value: "BINP", label: "债卷利息" },
{ value: "BISF", label: "债卷发行手续费" },
{ value: "BCAF", label: "债卷兑付手续费" },
{ value: "CBCF", label: "附息式债卷兑付手续费" },
{ value: "OTFX", label: "其他" },
],
};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
......@@ -388,8 +388,9 @@
</div>
</template>
<script>
import event from '../event'
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
......@@ -397,7 +398,7 @@ export default {
data() {
return {};
},
methods: {},
methods: { },
created: function () {},
};
</script>
......
<template>
<div class="eibs-tab">
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="外管信息" name="wg">
<m-wg :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '1'">
<m-basp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1" v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '2'">
<m-basp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="跨境人民币申报" name="cnyp1">
<m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="2111跨境支出信息" 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-item title="外管信息" name="wg">
<m-wg :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="对外付款/承兑通知书-基础信息"
name="basp"
v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '1'"
>
<m-basp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="境内付款/承兑通知书-基础信息"
name="basp1"
v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '2'"
>
<m-basp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="跨境人民币申报" name="cnyp1">
<m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="2111跨境支出信息"
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>
</div>
</div>
</template>
<script>
import event from '../event';
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
import Wg from "./Wg";
import Cnyp1 from "./Cnyp1";
import Cfactlp from "./Cfactlp";
......@@ -39,26 +46,26 @@ import Basp from "./Basp";
import Basp1 from "./Basp1";
import Outp from "./Outp";
export default {
inject: ["root"],
components: {
"m-wg": Wg,
"m-basp": Basp,
"m-basp1": Basp1,
"m-cnyp1": Cnyp1,
"m-outp": Outp,
"m-cfactlp": Cfactlp,
},
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["wg"],
};
},
methods: {},
created: function () {},
inject: ["root"],
components: {
"m-wg": Wg,
"m-basp": Basp,
"m-basp1": Basp1,
"m-cnyp1": Cnyp1,
"m-outp": Outp,
"m-cfactlp": Cfactlp,
},
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["wg"],
};
},
methods: {
},
created: function () {},
};
</script>
......
<template>
<div class="eibs">
<!-- left -->
<c-col :span="12" style="margin-top: 20px;">
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" label-width="175px">
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%;"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.cnyflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" style="margin-top: 20px">
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" label-width="175px">
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.cnyflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" label-width="175px">
<c-select
v-model="model.cnybop.traflg"
style="width: 100%;"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.traflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" label-width="175px">
<c-select
v-model="model.cnybop.traflg"
style="width: 100%"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.traflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" label-width="175px" prop="cnybop.outflg">
<c-select
v-model="model.cnybop.outflg"
style="width: 100%;"
placeholder="请选择"
>
<el-option
v-for="item in codes.outflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="是否报送跨境人民币2111表"
label-width="175px"
prop="cnybop.outflg"
>
<c-select
v-model="model.cnybop.outflg"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.outflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" label-width="175px">
<c-select
v-model="model.cnybop.libflg"
style="width: 100%;"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.libflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" label-width="175px">
<c-select
v-model="model.cnybop.libflg"
style="width: 100%"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.libflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" label-width="175px">
<c-select
v-model="model.cnybop.vouflg"
placeholder="请选择"
style="width: 100%;"
disabled
>
<el-option
v-for="item in codes.vouflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<!-- 2111跨境支出信息 -->
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" label-width="175px">
<c-select
v-model="model.cnybop.vouflg"
placeholder="请选择"
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.vouflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<!-- 2111跨境支出信息 -->
</c-col>
</div>
</template>
<script>
import event from '../event';
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default {
inject: ["root"],
......@@ -104,7 +109,7 @@ export default {
mixins: [event],
data() {
return {
temp:'不申报',
temp: "不申报",
options: [
{
value: "1",
......@@ -115,48 +120,34 @@ export default {
label: "不申报",
},
],
codesOwnextkey:[
{
value: "",
label: "",
}
codesOwnextkey: [
{
value: "",
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='';
}
}
},
created: function () {
//给人民币申报赋值
this.model.cnybop.cnyflg="2";
this.model.cnybop.traflg="2";
this.model.cnybop.libflg="2";
this.model.cnybop.vouflg="2";
//给人民币申报赋值
this.model.cnybop.cnyflg = "2";
this.model.cnybop.traflg = "2";
this.model.cnybop.libflg = "2";
this.model.cnybop.vouflg = "2";
},
watch: {
"model.bopmod.ownextkey": function(){
if(this.model.bopmod.ownextkey != ''){
var instName = window.sessionStorage.instName || "北京分行";
this.codesOwnextkey[0].value = this.model.bopmod.ownextkey;
this.codesOwnextkey[0].label = this.model.bopmod.ownextkey + instName;
}else{
this.codesOwnextkey[0].value = '';
this.codesOwnextkey[0].label = '';
}
"model.bopmod.ownextkey": function () {
if (this.model.bopmod.ownextkey != "") {
var instName = window.sessionStorage.instName || "北京分行";
this.codesOwnextkey[0].value = this.model.bopmod.ownextkey;
this.codesOwnextkey[0].label = this.model.bopmod.ownextkey + instName;
} else {
this.codesOwnextkey[0].value = "";
this.codesOwnextkey[0].label = "";
}
},
},
};
</script>
......
......@@ -13,7 +13,7 @@
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<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>
</c-button>
<c-button size="small" type="primary" style="margin: 0 0" @click="onGctpGetrefbut">
......@@ -43,10 +43,10 @@
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<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>
</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>
</template>
......@@ -109,10 +109,10 @@
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<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>
</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>
</template>
......@@ -139,10 +139,10 @@
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<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>
</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>
</template>
......@@ -171,7 +171,9 @@
</div>
</template>
<script>
import event from '../event';
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default {
inject: ["root"],
......@@ -180,7 +182,7 @@ export default {
data() {
return {};
},
methods: {},
methods: { },
created: function () { },
};
</script>
......
......@@ -24,7 +24,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info"></i>
</c-button>
......@@ -32,7 +31,6 @@
size="small"
type="primary"
style="margin: 0 0"
@click="onGctpGetrefbut"
>
详情
</c-button>
......@@ -77,7 +75,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info"></i>
</c-button>
......@@ -85,7 +82,6 @@
size="small"
type="primary"
style="margin: 0 0"
@click="onGctpGetrefbut"
>
详情
</c-button>
......@@ -130,7 +126,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info"></i>
</c-button>
......@@ -138,7 +133,6 @@
size="small"
type="primary"
style="margin: 0 0"
@click="onGctpGetrefbut"
>
详情
</c-button>
......@@ -197,16 +191,6 @@
size="small"
type="primary"
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>
......@@ -215,9 +199,9 @@
</div>
</template>
<script>
import event from '../event';
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes", "idx"],
......@@ -225,7 +209,7 @@ export default {
data() {
return {};
},
methods: {},
methods: { },
created: function () {},
};
</script>
......
......@@ -311,7 +311,9 @@
</div>
</template>
<script>
import event from '../event';
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default {
inject: ["root"],
......@@ -320,7 +322,7 @@ export default {
data() {
return {};
},
methods: {},
methods: { },
created: function () {},
};
</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>
<div class="eibs">
<!-- SG000148 : 收款账号 -->
<!-- SG000148 : 收款账号 -->
<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-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-col>
<!-- SG000152 : 收款人名称 -->
<c-col :span="24">
</c-col>
<!-- SG000152 : 收款人名称 -->
<c-col :span="24">
<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-col>
<c-col :span="24">
<c-form-item label="收款人国别代码" prop="trtcre.trdgrp.rec.reccountrycode">
</c-col>
<c-col :span="24">
<c-form-item
label="收款人国别代码"
prop="trtcre.trdgrp.rec.reccountrycode"
>
<c-fullbox>
<c-input v-model="model.trtcre.trdgrp.rec.reccountrycode" maxlength="3" placeholder=""
@keyup.enter.native="showGridPromptDialog('trtcre.trdgrp.rec.reccountrycode')"
<c-input
v-model="model.trtcre.trdgrp.rec.reccountrycode"
maxlength="3"
placeholder=""
@keyup.enter.native="
showGridPromptDialog('trtcre.trdgrp.rec.reccountrycode')
"
></c-input>
<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>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- SG000150 : 收款人国别代码 -->
<!-- SG000151 : 收款人国内地区码 -->
<c-col :span="24">
<c-form-item label="收款人国内地区码" prop="trtcre.trdgrp.rec.recdistrictcode">
<c-input v-model="model.trtcre.trdgrp.rec.recdistrictcode" maxlength="6" placeholder=""></c-input>
</c-col>
<!-- SG000150 : 收款人国别代码 -->
<!-- SG000151 : 收款人国内地区码 -->
<c-col :span="24">
<c-form-item
label="收款人国内地区码"
prop="trtcre.trdgrp.rec.recdistrictcode"
>
<c-input
v-model="model.trtcre.trdgrp.rec.recdistrictcode"
maxlength="6"
placeholder=""
></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import event from '../event';
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import T23E from "@/widget/SwfMessage/Tags/T23E";
import event from "../event";
export default {
components: {T23E},
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
components: { T23E },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<el-form-item
label="进口开证额度主体"
prop="brdgrp.apl.pts.extkey"
style="width = 100%">
<c-fullbox>
<c-input
v-model="model.brdgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入信用证编号"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf"
>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<el-form-item
label="进口开证额度主体"
prop="brdgrp.apl.pts.extkey"
style="width = 100%"
>
<c-fullbox>
<c-input
v-model="model.brdgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入信用证编号"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family:'宋体';font-weight:bold">详情</span>
</c-button>
</template>
</c-fullbox>
</c-button>
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">详情</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
</c-col>
<c-col :span="12" style="padding-left: 20px">
<el-form-item label="有效日期" prop="lidgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width:100%"
placeholder="请选择日期">
</c-date-picker>
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择日期"
>
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import event from '../event';
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(){}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- ------------------Left------------------>
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnyout.spk">
<c-input
......@@ -176,7 +176,7 @@
</c-col>
<!-- ------------------Right------------------>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item
label="银行业务编号"
......@@ -378,15 +378,13 @@
</template>
<script>
import event from '../event';
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
};
return {};
},
};
</script>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="单据结算" name="utlp">
<m-utlp ref="utlp" :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="CIPS" name="cips2" v-if="model.trnmod.cmtflg == 'P'">
<m-cips2 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="CIPS要素" name="cips" v-if="model.trnmod.cmtflg == 'P'">
<m-cips :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="创建融资" name="trtcrep" v-if="model.trtcre.crefinflg != ''">
<m-trtcrep :model="model" :codes="codes" />
</el-collapse-item>
<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">
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="单据结算" name="utlp">
<m-utlp ref="utlp" :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="CIPS"
name="cips2"
v-if="model.trnmod.cmtflg == 'P'"
>
<m-cips2 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="CIPS要素"
name="cips"
v-if="model.trnmod.cmtflg == 'P'"
>
<m-cips :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="创建融资"
name="trtcrep"
v-if="model.trtcre.crefinflg != ''"
>
<m-trtcrep :model="model" :codes="codes" />
</el-collapse-item>
<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" />
</el-collapse-item>
<el-collapse-item title="定向收付" name="dxzfp" v-if="model.trtcre.crefinflg">
<el-collapse-item
title="定向收付"
name="dxzfp"
v-if="model.trtcre.crefinflg"
>
<m-dxzfp :model="model" :codes="codes" />
</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"/>
</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" />
</el-collapse-item> -->
<el-collapse-item v-for="(pac, idx) in pacs" :key="idx" :title="pac.title" :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-item
v-for="(pac, idx) in pacs"
:key="idx"
:title="pac.title"
: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>
</div>
</div>
</template>
<script>
import event from '../event';
import Api from "~/service/Api";
import Utils from "~/utils";
import Utlp from "./Utlp";
import Trtcrep from "./Trtcrep";
import Dinpan from "./Dinpan";
......@@ -63,54 +91,58 @@ import Cips from "./Cips";
import Cips2 from "./Cips2";
import Rzkx from "./Rzkx";
import Dxzfp from "./Dxzfp";
import event from "../event";
export default {
components: {
"m-rzkx": Rzkx,
"m-dxzfp": Dxzfp,
"m-utlp": Utlp,
"m-trtcrep": Trtcrep,
"m-dinpan": Dinpan,
"m-det756": Det756,
"m-det202cv": Det202cv,
"m-cips": Cips,
"m-cips2": Cips2,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["utlp"]
};
},
computed: {
pacs() {
const pa = []
const setgll = this.model.setmod.setglg.setgll
for (let i = 0; i < setgll.length; i++) {
const setg = setgll[i];
// 765和202页面出现条件(费用/账务页面:结算,处理方式是PAC时,756和202页面才能显示)
if (setg.dsp === 'PAC') {
const temp = []
temp.push(setg.rol )
temp.push(setg.acccur )
temp.push(setg.fmtaccamt )
pa.push({ idx: i, title: '通知付款(MT756 ' + temp.join(' ') + ')', name: 'det756_' + temp.join('_'), type: '756' })
pa.push({ idx: i, title: '头寸调拨(MT202 ' + temp.join(' ') + ')', name: 'det202cv_' + temp.join('_'), type: '202' })
}
}
return pa
components: {
"m-rzkx": Rzkx,
"m-dxzfp": Dxzfp,
"m-utlp": Utlp,
"m-trtcrep": Trtcrep,
"m-dinpan": Dinpan,
"m-det756": Det756,
"m-det202cv": Det202cv,
"m-cips": Cips,
"m-cips2": Cips2,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["utlp"],
};
},
computed: {
pacs() {
const pa = [];
const setgll = this.model.setmod.setglg.setgll;
for (let i = 0; i < setgll.length; i++) {
const setg = setgll[i];
// 765和202页面出现条件(费用/账务页面:结算,处理方式是PAC时,756和202页面才能显示)
if (setg.dsp === "PAC") {
const temp = [];
temp.push(setg.rol);
temp.push(setg.acccur);
temp.push(setg.fmtaccamt);
pa.push({
idx: i,
title: "通知付款(MT756 " + temp.join(" ") + ")",
name: "det756_" + temp.join("_"),
type: "756",
});
pa.push({
idx: i,
title: "头寸调拨(MT202 " + temp.join(" ") + ")",
name: "det202cv_" + temp.join("_"),
type: "202",
});
}
}
return pa;
},
methods: {
handleChange(val) {
console.log(val);
},
},
created: function () {},
},
methods: {},
};
</script>
......
......@@ -20,7 +20,6 @@
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
......@@ -64,7 +63,6 @@
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
......@@ -213,9 +211,10 @@
:list="model.liaall.tenstm.rows || []"
:columns="columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
>
<!-- v-on:multipleSelect="multipleSelect" -->
</c-istream-table-noPag>
</el-form-item>
</c-col>
......@@ -239,8 +238,6 @@
<c-input
v-model="model.setmod.docamt"
placeholder="请输入金额"
@keyup.enter.native="$event.target.blur()"
@blur="eventFunction('setmod.docamt')"
></c-input>
</el-form-item>
</c-col>
......@@ -287,9 +284,6 @@
<c-input
v-model="model.aamset.utlamt"
placeholder="请输入金额"
disabled
@keyup.enter.native="$event.target.blur()"
@blur="eventFunction('aamset.utlamt')"
></c-input>
</el-form-item>
</c-col>
......@@ -313,8 +307,6 @@
<c-input
v-model="model.aamset.utlamt2"
placeholder="请输入金额"
disabled
@change="eventFunction('aamset.utlamt2')"
></c-input>
</el-form-item>
</c-col>
......@@ -343,10 +335,9 @@
label-width="120px"
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
>
<!--:disabled="this.model.trnmod.cmtflg==''" -->
</el-form-item>
</c-col>
</c-col>
......@@ -633,7 +624,6 @@
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单人"
@change="selectOrCheckboxRule('brdgrp.rec.docprbrol')"
:code="codes.docprbrol1"
>
......@@ -658,7 +648,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
......@@ -667,7 +656,6 @@
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
......@@ -695,8 +683,9 @@
</div>
</template>
<script>
import event from '../event';
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
......@@ -722,38 +711,6 @@ export default {
};
},
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 () {},
watch: {
......@@ -787,7 +744,7 @@ export default {
} else {
this.model.trnmod.swftyp = "";
}
}
},
},
},
};
......
<template>
<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">
<el-form-item label="申报类型" label-width="120px" prop="bopmod.szflg">
<c-select
v-model="model.bopmod.szflg"
style="width: 100%"
placeholder="请选择申报类型"
@change="szflgChange"
>
<el-option
v-for="item in codes.szflg"
......@@ -20,8 +18,11 @@
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<c-checkbox v-model="model.bopmod.basflg" :disabled="model.bopmod.szflg==='3'||model.bopmod.szflg===''"
@change="changeBasflg">基础数据</c-checkbox>
<c-checkbox
v-model="model.bopmod.basflg"
:disabled="model.bopmod.szflg === '3' || model.bopmod.szflg === ''"
>基础数据</c-checkbox
>
</c-col>
</c-col>
......@@ -32,51 +33,57 @@
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择"
:disabled="model.bopmod.szflg==='3' || model.bopmod.szflg==='2' ||model.bopmod.szflg===''"
@change="acttypChange"
:disabled="
model.bopmod.szflg === '3' ||
model.bopmod.szflg === '2' ||
model.bopmod.szflg === ''
"
>
<el-option
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<el-option
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<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
v-model="model.bopmod.ownextkey"
style="width: 100%"
placeholder="请选择"
:disabled="model.bopmod.szflg==='3' ||model.bopmod.szflg===''"
@change="ownextkeyChange"
:disabled="model.bopmod.szflg === '3' || model.bopmod.szflg === ''"
>
<el-option
v-for="item in codesOwnextkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
<el-option
v-for="item in codesOwnextkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from '../event';
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 {
temp:'不申报',
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
temp: "不申报",
options: [
{
value: "1",
......@@ -87,88 +94,35 @@ export default {
label: "不申报",
},
],
codesOwnextkey:[
{
value: "",
label: "",
}
codesOwnextkey: [
{
value: "",
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 () {
//给人民币申报赋值
this.model.cnybop.cnyflg="2";
this.model.cnybop.traflg="2";
this.model.cnybop.libflg="2";
this.model.cnybop.vouflg="2";
//给人民币申报赋值
this.model.cnybop.cnyflg = "2";
this.model.cnybop.traflg = "2";
this.model.cnybop.libflg = "2";
this.model.cnybop.vouflg = "2";
},
watch: {
"model.bopmod.ownextkey": function(){
if(this.model.bopmod.ownextkey != ''){
var instName = window.sessionStorage.instName || "北京分行";
this.codesOwnextkey[0].value = this.model.bopmod.ownextkey;
this.codesOwnextkey[0].label = this.model.bopmod.ownextkey + instName;
}else{
this.codesOwnextkey[0].value = '';
this.codesOwnextkey[0].label = '';
}
"model.bopmod.ownextkey": function () {
if (this.model.bopmod.ownextkey != "") {
var instName = window.sessionStorage.instName || "北京分行";
this.codesOwnextkey[0].value = this.model.bopmod.ownextkey;
this.codesOwnextkey[0].label = this.model.bopmod.ownextkey + instName;
} else {
this.codesOwnextkey[0].value = "";
this.codesOwnextkey[0].label = "";
}
},
},
}
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="进口信用证单据进口付汇">
<!--
<div class="fast-button">
<el-button size="small">备忘录</el-button>
......@@ -10,7 +9,6 @@
<el-button size="small">智能提示</el-button>
/div>
-->
<el-form
:model="model"
:rules="rules"
......@@ -26,70 +24,79 @@
type="card"
@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 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000115 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" :buildLiaccv="buildLiaccv" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<div class="eibs-tab">
<m-addbcb :model="model" :codes="codes" />
</div>
</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>
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000009 -->
<el-tab-pane label="申报信息" name="cfactlp,cnyp1">
<c-content>
<m-cnyp :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>
<!--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-bus-button :$pntvm="this"></c-bus-button> -->
......@@ -98,33 +105,34 @@
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
></c-grid-ety-prompt-dialog>
@select-ety="selectGridEtyPromptData">
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
</template>
<script>
import event from '../event';
import Brtset from "~/model/Brtset";
import commonFuncs from "~/mixin/commonFuncs";
import Utlp from "./Utlp";
import formRules from '../model/check'
import event from "../event";
import formRules from '../model/check';
import Api from "~/service/Api";
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 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 Doctre from "~/components/business/doctre/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 Cfactlp from "./Cfactlp";
import Cnyp from "./Cnyp";
import Shisuan from "./Shisuan";
import Namp from "./Namp";
import Basp from "./Basp";
import Basp1 from "./Basp1";
......@@ -136,7 +144,6 @@ import Cips from "./Cips";
import Cips2 from "./Cips2";
import Trtcrep from "./Trtcrep";
import Dinpan from "./Dinpan";
import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb";
......@@ -146,12 +153,12 @@ export default {
"m-utlp": Utlp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-wg": Wg,
"m-cfactlp": Cfactlp,
"m-cnyp": Cnyp,
"m-shisuan": Shisuan,
"m-namp": Namp,
"m-limitbody": Limitbody,
"m-sbxx": Sbxx,
......@@ -167,13 +174,14 @@ export default {
"m-ovwp": Ovwp,
"m-addbcb": Addbcb,
"m-setmod": Setmod,
"m-glentry": Glentry,
},
provide() {
return {
root: this,
};
},
mixins: [event, commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [operationFunc,event], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
......@@ -186,52 +194,57 @@ export default {
codes: {
...CodeTable,
},
fyzw: ['engp'],
fyzw: ["engp"],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
}
],
data: []
}
};
},
methods: {},
methods: {
},
mounted () {
this.init()
// this.queryHndtypCodeTableList(this.trnName)
},
watch: {
"model.setmod.doccur": {
immediate: true,
......@@ -254,7 +267,6 @@ export default {
},
},
},
};
</script>
<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