Commit 0f7ff3af by nanrui

cnysel缺少面板的补充以及码表字段添加。

parent 6045e893
......@@ -5931,6 +5931,10 @@ const CodeTable = {
{ label: "负债(对应进口信用证、转让信用证开立、进口代收项下)", value: "AL02" },
{ label: "资产(对应出口信用证寄单、出口转让信用证寄单、出口托收项下)", value: "AL01" },
],
stransattr1: [
{ label: "负债", value: "AL02" },
{ label: "资产", value: "AL01" },
],
stranstype: [
{ label: "其他", value: "00" },
{ label: "信用证业务", value: "01" },
......
......@@ -4,7 +4,14 @@ import Utils from "~/utils"
* Cnysel Check规则
*/
let checkObj = {
"cnyselp.cnyout.spayercountrycode" :null,
"cnyselp.cnyvou.svouchercountrycode" :null,
"cnyselp.cnyinc.spayercountrycode" :null,
"cnyselp.cnyvou.sdebtorcountrycode" :null,
"cnytyp" :null,
"cnyselp.cnyvou.svoucheecountrycode" :null,
"cnyselp.cnytra.samttranspurpose" :null,
"cnyselp.cnyvou.sreversecountrycode" :null,
"cnyselp.cnylib.sforeigncountrycode" :null,
}
......
......@@ -9,8 +9,14 @@ export default {
"frmdat" :Utils.defaultFunction,
"ownextkey" :Utils.defaultFunction,
"cnytyp" :Utils.defaultFunction,
"cnyselp.cnyinc.spayercountrycode" :Utils.defaultFunction,
"cnyselp.cnyvou.sdebtorcountrycode" :Utils.defaultFunction,
"tildat" :Utils.defaultFunction,
"cnyselp.cnyvou.sreversecountrycode" :Utils.defaultFunction,
"cnyselp.cnyout.spayercountrycode" :Utils.defaultFunction,
"cnyselp.cnylib.sforeigncountrycode" :Utils.defaultFunction,
"cnyselp.cnyvou.svoucheecountrycode" :Utils.defaultFunction,
"cnystm" :Utils.defaultFunction,
"cnyselp.cnyvou.svouchercountrycode" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -44,15 +44,13 @@ export default {
},
async handleSearch() {
let rtnmsg = await this.executeRule("serbut")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.cnystm.rows;
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.cnystm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
this.model.cnytyp = ""
......@@ -62,52 +60,114 @@ export default {
this.model.ownextkey = ""
this.stmData.data = ""
},
async onButprt(){
let rtnmsg = await this.executeRule("butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDtlbut(){
let rtnmsg = await this.executeRule("dtlbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExi(){
let rtnmsg = await this.executeRule("exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLibctySelbut1(){
let rtnmsg = await this.executeRule("libcty.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButprt() {
let rtnmsg = await this.executeRule("butprt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDtlbut() {
let rtnmsg = await this.executeRule("dtlbut")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onExi() {
let rtnmsg = await this.executeRule("exi")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLibctySelbut1() {
let rtnmsg = await this.executeRule("libcty.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOutctySelbut1() {
let rtnmsg = await this.executeRule("outcty.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
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: '服务请求失败!' });
}
},
async onVoucty1Selbut1() {
let rtnmsg = await this.executeRule("voucty1.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onVoucty2Selbut1() {
let rtnmsg = await this.executeRule("voucty2.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onVoucty3Selbut1() {
let rtnmsg = await this.executeRule("voucty3.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onVoucty4Selbut1() {
let rtnmsg = await this.executeRule("voucty4.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onCodcnySelbut() {
let rtnmsg = await this.executeRule("codcny.selbut")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
......@@ -33,7 +33,116 @@ export default class Cnysel{
sorgname:"", // 境内企业名称 .cnyselp.sorgname
sforeignorgname:"", // 境外企业名称 .cnyselp.sforeignorgname
saddwordlib:"", // 交易附言 .cnyselp.saddwordlib
sbankname:"", // 银行机构名称 .cnyselp.sbankname
sbankname:"", // 报送银行机构名称 .cnyselp.sbankname
cnyout:{
spk:"", // 业务主键 .cnyselp.cnyout.spk
sbankorgcode:"", // 银行机构代码 .cnyselp.cnyout.sbankorgcode
spayeeorgcode:"", // 付款人机构代码 .cnyselp.cnyout.spayeeorgcode
spayeeacct:"", // 付款人帐号 .cnyselp.cnyout.spayeeacct
spayercountrycode:"", // 收款人常驻国家(地区)代码 .cnyselp.cnyout.spayercountrycode
sswiftbic:"", // 收款行SWIFT BIC .cnyselp.cnyout.sswiftbic
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnyselp.cnyout.cpayeraccttyp
spayeracct:"", // 清算(结算)帐户帐号 .cnyselp.cnyout.spayeracct
smidtransbank:"", // 中�'转汇行 .cnyselp.cnyout.smidtransbank
dpayeedate:"", // 付款日期 .cnyselp.cnyout.dpayeedate
spayeecny:"", // 付款币种 .cnyselp.cnyout.spayeecny
ftotalamt:"", // 原币金额 .cnyselp.cnyout.ftotalamt
sorilevyno:"", // 原申报号码 .cnyselp.cnyout.sorilevyno
sbanktrano:"", // 银行业务编号 .cnyselp.cnyout.sbanktrano
sbalancemode:"", // 结算方式 .cnyselp.cnyout.sbalancemode
iaccountperiod:"", // 结�'�期 .cnyselp.cnyout.iaccountperiod
fpayeeamt:"", // 货物贸易付款金额 .cnyselp.cnyout.fpayeeamt
fcustomsamt:"", // 已报关付款金额 .cnyselp.cnyout.fcustomsamt
frecordamt:"", // 已备案付款金额 .cnyselp.cnyout.frecordamt
fprepayeeamt:"", // 预付款金额 .cnyselp.cnyout.fprepayeeamt
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnyselp.cnyout.fonshoreamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnyselp.cnyout.foffshoreamt
fnogoodsamt:"", // 无货物报关其他金额 .cnyselp.cnyout.fnogoodsamt
cpayeeattr:"", // 付款人属性 .cnyselp.cnyout.cpayeeattr
fprepayerscale:"", // 预付款比例 .cnyselp.cnyout.fprepayerscale
},
spayeename:"", // 收款人名称 .cnyselp.spayeename
spayername:"", // 付款人名称 .cnyselp.spayername
saddwordout:"", // 交易附言 .cnyselp.saddwordout
cnyinc:{
spk:"", // 业务主键 .cnyselp.cnyinc.spk
sbankorgcode:"", // 银行机构代码 .cnyselp.cnyinc.sbankorgcode
spayeeorgcode:"", // 收款人机构代码 .cnyselp.cnyinc.spayeeorgcode
spayeeacct:"", // 收款人帐号 .cnyselp.cnyinc.spayeeacct
sswiftbic:"", // 付款行SWIFT BIC .cnyselp.cnyinc.sswiftbic
spayeracct:"", // 清算(结算)账户账号 .cnyselp.cnyinc.spayeracct
smidtransbank:"", // 中�'转汇行 .cnyselp.cnyinc.smidtransbank
dpayeedate:"", // 收款日期 .cnyselp.cnyinc.dpayeedate
sbalancemode:"", // 结算方式 .cnyselp.cnyinc.sbalancemode
spayeecny:"", // 收款币种 .cnyselp.cnyinc.spayeecny
ftotalamt:"", // 原币金额 .cnyselp.cnyinc.ftotalamt
sorilevyno:"", // 原申报号码 .cnyselp.cnyinc.sorilevyno
sbanktrano:"", // 银行业务编号 .cnyselp.cnyinc.sbanktrano
fpayeeamt:"", // 货物贸易收款金额 .cnyselp.cnyinc.fpayeeamt
fcustomsamt:"", // 已报关收款金额 .cnyselp.cnyinc.fcustomsamt
frecordamt:"", // 已备案收款金额 .cnyselp.cnyinc.frecordamt
fprepayeeamt:"", // 预收款金额 .cnyselp.cnyinc.fprepayeeamt
fprepayeescale:"", // 预收款比例 .cnyselp.cnyinc.fprepayeescale
iaccountperiod:"", // 结�'�期 .cnyselp.cnyinc.iaccountperiod
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnyselp.cnyinc.fonshoreamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnyselp.cnyinc.foffshoreamt
fnogoodsamt:"", // 无货物报关其他金额 .cnyselp.cnyinc.fnogoodsamt
cpayeeattr:"", // 收款人属性 .cnyselp.cnyinc.cpayeeattr
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnyselp.cnyinc.cpayeraccttyp
spayercountrycode:"", // 付款人常驻国家(地区)代码 .cnyselp.cnyinc.spayercountrycode
},
saddword:"", // 交易附言 .cnyselp.saddword
cnyvou:{
spk:"", // 业务主键 .cnyselp.cnyvou.spk
sbankorgcode:"", // 报送银行机构代码 .cnyselp.cnyvou.sbankorgcode
cvouchdirection:"", // 担保方向 .cnyselp.cnyvou.cvouchdirection
stransattr:"", // 业务属性 .cnyselp.cnyvou.stransattr
svoucherswiftbic:"", // 担保人机构代码 .cnyselp.cnyvou.svoucherswiftbic
svouchercountrycode:"", // 担保人国别 .cnyselp.cnyvou.svouchercountrycode
svoucheeorgcode:"", // 担保权人机构代码 .cnyselp.cnyvou.svoucheeorgcode
svoucheecountrycode:"", // 担保权人国别 .cnyselp.cnyvou.svoucheecountrycode
sdebtororgcode:"", // 债务人机构代码 .cnyselp.cnyvou.sdebtororgcode
sdebtorcountrycode:"", // 债务人国别 .cnyselp.cnyvou.sdebtorcountrycode
sreverseorgcode:"", // 反担保人机构代码 .cnyselp.cnyvou.sreverseorgcode
sreversecountrycode:"", // 反担保人国别 .cnyselp.cnyvou.sreversecountrycode
sbanktrano:"", // 银行业务编号 .cnyselp.cnyvou.sbanktrano
cvouchtype:"", // 担保种类 .cnyselp.cnyvou.cvouchtype
cvouchmode:"", // 反担保方式 .cnyselp.cnyvou.cvouchmode
fvouchamt:"", // 原币种金额 .cnyselp.cnyvou.fvouchamt
dvouchefficientdate:"", // 担保生效日期 .cnyselp.cnyvou.dvouchefficientdate
dvouchenddate:"", // 担保到期日期 .cnyselp.cnyvou.dvouchenddate
scontractno:"", // 担保合同编号 .cnyselp.cnyvou.scontractno
svouchno:"", // 担保登记编号 .cnyselp.cnyvou.svouchno
currencycode:"", // 担保币种 .cnyselp.cnyvou.currencycode
},
svouchername:"", // 担保人名称 .cnyselp.svouchername
svoucheename:"", // 担保权人名称 .cnyselp.svoucheename
sdebtorname:"", // 债务人名称 .cnyselp.sdebtorname
sreversename:"", // 反担保人名称 .cnyselp.sreversename
saddwordvou:"", // 交易附言 .cnyselp.saddwordvou
cnytra:{
spk:"", // 业务主键 .cnyselp.cnytra.spk
spayerbkorgcode:"", // 付款行银行机构代码 .cnyselp.cnytra.spayerbkorgcode
spayerswiftbic:"", // 付款方代码 .cnyselp.cnytra.spayerswiftbic
spayerbicbkacct:"", // 付款方帐号 .cnyselp.cnytra.spayerbicbkacct
spayeebkorgcode:"", // 收款行银行机构代码 .cnyselp.cnytra.spayeebkorgcode
spayeeswiftbic:"", // 收款方代码 .cnyselp.cnytra.spayeeswiftbic
spayeebicbkacct:"", // 收款方帐号 .cnyselp.cnytra.spayeebicbkacct
smidtransbank:"", // 中间转汇行 .cnyselp.cnytra.smidtransbank
sbicbkacct:"", // 清算帐户帐号 .cnyselp.cnytra.sbicbkacct
dpayerdate:"", // 付款日期 .cnyselp.cnytra.dpayerdate
spayercny:"", // 付款币种 .cnyselp.cnytra.spayercny
fpayeramt:"", // 付款金额 .cnyselp.cnytra.fpayeramt
sbanktrano:"", // 银行业务编号 .cnyselp.cnytra.sbanktrano
camttransrelation:"", // 资金划转关系 .cnyselp.cnytra.camttransrelation
camttranstype:"", // 资金划转类型 .cnyselp.cnytra.camttranstype
samttranspurpose:"", // 划转用途 .cnyselp.cnytra.samttranspurpose
},
spayerbkorgname:"", // 付款行银行机构名称 .cnyselp.spayerbkorgname
spayerswiftbicname:"", // 付款方名称 .cnyselp.spayerswiftbicname
spayeebkorgname:"", // 收款行银行机构名称 .cnyselp.spayeebkorgname
spayeeswiftbicname:"", // 收款方名称 .cnyselp.spayeeswiftbicname
saddwordtra:"", // 交易附言 .cnyselp.saddwordtra
},
pageId: "" // ctx的key
}
......
......@@ -92,7 +92,7 @@ export default {
],
stmData: {
columns: [
'0 1 "业务编号" 120',
'0 1 "业务编号" 140',
'1 2 "币种" 110',
'2 3 "金额" 120 2 8:1 2 5',
'3 4 "收款人名称" 250',
......
......@@ -11,11 +11,35 @@
</content>
</el-tab-pane>
<!--cnyselp PD000047 2106银行跟单结算及表外融资 -->
<el-tab-pane :label="$t('cnyselp.PD000047')" name="libp">
<el-tab-pane :label="$t('cnyselp.PD000047')" name="libp" v-if="(this.model.cnytyp == 3)">
<content>
<m-libp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--cnyselp PD000044 2111跨境支出信息 -->
<el-tab-pane :label="$t('cnyselp.PD000044')" name="outp" v-if="(this.model.cnytyp == 2)">
<content>
<m-outp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--cnyselp PD000001 2101跨境收入信息 -->
<el-tab-pane :label="$t('cnyselp.PD000001')" name="incp" v-if="(this.model.cnytyp == 1)">
<content>
<m-incp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--cnyselp PD000045 2122跨境担保登记业务信息 -->
<el-tab-pane :label="$t('cnyselp.PD000045')" name="voup" v-if="(this.model.cnytyp == 5)">
<content>
<m-voup :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--cnyselp PD000046 2107境外主体之间资金划转 -->
<el-tab-pane :label="$t('cnyselp.PD000046')" name="trap" v-if="(this.model.cnytyp == 4)">
<content>
<m-trap :model="model" :codes="codes" />
</content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -31,13 +55,21 @@ import Default from "~/model/Cnysel/Default";
import Pattern from "~/model/Cnysel/Pattern";
import Selp from "./Selp";
import Libp from "./Libp"
import Libp from "./Libp";
import Outp from "./Outp"
import Incp from "./Incp"
import Voup from "./Voup"
import Trap from "./Trap"
export default {
name: "Cnysel",
components: {
"m-selp": Selp,
"m-libp": Libp,
"m-outp": Outp,
"m-incp": Incp,
"m-voup": Voup,
"m-trap": Trap,
},
provide() {
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