Commit 0d1d3a43 by LiRui

CPTOPN UI改造

parent 4ab2407e
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="提示信息" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Cptopn/Event";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="11">
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24" v-if="false">
<el-form-item label="汇款人名称" prop="orcnam">
<c-input
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="跨境人民币申报" name="cnyp1">
<m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.cnybop.outflg === '1'" -->
<el-collapse-item title="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg === '1'">
<m-outp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="外管信息" name="wg">
<m-wg :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.bopmod.szflg === '2' && model.bopmod.basflg" -->
<el-collapse-item title="境内汇款申请书-基础信息" name="dbe" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg">
<m-dbe :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.bopmod.szflg === '1' && model.bopmod.basflg" -->
<el-collapse-item title="境外汇款申请书-基础信息" name="dbb" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg">
<m-dbb :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
import Cnyp1 from "./Cnyp1";
import Wg from "./Wg";
import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue";
import Outp from "./Outp.vue";
export default {
inject: ["root"],
components: {
"m-cnyp1": Cnyp1,
"m-wg": Wg,
"m-dbe": Dbe,
"m-dbb": Dbb,
"m-outp": Outp,
},
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["cnyp1"],
};
},
methods: { ...Event, handleChange() { } },
created: function () { },
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" label-width="33%">
<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="33%">
<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="33%"
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="33%">
<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="33%">
<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>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
temp: "不申报",
options: [
{
value: "1",
label: "申报",
},
{
value: "2",
label: "不申报",
},
],
codesOwnextkey: [
{
value: "",
label: "",
},
],
};
},
methods: {
...Event,
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";
},
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 = "";
}
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-col :span="24">
<!-- ================底部--左================= -->
<c-col :span="11" style="margin-top: 10px" v-if="model.cptp.liqtyp != 'S'">
<c-col :span="12" style="padding-right: 20px;" v-if="model.cptp.liqtyp != 'S'">
<c-col :span="24">
<el-form-item label="付款行" prop="cpdgrp.ori.pts.ref">
<c-input
......@@ -188,9 +188,7 @@
</c-col>
<!-- ================底部--右================= -->
<c-col
:span="11"
:offset="1"
<c-col :span="12" style="padding-left: 20px;"
v-if="
root.trnName === 'cptopn'
? model.cpdgrp.rec.swftyp === '' ||
......@@ -198,7 +196,6 @@
model.cpdgrp.rec.swftyp === '202'
: model.cpdgrp.rec.swftyp === '' || model.cpdgrp.rec.swftyp === '103'
"
style="margin-top: 10px"
>
<c-col :span="24" v-if="this.model.cptp.liqtyp != 'C'">
<c-fullbox>
......@@ -251,7 +248,7 @@
<el-form-item label="清算代理行">
<c-select
v-model="model.cptp.cleage"
style="width: 70%"
style="width: 100%"
placeholder="请选择清算代理行"
@change="commonExecuteRule('cptp.cleage')"
>
......@@ -269,7 +266,7 @@
<el-form-item label="光大开户行">
<c-select
v-model="model.cptp.evebch"
style="width: 70%"
style="width: 100%"
placeholder="请选择光大开户行"
>
</c-select>
......@@ -281,7 +278,7 @@
<c-input
v-model="model.cptp.coract"
maxlength="32"
style="width: 90%"
style="width: 100%"
placeholder="请输入清算代理行账号"
disabled
>
......@@ -437,16 +434,13 @@
</c-col>
</c-col>
<c-col
:span="11"
:offset="1"
<c-col :span="12" style="padding-left: 20px;"
v-if="
root.trnName === 'cptopn'
? model.cpdgrp.rec.swftyp === '200'
: model.cpdgrp.rec.swftyp === '202' ||
model.cpdgrp.rec.swftyp === '200'
"
style="margin-top: 10px"
>
<c-col :span="24" v-if="this.model.cptp.liqtyp != 'C'">
<c-fullbox>
......@@ -502,7 +496,7 @@
<el-form-item label="清算代理行">
<c-select
v-model="model.cptp.cleage"
style="width: 70%"
style="width: 100%"
placeholder="请选择清算代理行"
@change="commonExecuteRule('cptp.cleage')"
>
......@@ -533,7 +527,7 @@
<c-input
v-model="model.cptp.coract"
maxlength="32"
style="width: 90%"
style="width: 100%"
placeholder="请输入清算代理行账号"
disabled
>
......@@ -611,11 +605,8 @@
</c-col>
</c-col>
<c-col
:span="11"
:offset="1"
<c-col :span="12" style="padding-left: 20px;"
v-if="model.cpdgrp.rec.swftyp === 'OTH'"
style="margin-top: 10px"
>
<c-col :span="24">
<c-fullbox>
......
<template>
<div class="eibs-tab">
<div class="eibs">
<c-row>
<c-col :span="24">
<!----------左边------------>
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="申报号码" prop="bopmod.dbbgrp.bas.rptno">
<c-input
......@@ -151,7 +151,7 @@
</c-col>
<!----------右边------------>
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item
label="修改/删除原因"
......
<template>
<div class="eibs-tab">
<div class="eibs">
<c-row>
<c-col :span="24">
<!----------左边------------>
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="申报号码" prop="bopmod.dbegrp.bas.rptno">
<c-input v-model="model.bopmod.dbegrp.bas.rptno" maxlength="22" placeholder="请输入申报号码"
......@@ -92,7 +92,7 @@
</c-col>
<!----------右边------------>
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="修改/删除原因" prop="bopmod.dbegrp.bas.actiondesc">
<c-input type="textarea" v-model="model.bopmod.dbegrp.bas.actiondesc" maxlength="32"
......
<template>
<div class="eibs-tab">
<div class="eibs">
<!--=================顶部================= -->
<c-col :span="24" style="margin-top: 0">
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px;">
<el-form-item
label="汇款编号"
prop="cpdgrp.rec.ownref"
......@@ -38,7 +38,7 @@
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px;">
<el-form-item label="简略信息" prop="cpdgrp.rec.nam">
<c-input
v-model="model.cpdgrp.rec.nam"
......@@ -52,7 +52,7 @@
<c-col>
<!-- ===================中部--左==================== -->
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="清算编号" prop="cpdgrp.rec.sysno">
<c-input
......@@ -119,7 +119,7 @@
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="汇款语种" label-width="40%">
<el-form-item label="汇款语种">
<c-select
v-model="model.cptp.payuil"
placeholder="请选择汇款语种"
......@@ -161,7 +161,6 @@
<el-form-item
label="预计核验日期"
prop="cpdgrp.rec.paydat"
label-width="40%"
>
<c-date-picker
type="date"
......@@ -192,27 +191,10 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物类型">
<c-select
v-model="model.cpdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ===================中部--右==================== -->
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-col :span="13">
<el-form-item label="汇款性质" prop="cpdgrp.rec.trntyp">
......@@ -234,7 +216,6 @@
<c-form-item
label="汇款方式"
prop="cpdgrp.rec.paytype"
label-width="40%"
>
<c-select
v-model="model.cpdgrp.rec.paytype"
......@@ -275,7 +256,6 @@
<c-form-item
label="收支类型"
prop="cpdgrp.rec.sztyp"
label-width="40%"
>
<c-select
v-model="model.cpdgrp.rec.sztyp"
......@@ -316,7 +296,6 @@
<c-form-item
label="报文类型"
prop="cpdgrp.rec.swftyp"
label-width="40%"
>
<c-select
style="width: 100%"
......@@ -385,7 +364,24 @@
</c-col>
<c-col :span="24">
<c-col :span="14">
<c-col :span="13">
<el-form-item label="货物类型">
<c-select
v-model="model.cpdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="清算模式"
v-if="model.cpdgrp.cbs.nom1.cur === 'CNY'"
......@@ -407,19 +403,15 @@
</el-option>
</c-select>
</el-form-item>
<el-form-item
<!-- <el-form-item
label=""
v-if="!(model.cpdgrp.cbs.nom1.cur === 'CNY')"
></el-form-item>
></el-form-item> -->
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<CptOpnp1Common
:model="model"
:codes="codes"
......
<template>
<div>
<div class="eibs">
<!-- ------------------Left------------------>
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnyout.spk">
<c-input v-model="model.cnybop.cnyout.spk" maxlength="20" placeholder="" disabled>
......@@ -25,10 +25,10 @@
<c-col :span="24">
<el-form-item label="收款人常驻国家/地区编号" prop="cnybop.cnyout.spayercountrycode">
<c-col :span="20">
<c-col :span="21">
<c-input v-model="model.cnybop.cnyout.spayercountrycode" maxlength="3" placeholder=""></c-input>
</c-col>
<c-col :span="4" style="text-align: right">
<c-col :span="3" style="text-align: right">
<c-button size="small" type="primary" icon="el-icon-search"></c-button>
</c-col>
</el-form-item>
......@@ -110,7 +110,7 @@
</c-col>
<!-- ------------------Right------------------>
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="银行业务编号" label-width="30%" prop="cnybop.cnyout.sbanktrano">
<c-input v-model="model.cnybop.cnyout.sbanktrano" maxlength="22" style="width: 100%" placeholder="" disabled>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="概要" name="opnp1">
<m-opnp1 :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="this.model.cpdgrp.rec.swftyp != ''" -->
<el-collapse-item title="附加说明" name="AdditionalInfo">
<m-AdditionalInfo :model="model" :codes="codes" />
</el-collapse-item>
<!-- <el-collapse-item title="Payment 103 PYE USD" name="Payment103"
v-if="
model.cpdgrp.rec.swftyp === '103' ||
model.cpdgrp.rec.swftyp === '202'
">
<m-Payment :model="model" :codes="codes" />
</el-collapse-item> -->
<el-collapse-item title="融资" name="finp">
<m-finp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Cptopn/Event";
import Opnp1 from "./Opnp1";
import AdditionalInfo from "./AdditionalInfo";
import Payment from "./Payment103.vue";
import Finp from './Finp.vue';
export default {
components: {
"m-opnp1": Opnp1,
"m-AdditionalInfo": AdditionalInfo,
"m-Payment": Payment,
"m-finp": Finp,
},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
activeNames: ["opnp1"],
}
},
methods:{...Event,handleChange(){}},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<div class="eibs">
<!-- ------------------Left------------------>
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item
label="消息接收者"
......@@ -196,7 +196,7 @@
</c-col>
<!-- ------------------Right------------------>
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item
label="机构账户/账户(Tag 54a)"
......
<template>
<div class="eibs">
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<el-form-item label="申报类型" label-width="30%" prop="bopmod.szflg">
<c-select
v-model="model.bopmod.szflg"
style="width: 100%"
placeholder="请选择申报类型"
@change="szflgChange"
>
<el-option
v-for="item in codes.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</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 === ''"
>基础数据</c-checkbox
>
</c-col>
</c-col>
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopmod.acttyp" label-width="30%">
<c-select
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择"
: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>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="地区机构号"
prop="bopmod.ownextkey"
label-width="30%"
>
<c-select
v-model="model.bopmod.ownextkey"
style="width: 100%"
placeholder="请选择"
: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>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="8" :offset="1">
<c-col :span="3">
<c-checkbox v-model="model.bopmod.basflg" >基础数据</c-checkbox>
</c-col> -->
<!-- <c-col :span="3">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="3">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
temp: "不申报",
options: [
{
value: "1",
label: "申报",
},
{
value: "2",
label: "不申报",
},
],
codesOwnextkey: [
{
value: "",
label: "",
},
],
};
},
methods: {
...Event,
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";
},
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 = "";
}
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-page title="汇出汇款">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<div class="eContainer">
<c-page title="汇出汇款">
<el-form
:model="model"
:rules="rules"
......@@ -30,107 +15,102 @@
type="card"
@tab-click="mimeTabClick"
>
<el-tab-pane label="概要" name="opnp1">
<!--PD000020 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-opnp1 :model="model" :codes="codes" />
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane
label="附加说明"
name="AdditionalInfo"
v-if="this.model.cpdgrp.rec.swftyp != ''"
>
<m-AdditionalInfo :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="结算" name="setpan">
<!--PD000000 -->
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<!--PD000001 -->
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="提示信息" name="coninfp">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="报文和面函" name="docpan">
<!--PD000529 -->
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附件" name="doctre">
<!--PD000546 -->
<m-doctre :model="model" :codes="codes" />
<el-tab-pane label="费用/账务" name="setpan,glepan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="融资" name="finp">
<!--PD000218 -->
<m-finp :model="model" :codes="codes" />
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="申报信息" name="sbxx">
<!--PD000009 -->
<m-sbxx :model="model" :codes="codes" />
<el-tab-pane label="申报信息" name="cnyp">
<c-content>
<m-cnyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane
<!-- <el-tab-pane
label="境内汇款申请书-基础信息"
name="dbe"
v-if="model.bopmod.szflg === '2' && model.bopmod.basflg"
>
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane
</el-tab-pane> -->
<!-- <el-tab-pane
label="境外汇款申请书-基础信息"
name="dbb"
v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"
>
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane
<!-- <el-tab-pane
label="2111跨境支出信息"
name="outp"
v-if="model.cnybop.outflg === '1'"
>
<m-outp :model="model" :codes="codes"></m-outp>
</el-tab-pane> -->
<el-tab-pane label="报文/面函" name="docpan">
<!--PD000529 -->
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane
label="Payment 103 PYE USD"
name="Payment103"
v-if="
model.cpdgrp.rec.swftyp === '103' ||
model.cpdgrp.rec.swftyp === '202'
"
>
<m-Payment :model="model" :codes="codes" />
<el-tab-pane label="附件信息" name="doctre">
<!--PD000546 -->
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</c-page>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
......@@ -143,37 +123,26 @@ import Pattern from "~/model/Cptopn/Pattern";
import Default from "~/model/Cptopn/Default";
import Check from "~/model/Cptopn/Check";
import Opnp1 from "./Opnp1";
import Finp from "./Finp";
import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue";
import Outp from "./Outp.vue";
import AdditionalInfo from "./AdditionalInfo.vue";
import Payment from "./Payment103.vue";
import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb.vue";
import Cnyp from "./Cnyp.vue"
import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Sbxx from "~/views/Public/Sbxx";
export default {
name: "Cptopn",
components: {
"m-opnp1": Opnp1,
"m-ovwp": Ovwp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-addbcb": Addbcb,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-finp": Finp,
"m-sbxx": Sbxx,
"m-dbe": Dbe,
"m-dbb": Dbb,
"m-outp": Outp,
"m-AdditionalInfo": AdditionalInfo,
"m-Payment": Payment,
"m-cnyp": Cnyp,
},
provide() {
return {
......@@ -183,13 +152,14 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "opnp1",
tabVal: "ovwp",
trnName: "cptopn",
model: new Cptopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
activeNames: ["setpan"],
codes: { ...CodeTable },
};
},
......
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