Commit d79225cd by liyixun

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 38f196ed 946e9f97
......@@ -6,6 +6,9 @@ export default class Bctdor{
constructor () {
this.data = {
swtdat:"",
bctdrrl1blk: '', // XMLPanel bctdrrl1的内置block
bctdrrl2blk: '', // XMLPanel bctdrrl2的内置block
bctcoll1blk: '', // XMLPanel bctcoll1的内置block
bcdgrp:{
rec:{
inr:"",
......
......@@ -7,7 +7,6 @@
<c-input
disabled
type="textarea"
disabled
v-model="model.bcdgrp.blk.colins"
maxlength="65"
show-word-limit
......
......@@ -439,14 +439,20 @@ export default {
methods: {
...Event,
async focflgChange() {
let rtnmsg = await this.executeDefault("bcdgrp.rec.focflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async crefinflgChange() {
let rtnmsg = await this.executeDefault("trtcre.crefinflg");
let rtnmsg = await this.executeRule("trtcre.crefinflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async dfflagChange() {
let rtnmsg = await this.executeDefault("dftcre.dfflag");
let rtnmsg = await this.executeRule("dftcre.dfflag");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
......
......@@ -25,7 +25,7 @@
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select
disabled
:disabled="model.setmod.doccur != 'CNY'"
:code="codes.outflg"
v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表">
</c-select>
......
<template>
<div>
<!-- ------------------Left------------------>
<c-col :span="11">
<c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnyout.spk">
<c-input
v-model="model.cnybop.cnyout.spk"
disabled
maxlength="20"
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构名称" prop="cnybop.sbankname">
<c-input
v-model="model.cnybop.sbankname"
maxlength="80"
disabled
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人账号" prop="cnybop.cnyout.spayeeacct">
<c-input
v-model="model.cnybop.cnyout.spayeeacct"
maxlength="32"
placeholder=""
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="收款人常驻国家/地区编号"
prop="cnybop.cnyout.spayercountrycode"
>
<c-col :span="20">
<c-input
v-model="model.cnybop.cnyout.spayercountrycode"
maxlength="3"
placeholder=""
@keyup.enter.native="
showGridPromptDialog('cnybop.cnyout.spayercountrycode')
"
></c-input>
</c-col>
<c-col :span="4" style="text-align: right">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="
showGridPromptDialog(
'cnybop.outcty',
null,
null,
{ TXT: 'cnybop.cnyout.spayercountrycode' },
{ TXT: false },
'doxpDialog'
)
"
></c-button>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="cnybop.cnyout.sbalancemode">
<c-select
v-model="model.cnybop.cnyout.sbalancemode"
style="width: 100%"
placeholder="请选择结算方式"
>
<el-option
v-for="item in codes.sbalancemode"
: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="cnybop.cnyout.cpayeraccttyp"
>
<c-select
v-model="model.cnybop.cnyout.cpayeraccttyp"
placeholder="请选择"
style="width: 100%"
>
<el-option
v-for="item in codes.cpayeraccttyp"
: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="cnybop.cnyout.spayeracct"
>
<c-input
v-model="model.cnybop.cnyout.spayeracct"
maxlength="32"
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="cnybop.cnyout.dpayeedate">
<c-date-picker
type="date"
placeholder=""
v-model="model.cnybop.cnyout.dpayeedate"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款币种" prop="cnybop.cnyout.spayeecny">
<c-select
v-model="model.cnybop.cnyout.spayeecny"
placeholder="请选择"
style="width: 100%"
>
<el-option
v-for="item in options"
: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="cnybop.cnyout.ftotalamt">
<c-input v-model="model.cnybop.cnyout.ftotalamt" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物贸易付款金额" prop="cnybop.cnyout.fpayeeamt">
<c-input v-model="model.cnybop.cnyout.fpayeeamt" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已报关付款金额" prop="cnybop.cnyout.fcustomsamt">
<c-input v-model="model.cnybop.cnyout.fcustomsamt" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已备案付款金额" prop="cnybop.cnyout.frecordamt">
<c-input v-model="model.cnybop.cnyout.frecordamt" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易附言" prop="cnybop.saddwordout">
<c-input v-model="model.cnybop.saddwordout" placeholder=""> </c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ------------------Right------------------>
<c-col :span="11" :offset="1">
<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%"
disabled
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="银行机构代码"
label-width="30%"
prop="cnybop.cnyout.sbankorgcode"
>
<c-input
v-model="model.cnybop.cnyout.sbankorgcode"
maxlength="12"
placeholder=""
disabled
readonly
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="付款人机构代码或身份证件号码"
label-width="30%"
prop="cnybop.spayeename"
>
<c-input
v-model="model.cnybop.spayeename"
maxlength="80"
style="width: 100%"
placeholder=""
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="付款人属性"
label-width="30%"
prop="cnybop.cnyout.cpayeeattr"
>
<c-select
v-model="model.cnybop.cnyout.cpayeeattr"
placeholder="请选择付款人属性"
style="width: 100%"
>
<el-option
v-for="item in codes.cpayeeattr"
: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="付款人名称"
label-width="30%"
prop="cnybop.spayername"
>
<c-input
v-model="model.cnybop.spayername"
maxlength="80"
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="收款行SWIFT BIC"
label-width="30%"
prop="cnybop.cnyout.sswiftbic"
>
<c-input
v-model="model.cnybop.cnyout.sswiftbic"
maxlength="11"
placeholder=""
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="中间转汇行"
label-width="30%"
prop="cnybop.cnyout.smidtransbank"
>
<c-input
v-model="model.cnybop.cnyout.smidtransbank"
maxlength="11"
placeholder=""
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="预付款比例"
label-width="30%"
prop="cnybop.outscale"
>
<c-input v-model="model.cnybop.outscale" maxlength="4" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="预付款金额"
label-width="30%"
prop="cnybop.cnyout.fprepayeeamt"
>
<c-input v-model="model.cnybop.cnyout.fprepayeeamt" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="结账期"
label-width="30%"
prop="cnybop.cnyout.iaccountperiod"
>
<c-input v-model="model.cnybop.cnyout.iaccountperiod" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="原申报号码"
label-width="30%"
prop="cnybop.cnyout.sorilevyno"
>
<c-input
v-model="model.cnybop.cnyout.sorilevyno"
maxlength="24"
placeholder=""
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="无货物报关进出境物流货物金额"
label-width="30%"
prop="cnybop.cnyout.fonshoreamt"
>
<c-input v-model="model.cnybop.cnyout.fonshoreamt" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="无货物报关离岸转手买卖金额"
label-width="30%"
prop="cnybop.cnyout.foffshoreamt"
>
<c-input v-model="model.cnybop.cnyout.foffshoreamt" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="无货物报关其他金额"
label-width="30%"
prop="cnybop.cnyout.fnogoodsamt"
>
<c-input v-model="model.cnybop.cnyout.fnogoodsamt" placeholder="">
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
options: [],
};
},
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -318,7 +318,7 @@
v-model="model.trtcre.trtmod.finmod.intprd"
style="width: 100%"
placeholder="请选择计息周期"
:code="intprd"
:code="codes.intprd"
>
</c-select>
</el-form-item>
......@@ -333,7 +333,7 @@
v-model="model.trtcre.trtmod.finmod.ratchgtyp"
style="width: 95%"
placeholder="请选择利率调整方式"
:code="ratchgtyp"
:code="codes.ratchgtyp"
>
</c-select>
</el-form-item>
......@@ -971,31 +971,7 @@ export default {
mixins: [commonProcess],
data() {
return {
intprd: [
{ label: "按年计息", value: "4" },
{ label: "按6个月对月对日计息", value: "9" },
{ label: "按固定月数计息", value: "5" },
{ label: "利随本清", value: "6" },
{ label: "按月计息", value: "1" },
{ label: "按季计息", value: "2" },
{ label: "按3个月对月对日计息", value: "8" },
{ label: "按半年计息", value: "3" },
{ label: "预扣息", value: "7" },
{ label: "不计息", value: "B" },
{ label: "按周计息", value: "A" },
],
ratchgtyp: [
{ label: "固定不变", value: "1" },
{ label: "满一年一变", value: "2" },
{ label: "按季调整(季末月份)", value: "4" },
{ label: "外汇SIBOR浮动利率", value: "9" },
{ label: "按年调整", value: "6" },
{ label: "按月调整", value: "3" },
{ label: "外汇LIBOR浮动利率", value: "7" },
{ label: "按半年调整(6月、12月)", value: "5" },
{ label: "实时随人行基准利率调整", value: "A" },
{ label: "外汇HIBOR浮动利率", value: "8" },
],
};
},
methods: {
......
......@@ -16,7 +16,7 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000005 -->
<el-tab-pane label="Settle BC at Maturity" name="bctsus">
<c-content>
......@@ -24,13 +24,13 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="Financing Details" name="trtcrep">
<el-tab-pane label="Financing Details" name="trtcrep" v-if="model.trtcre.crefinflg">
<c-content>
<m-trtcrep :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="同业代付" name="dftcrep">
<el-tab-pane label="同业代付" name="dftcrep" v-if="model.dftcre.dfflag">
<c-content>
<m-dftcrep :model="model" :codes="codes" />
</c-content>
......@@ -77,7 +77,7 @@
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="融资款项" name="rzkx">
<el-tab-pane label="融资款项" name="rzkx" v-if="model.trtcre.crefinflg">
<m-rzkx :model="model" :codes="codes" />
</el-tab-pane>
......@@ -101,13 +101,21 @@
<m-basp1 :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="定向收付" name="dxzfp">
<el-tab-pane label="定向收付" name="dxzfp" v-if="model.trtcre.crefinflg">
<m-dxzfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="跨境人名币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane
label="2111跨境支出信息"
name="outp"
v-if="model.cnybop.outflg == '1'"
>
<m-outp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="资本项目" name="cfactlp">
<m-cfactlp :model="model" :codes="codes" />
</el-tab-pane>
......@@ -183,6 +191,7 @@ import Docpan from "./Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "./Limitbody";
import Glepan from "~/views/Public/Glepan";
import Outp from "./Outp";
export default {
name: "Bctset",
......@@ -210,7 +219,8 @@ export default {
"m-dxzfp" : Dxzfp,
"m-rzkx" :Rzkx,
"m-trtcrep" :Trtcrep,
"m-cips2" :Cips2
"m-cips2" :Cips2,
"m-outp": Outp,
},
provide() {
......@@ -232,7 +242,27 @@ export default {
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
let name = tab.name;
let rulePath;
if ((name === "trtcrep")) {
rulePath = "trtcre.trtcrep";
}
if ((name === "dftcrep")) {
rulePath = "dftcre.dftcrep";
}
if(name === 'outp'){
rulePath = "cnybop.Outp"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created: async function () {
console.log("进入bctset交易");
......
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