Commit 4ad534f3 by wangna

cctset

parent 8f833f02
...@@ -4738,6 +4738,10 @@ const CodeTable = { ...@@ -4738,6 +4738,10 @@ const CodeTable = {
{ label: "新建", value: "A" }, { label: "新建", value: "A" },
{ label: "删除", value: "D" }, { label: "删除", value: "D" },
], ],
ownextkey3: [
{ label: "08350012 中国光大银行北京分行", value: "08350012" },
{ label: "08357113 LM ADD", value: "08357113" },
],
ownexttyp: [ ownexttyp: [
{ label: "手工录入", value: "OE" }, { label: "手工录入", value: "OE" },
{ label: "分行", value: "OB" }, { label: "分行", value: "OB" },
......
...@@ -2,88 +2,85 @@ import Api from "~/service/Api" ...@@ -2,88 +2,85 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onTrndocButshw(){ async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw") let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButadd(){ async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd") let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButnew(){ async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew") let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButattto(){ async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto") let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButdel(){ async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel") let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButatt(){ async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt") let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onSetmodDet(){ async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'}); }
},
async onIncctySelbut1() {
let rtnmsg = await this.executeRule("inccty.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
......
...@@ -48,6 +48,138 @@ export default class Cctset { ...@@ -48,6 +48,138 @@ export default class Cctset {
}, },
}, },
}, },
bopmod:{
dbdp:{
baspp:{
cusnam:"", // .bopmod.dbdp.baspp.cusnam
cornam:"", // .bopmod.dbdp.baspp.cornam
corpnam:"", // .bopmod.dbdp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbdp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbdp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbdp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbdp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbdp.baspp.tmprefnew
},
},
dbdgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbdgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbdgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbdgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbdgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbdgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbdgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbdgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbdgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbdgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbdgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbdgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbdgrp.bas.buscode
custype:"", // 类型 .bopmod.dbdgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbdgrp.bas.actiondesc
exrate:"", // 结汇汇率 .bopmod.dbdgrp.bas.exrate
lcyamt:"", // 结汇金额 .bopmod.dbdgrp.bas.lcyamt
custnm:"", // 收款人名称 .bopmod.dbdgrp.bas.custnm
oppuser:"", // 付款人名称 .bopmod.dbdgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbdgrp.bas.custcod
inchargeccy:"", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeamt
txccy:"", // 收入款币种及金额 .bopmod.dbdgrp.bas.txccy
txamt:"",
},
}, // 收入款币种及金额 .bopmod.dbdgrp.bas.txamt
dbap:{
baspp:{
cusnam:"", // .bopmod.dbap.baspp.cusnam
cornam:"", // .bopmod.dbap.baspp.cornam
corpnam:"", // .bopmod.dbap.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbap.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbap.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbap.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbap.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbap.baspp.tmprefnew
},
},
dbagrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbagrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbagrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbagrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbagrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbagrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbagrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbagrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbagrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbagrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbagrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbagrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbagrp.bas.buscode
custype:"", // 类型 .bopmod.dbagrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbagrp.bas.actiondesc
exrate:"", // 结汇汇率 .bopmod.dbagrp.bas.exrate
lcyamt:"", // 结汇金额 .bopmod.dbagrp.bas.lcyamt
custnm:"", // 收款人名称 .bopmod.dbagrp.bas.custnm
oppuser:"", // 付款人名称 .bopmod.dbagrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbagrp.bas.custcod
inchargeccy:"", // 国内银行扣费 .bopmod.dbagrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .bopmod.dbagrp.bas.inchargeamt
outchargeamt:"", // 国外银行扣费 .bopmod.dbagrp.bas.outchargeamt
outchargeccy:"", // 国外银行扣费 .bopmod.dbagrp.bas.outchargeccy
txccy:"", // 收入款币种及金额 .bopmod.dbagrp.bas.txccy
txamt:"", // 收入款币种及金额 .bopmod.dbagrp.bas.txamt
},
},
szflg:"", // 申报类型 .bopmod.szflg
basflg:"", // 基础数据 .bopmod.basflg
dclflg:"", // 申报数据 .bopmod.dclflg
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
outchargeccy:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy
outchargeamt:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
acttyp:"", // 款项来源 .bopmod.acttyp
},
cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg
outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg
cnyinc:{
spk:"", // 业务主键 .cnybop.cnyinc.spk
sbankorgcode:"", // 银行机构代码 .cnybop.cnyinc.sbankorgcode
spayeeorgcode:"", // 收款人机构代码 .cnybop.cnyinc.spayeeorgcode
sswiftbic:"", // 付款行SWIFT BIC .cnybop.cnyinc.sswiftbic
spayeracct:"", // 清算(结算)账户账号 .cnybop.cnyinc.spayeracct
smidtransbank:"", // 中�'转汇行 .cnybop.cnyinc.smidtransbank
dpayeedate:"", // 收款日期 .cnybop.cnyinc.dpayeedate
sbalancemode:"", // 结算方式 .cnybop.cnyinc.sbalancemode
sorilevyno:"", // 原申报号码 .cnybop.cnyinc.sorilevyno
sbanktrano:"", // 银行业务编号 .cnybop.cnyinc.sbanktrano
fpayeeamt:"", // 货物贸易收款金额 .cnybop.cnyinc.fpayeeamt
fcustomsamt:"", // 已报关收款金额 .cnybop.cnyinc.fcustomsamt
frecordamt:"", // 已备案收款金额 .cnybop.cnyinc.frecordamt
fprepayeeamt:"", // 预收款金额 .cnybop.cnyinc.fprepayeeamt
iaccountperiod:"", // 结�'�期 .cnybop.cnyinc.iaccountperiod
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnybop.cnyinc.fonshoreamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnybop.cnyinc.foffshoreamt
fnogoodsamt:"", // 无货物报关其他金额 .cnybop.cnyinc.fnogoodsamt
cpayeeattr:"", // 收款人属性 .cnybop.cnyinc.cpayeeattr
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnybop.cnyinc.cpayeraccttyp
spayercountrycode:"", // 付款人常驻国家(地区)代码 .cnybop.cnyinc.spayercountrycode
spayeecny:"", // 收款币种 .cnybop.cnyinc.spayeecny
spayeeacct:"", // 收款人账号 .cnybop.cnyinc.spayeeacct
ftotalamt:"", // 原币金额 .cnybop.cnyinc.ftotalamt
},
spayeename:"", // 收款人名称 .cnybop.spayeename
spayername:"", // 付款人名称 .cnybop.spayername
saddword:"", // 交易附言 .cnybop.saddword
sbankname:"", // 银行机构名称 .cnybop.sbankname
incscale:"", // INCSCALE .cnybop.incscale
},
bptbck:{
bptbckg:[], // .bptbck.bptbckg
dscbckcur:"", // currency discount paid back .bptbck.dscbckcur
},
pageId: "", // ctx的key pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg"> <c-col :span="24">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000042')"> <el-form-item label="是否报送跨境人民币2101表" label-width="30%" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表"
:code="codes.cnyflg" :disabled="model.ccdgrp.cbs.max.cur!='CNY'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" label-width="30%" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表"
:code="codes.traflg" :disabled="true">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" label-width="30%" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表"
:code="codes.outflg" :disabled="true">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" label-width="30%" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表"
:code="codes.libflg" :disabled="true">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" label-width="30%" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表"
:code="codes.vouflg" :disabled="true">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2101表"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg"> <el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000045')"> <c-select
v-model="model.cnybop.traflg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('cnybop.S0000045')"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg"> <el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000077')"> <c-select
v-model="model.cnybop.outflg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('cnybop.S0000077')"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg"> <el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000113')"> <c-select
v-model="model.cnybop.libflg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('cnybop.S0000113')"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg"> <el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000142')"> <c-select
v-model="model.cnybop.vouflg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('cnybop.S0000142')"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cctset/Event" import Event from "~/model/Cctset/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {
this.model.cnybop.cnyflg = "2";
} this.model.cnybop.traflg = "2";
} this.model.cnybop.outflg = "2";
this.model.cnybop.libflg = "2";
this.model.cnybop.vouflg = "2";
},
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-fullbox>
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select
v-model="model.bopmod.szflg"
style="width: 100%"
placeholder="请选择申报类型"
@change="selectOrCheckboxRule('bopmod.szflg')"
>
<el-option
v-for="item in codes.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
<template slot="footer">
<el-form-item label="" prop="bopmod.basflg">
<c-checkbox
:disabled="
model.bopmod.szflg == '3' || model.bopmod.szflg == ''
"
v-model="model.bopmod.basflg"
style="margin-left: 10px"
>基础数据</c-checkbox
>
</el-form-item>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择款项来源"
:code="codes.acttyp"
:disabled="model.bopmod.szflg != '1'"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select
v-model="model.bopmod.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
:disabled="model.bopmod.szflg == '3' || model.bopmod.szflg == ''"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item
label="国外银行扣费(涉外收入申报专用)"
prop="bopmod.outchargeccy"
>
<c-select
v-model="model.bopmod.outchargeccy"
placeholder="请选择国外银行扣费(涉外收入申报专用)"
disabled
style="width: 100%"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bopmod.outchargeamt">
<c-input-currency
v-model="model.bopmod.outchargeamt"
placeholder="请输入国外银行扣费(涉外收入申报专用)"
:disabled="model.bopmod.szflg!='1' || model.bopmod.basflg !='X'"
@keyup.enter.native="
defaultFunction(
'bopmod.outchargeamt',
model.bopmod.outchargeamt
)
"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="model.bopmod.basflg">{{$t('bopgat.CH000016')}}</c-checkbox> <c-checkbox v-model="model.bopmod.basflg">{{$t('bopgat.CH000016')}}</c-checkbox>
</c-col> </c-col>
...@@ -12,7 +115,7 @@ ...@@ -12,7 +115,7 @@
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.bopmod.vrfflg">{{$t('bopgat.CH000018')}}</c-checkbox> <c-checkbox v-model="model.bopmod.vrfflg">{{$t('bopgat.CH000018')}}</c-checkbox>
</c-col> </c-col>
<!-- S0000020 : 申报类型 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="申报类型" prop="bopmod.szflg"> <el-form-item label="申报类型" prop="bopmod.szflg">
...@@ -20,7 +123,7 @@ ...@@ -20,7 +123,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SH000027 : 款项来源 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="款项来源" prop="bopmod.acttyp"> <el-form-item label="款项来源" prop="bopmod.acttyp">
...@@ -28,7 +131,7 @@ ...@@ -28,7 +131,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SH000021 : 地区机构号 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="地区机构号" prop="bopmod.ownextkey"> <el-form-item label="地区机构号" prop="bopmod.ownextkey">
...@@ -36,7 +139,7 @@ ...@@ -36,7 +139,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SH000024 : 国外银行扣费(涉外收入申报专用) -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('bopgat.SH000024')" prop="bopmod.outchargeccy"> <el-form-item :label="$t('bopgat.SH000024')" prop="bopmod.outchargeccy">
...@@ -49,30 +152,42 @@ ...@@ -49,30 +152,42 @@
<c-form-item :label="$t('bopgat.SH000024')" prop="bopmod.outchargeamt"> <c-form-item :label="$t('bopgat.SH000024')" prop="bopmod.outchargeamt">
<c-input v-model="model.bopmod.outchargeamt" :placeholder="$t('other.please_enter')+$t('bopgat.SH000024')"></c-input> <c-input v-model="model.bopmod.outchargeamt" :placeholder="$t('other.please_enter')+$t('bopgat.SH000024')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cctset/Event" import Event from "~/model/Cctset/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
acttyp: [
{ label: "境外", value: "(JW)" },
{ label: "境内非居民", value: "(JN)" },
],
};
},
watch: {
"model.bopmod.szflg": function () {
if (this.model.bopmod.szflg == "3" || this.model.bopmod.szflg == "") {
this.model.bopmod.basflg = "";
} }
if (this.model.bopmod.szflg != "1") {
this.model.bopmod.acttyp = "";
}
},
}, },
methods:{...Event},
created:function(){
} methods: {...Event},
} created: function () {},
};
</script> </script>
<style> <style>
</style> </style>
...@@ -65,24 +65,44 @@ ...@@ -65,24 +65,44 @@
<m-docpan1 :model="model" :codes="codes" /> <m-docpan1 :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane label="境内收入申报单-基础信息" name="basp">
<m-basp :model="model" :codes="codes" />
</el-tab-pane>
<!--bopgat PD000006 外管信息 --> <!--bopgat PD000006 外管信息 -->
<el-tab-pane label="外管信息" name="wg"> <el-tab-pane label="外管信息" name="wg">
<m-wg :model="model" :codes="codes" /> <m-wg :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane
v-if="model.bopmod.szflg == '1' && model.bopmod.basflg == 'X'"
label="涉外收入申请单-基础信息"
name="basp3"
>
<c-content>
<m-basp3 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane
v-if="model.bopmod.szflg == '2' && model.bopmod.basflg == 'X'"
label="境内收入申请单-基础信息"
name="basp2"
>
<c-content>
<m-basp2 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--cnybop PD000002 跨境人民币申报 --> <!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane label="跨境人民币申报" name="cnyp"> <el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes" /> <m-cnyp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--cnybop PD000046 2107境外主体之间资金划转 --> <el-tab-pane
<el-tab-pane label="2107境外主体之间资金划转" name="trap"> v-if="model.cnybop.cnyflg == '1'"
<m-trap :model="model" :codes="codes" /> label="2101跨境收入信息"
name="incp"
>
<c-content>
<m-incp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -98,11 +118,13 @@ import Check from "~/model/Cctset/Check"; ...@@ -98,11 +118,13 @@ import Check from "~/model/Cctset/Check";
import Default from "~/model/Cctset/Default"; import Default from "~/model/Cctset/Default";
import Pattern from "~/model/Cctset/Pattern"; import Pattern from "~/model/Cctset/Pattern";
import Setp from "./Setp"; import Setp from "./Setp";
import Basp from "./Basp";
import Wg from "./Wg"; import Wg from "./Wg";
import Cnyp from "./Cnyp"; import Cnyp from "./Cnyp";
import Trap from "./Trap"; import Trap from "./Trap";
import Docpan1 from "./Docpan1"; import Docpan1 from "./Docpan1";
import Basp2 from "./Basp2";
import Basp3 from "./Basp3";
import Incp from "./Incp"
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
...@@ -116,7 +138,6 @@ export default { ...@@ -116,7 +138,6 @@ export default {
components: { components: {
"m-setp": Setp, "m-setp": Setp,
"m-docpan1": Docpan1, "m-docpan1": Docpan1,
"m-basp": Basp,
"m-wg": Wg, "m-wg": Wg,
"m-cnyp": Cnyp, "m-cnyp": Cnyp,
"m-trap": Trap, "m-trap": Trap,
...@@ -126,6 +147,9 @@ export default { ...@@ -126,6 +147,9 @@ export default {
"m-setpan": Setpan, "m-setpan": Setpan,
"m-glepan": Glepan, "m-glepan": Glepan,
"m-engp": Engp, "m-engp": Engp,
"m-basp2": Basp2,
"m-basp3": Basp3,
"m-incp" : Incp,
}, },
provide() { provide() {
return { return {
......
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