Commit 6d21dbef by panziyi

getset修改

parent 2f3aecec
......@@ -10,39 +10,55 @@ let checkObj = {
"bopmod.dbagrp.bas.outchargeamt" :null,
"bopmod.dbdgrp.bas.fcyacc" :null,
"bopmod.dbagrp.bas.fcyamt" :null,
"cnybop.cnyinc.sbalancemode" :null,
"bopmod.dbdgrp.bas.buscode" :null,
"bopmod.dbdgrp.bas.inchargeamt" :null,
"bopmod.dbdgrp.bas.idcode" :null,
"gcdgrp.oth.adrelc" :null,
"cnybop.cnyinc.spayercountrycode" :null,
"bopmod.dbdgrp.bas.custnm" :null,
"bopmod.dbagrp.bas.exrate" :null,
"bopmod.dbdgrp.bas.txamt" :null,
"bopmod.dbagrp.bas.txccy" :null,
"cnybop.cnyinc.frecordamt" :null,
"cnybop.cnyinc.dpayeedate" :null,
"gcdgrp.prb.namelc" :null,
"gcdgrp.prb.pts.adrblk" :null,
"cnybop.cnyinc.sbankorgcode" :null,
"bopmod.dbagrp.bas.custcod" :null,
"cnybop.cnyflg" :null,
"cnybop.saddword" :null,
"bopmod.dbdgrp.bas.fcyamt" :null,
"cnybop.cnyinc.sorilevyno" :null,
"cnybop.cnyinc.sbanktrano" :null,
"bopmod.dbagrp.bas.txamt" :null,
"bopmod.dbdgrp.bas.methods" :null,
"bopmod.dbdgrp.bas.exrate" :null,
"cnybop.cnyinc.iaccountperiod" :null,
"cnybop.spayeename" :null,
"bopmod.dbagrp.bas.buscode" :null,
"lendoc.account" :null,
"bopmod.dbagrp.bas.othamt" :null,
"gcdgrp.oth.pts.extkey" :null,
"bopmod.dbagrp.bas.actiondesc" :null,
"cnybop.cnyinc.cpayeeattr" :null,
"bopmod.dbdgrp.bas.oppuser" :null,
"bopmod.dbdgrp.bas.othamt" :null,
"cnybop.cnyinc.spayeeorgcode" :null,
"bopmod.dbdgrp.bas.custype" :null,
"bopmod.dbagrp.bas.outchargeccy" :null,
"gcdgrp.prb.adrelc" :null,
"bopmod.dbagrp.bas.actiontype" :null,
"cnybop.incscale" :null,
"bopmod.dbdgrp.bas.rptno" :null,
"gcdgrp.oth.namelc" :null,
"cnybop.cnyinc.sswiftbic" :null,
"bopmod.szflg" :null,
"bopmod.dbdgrp.bas.actiontype" :null,
"cnybop.cnyinc.fpayeeamt" :null,
"bopmod.dbdgrp.bas.lcyamt" :null,
"cnybop.traflg" :null,
"cnybop.sbankname" :null,
"bopmod.dbagrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.custnm" :null,
"gcdgrp.prb.pts.extkey" :null,
......@@ -50,6 +66,8 @@ let checkObj = {
"bopmod.dbagrp.bas.fcyacc" :null,
"bopmod.dbdgrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.custype" :null,
"cnybop.cnyinc.ftotalamt" :null,
"cnybop.cnyinc.spayeecny" :null,
"bopmod.dbdgrp.bas.txccy" :null,
"bopmod.dbdgrp.bas.custcod" :null,
"bopmod.dbagrp.bas.rptno" :null,
......@@ -59,12 +77,14 @@ let checkObj = {
"bopmod.dbdgrp.bas.lcyacc" :null,
"bopmod.dbagrp.bas.idcode" :null,
"bopmod.dbagrp.bas.othacc" :null,
"cnybop.spayername" :null,
"bopmod.dbagrp.bas.lcyamt" :null,
"bopmod.dbagrp.bas.inchargeamt" :null,
"cnybop.libflg" :null,
"bopmod.ownextkey" :null,
"bopmod.acttyp" :null,
"gcdgrp.oth.pts.adrblk" :null,
"cnybop.cnyinc.cpayeraccttyp" :null,
"bopmod.dbdgrp.bas.actiondesc" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
......
......@@ -38,6 +38,7 @@ export default {
"gcdgrp.oth.namelc" :Utils.defaultFunction,
"gcdgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.oth.pts.adrblk" :Utils.defaultFunction,
"cnybop.cnyinc.spayercountrycode" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.rptno" :Utils.defaultFunction,
......
......@@ -230,5 +230,17 @@ export default {
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: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -353,4 +353,116 @@ export default {
"bopmod.dbdgrp.bas.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"cnybop.cnyinc.spk":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"cnybop.cnyinc.sbanktrano":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cnybop.sbankname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.sbankorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cnybop.cnyinc.spayeeacct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.cnyinc.spayeeorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cnybop.spayeename":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.spayercountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.spayername":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.sswiftbic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyinc.smidtransbank":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyinc.spayeracct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.incscale":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"cnybop.cnyinc.dpayeedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.cnyinc.fprepayeeamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.iaccountperiod":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.cnyinc.ftotalamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.sorilevyno":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"cnybop.cnyinc.fpayeeamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fonshoreamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fcustomsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.foffshoreamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.frecordamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fnogoodsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.saddword":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
}
\ No newline at end of file
......@@ -103,6 +103,9 @@ export default class Getset{
dbfadrblkcn:"", // Chinese address .gcdgrp.oth.dbfadrblkcn
},
},
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
},
lendoc:{
actflg:"", // Input Account .lendoc.actflg
account:"", // ACT .lendoc.account
......@@ -205,6 +208,46 @@ export default class Getset{
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
},
liaall:{
limmod:{
limpfp:{
clmcbe:[], // .liaall.limmod.limpfp.clmcbe
clmcbb:[], // .liaall.limmod.limpfp.clmcbb
clmpty:[], // .liaall.limmod.limpfp.clmpty
},
},
},
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
......
......@@ -272,12 +272,14 @@
label-width="5px"
prop="gidgrp.rec.jurlaw"
>
<c-input
<c-select
disabled
v-model="model.gidgrp.rec.jurlaw"
maxlength="35"
:code="codes.ctytxt2"
style="width: 100%"
placeholder="请输入"
></c-input>
></c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -643,6 +645,19 @@
return {};
},
methods: { ...Event },
watch:{
"model.gidgrp.rec.jurlaws20": function(){
if(this.model.gidgrp.rec.jurlaws20=="GB"){
this.model.gidgrp.rec.jurlaw="GB"
}else if(this.model.gidgrp.rec.jurlaws20=="CN"){
this.model.gidgrp.rec.jurlaw="CN"
}else if(this.model.gidgrp.rec.jurlaws20=="HK"){
this.model.gidgrp.rec.jurlaw="HK"
}else if(this.model.gidgrp.rec.jurlaws20==""){
this.model.gidgrp.rec.jurlaw=""
}
}
},
created: function () {},
};
</script>
......
......@@ -292,6 +292,7 @@
padding-bottom: 2px;
"
v-model="model.mtabut.clsflgp"
checked
disabled
>关闭标志</c-checkbox
>
......@@ -312,15 +313,18 @@ export default {
data() {
return {};
},
methods: {
...Event,
change() {
if (this.model.gidgrp.rec.purcan == "RR") {
watch: {
"model.gidgrp.rec.purcan": function(){
if (this.model.gidgrp.rec.purcan == "RR") {
this.model.mtabut.clsflgp = "";
} else {
this.model.mtabut.clsflgp = "X";
}
},
},
},
methods: {
...Event,
},
created: function () {
trntyp: [];
......
......@@ -272,12 +272,14 @@
label-width="5px"
prop="gidgrp.rec.jurlaw"
>
<c-input
<c-select
disabled
v-model="model.gidgrp.rec.jurlaw"
maxlength="35"
style="width: 100%"
:code="codes.ctytxt2"
placeholder="请输入仲裁法律"
></c-input>
></c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -644,6 +646,19 @@ export default {
return {};
},
methods: { ...Event },
watch:{
"model.gidgrp.rec.jurlaws20": function(){
if(this.model.gidgrp.rec.jurlaws20=="GB"){
this.model.gidgrp.rec.jurlaw="GB"
}else if(this.model.gidgrp.rec.jurlaws20=="CN"){
this.model.gidgrp.rec.jurlaw="CN"
}else if(this.model.gidgrp.rec.jurlaws20=="HK"){
this.model.gidgrp.rec.jurlaw="HK"
}else if(this.model.gidgrp.rec.jurlaws20==""){
this.model.gidgrp.rec.jurlaw=""
}
}
},
created: function () {},
};
</script>
......
......@@ -5,7 +5,7 @@
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select
disabled
:disabled="model.gcdgrp.cbs.max.cur!='CNY'"
:code="codes.cnyflg"
v-model="model.cnybop.cnyflg"
style="width: 100%"
......
......@@ -278,7 +278,7 @@
<c-col :span="24">
<c-col :span="6" :offset="6">
<c-form-item label-width="5px" prop="gcdgrp.rec.cannowflg">
<c-checkbox v-model="model.gcdgrp.rec.cannowflg"
<c-checkbox v-model="model.gcdgrp.rec.cannowflg" checked
>保函注销情况下的付款</c-checkbox
>
</c-form-item>
......@@ -389,6 +389,7 @@
<c-select
v-model="model.gcdgrp.rec.payrol"
placeholder="请选择向索人"
disabled
style="width: 100%"
>
<el-option
......
......@@ -96,6 +96,10 @@
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="2102跨境收入信息" name="incp" v-if="model.cnybop.cnyflg=='1'">
<m-incp :model="model" :codes="codes" />
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes" />
......@@ -111,6 +115,13 @@
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
......@@ -128,6 +139,7 @@ import Docpan1 from "./Docpan";
import Wg from "./Wg";
import Basp from "./Basp";
import Cnyp from "./Cnyp";
import Incp from "./Incp";
import Shisuan from "./Shisuan";
import Engp from "~/views/Public/Engp";
......@@ -148,7 +160,7 @@ export default {
"m-basp": Basp,
"m-cnyp": Cnyp,
"m-shisuan": Shisuan,
"m-incp": Incp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-glepan": Glepan,
......
......@@ -272,12 +272,14 @@
label-width="5px"
prop="gidgrp.rec.jurlaw"
>
<c-input
<c-select
disabled
v-model="model.gidgrp.rec.jurlaw"
maxlength="35"
style="width: 100%"
placeholder="请输入"
></c-input>
:code="codes.ctytxt2"
></c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -643,6 +645,19 @@ export default {
return {};
},
methods: { ...Event },
watch:{
"model.gidgrp.rec.jurlaws20": function(){
if(this.model.gidgrp.rec.jurlaws20=="GB"){
this.model.gidgrp.rec.jurlaw="GB"
}else if(this.model.gidgrp.rec.jurlaws20=="CN"){
this.model.gidgrp.rec.jurlaw="CN"
}else if(this.model.gidgrp.rec.jurlaws20=="HK"){
this.model.gidgrp.rec.jurlaw="HK"
}else if(this.model.gidgrp.rec.jurlaws20==""){
this.model.gidgrp.rec.jurlaw=""
}
}
},
created: function () {},
};
</script>
......
......@@ -284,12 +284,14 @@
label-width="5px"
prop="gidgrp.rec.jurlaw"
>
<c-input
<c-select
disabled
v-model="model.gidgrp.rec.jurlaw"
maxlength="35"
style="width: 100%"
:code="codes.ctytxt2"
placeholder="请输入"
></c-input>
></c-select>
</el-form-item>
</c-col>
</c-col>
......
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