Commit c9a00924 by lianyang

Betsnd页面修改优化

parent 35205f70
......@@ -18,7 +18,7 @@ export default {
"ledgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }//同属适用于正负数
],
"betp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -16,9 +16,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }//同属适用于正负数
],
"betp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -38,7 +38,7 @@ export default {
],
"bedgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "strig", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -52,7 +52,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"bedgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -111,7 +111,7 @@ export default {
],
"bedgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"bedgrp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -141,7 +141,7 @@ export default {
],
"bedgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"bedgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -171,7 +171,7 @@ export default {
"bedgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1300,message:"长度不能超过1300"}
],
......@@ -181,21 +181,21 @@ export default {
"bedgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1300,message:"长度不能超过1300"}
],
"bedgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bedgrp.rec.lescom":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bedgrp.blk.setinsbe":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 390,message:"长度不能超过390"}
],
......@@ -204,7 +204,7 @@ export default {
"bedgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 3500,message:"长度不能超过3500"}
],
"betp.docp.ptsget.sdamod.dadsnd":[
......@@ -226,7 +226,7 @@ export default {
],
"bedgrp.doc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"bedgrp.doc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -238,21 +238,21 @@ export default {
],
"bedsnd.usadet":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 650,message:"长度不能超过650"}
],
"bedsnd.addphr":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 650,message:"长度不能超过650"}
],
"bedsnd.newbenadr":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 175,message:"长度不能超过175"}
],
"bedgrp.blk.benref":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 160,message:"长度不能超过160"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
......@@ -387,7 +387,7 @@ export default {
],
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -420,7 +420,7 @@ export default {
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -453,7 +453,7 @@ export default {
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -31,6 +31,7 @@ export default class Betsnd{
adaflg:"", // Add. amount .betp.adaflg
docgrdm:{
docdsclab:"", // Label of document description .betp.docgrdm.docdsclab
docgrd:"", //betp.docgrdm.docgrd 加表格内容字段
},
othp:{
ptsget:{
......@@ -124,7 +125,8 @@ export default class Betsnd{
setinsbe:"", // Settlement Instructions transaction field .bedgrp.blk.setinsbe
docdis:"", // Discrepancies .bedgrp.blk.docdis
docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg
benref:"", // 新受益人编号 .bedgrp.blk.benref
benref:"", // 新受益人编号 .bedgrp.blk.benref\
prsdoc:"", //加Rgfp.vue左下表格字段//path字段 bedgrp.blk.prsdoc
},
doc:{
pts:new Pts().data,
......@@ -133,6 +135,12 @@ export default class Betsnd{
dbfadrblkcn:"", // Chinese address .bedgrp.doc.dbfadrblkcn
},
},
oldbedgrp:{
rec:{
rcvdat:"", //到单日期recevied on 是否高亮可选 oldbedgrp.rec.rcvdat
predat:"", //提示日期 Presented on 是否高亮可选 oldbedgrp.rec.predat
}
},
ameadrflg:"", // Ammendment Ben. or Iss. Address .ameadrflg
bedsnd:{
snd732:"", // Create MT 732 .bedsnd.snd732
......
<template>
<div class="eibs-tab">
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg">
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('cnybop.S0000042')"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2101表" label-width=160px prop="cnybop.cnyflg">
<c-select disabled v-model="model.cnybop.cnyflg" style="width:70%" placeholder="请选择是否报送跨境人民币2101表"
:code="codes.cnyflg">
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12">
<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>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2107表" label-width=160px prop="cnybop.traflg">
<c-select disabled v-model="model.cnybop.traflg" style="width:70%" placeholder="请选择是否报送跨境人民币2107表"
:code="codes.traflg">
</c-select>
</el-form-item>
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12">
<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>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2111表" label-width=160px prop="cnybop.outflg">
<c-select disabled v-model="model.cnybop.outflg" style="width:70%" placeholder="请选择是否报送跨境人民币2111表"
:code="codes.outflg">
</c-select>
</el-form-item>
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12">
<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>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2106表" label-width=160px prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:70%" placeholder="请选择是否报送跨境人民币2106表"
:code="codes.libflg">
</c-select>
</el-form-item>
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12">
<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>
</el-form-item>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2122表" label-width=160px prop="cnybop.vouflg">
<c-select disabled v-model="model.cnybop.vouflg" style="width:70%" placeholder="请选择是否报送跨境人民币2122表"
:code="codes.vouflg">
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
......@@ -79,4 +61,6 @@ export default {
created: function () {},
}
</script>
<style></style>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000060 : 远期单据指示 -->
<c-col :span="12">
<c-form-item :label="$t('bedsnd.SF000060')" prop="bedsnd.usadet">
<c-col :span="20">
<c-col :span="21">
<c-form-item label="Instructions regarding Usance Documengts" prop="bedsnd.usadet">
<c-input
type="textarea"
v-model="model.bedsnd.usadet"
maxlength="65"
maxlength="650"
:rows="8"
show-word-limit
:placeholder="$t('other.please_enter') + $t('bedsnd.SF000060')"
placeholder="请输入远期单据指示"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-col :span="3">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onUsatxtButtxmsel"
>
{{ $t('bedsnd.CF000057') }}
...
</c-button>
</c-col>
<!-- SF000059 : 偿付条款 -->
</c-col>
<c-col :span="12">
<c-form-item :label="$t('bedsnd.SF000059')" prop="bedsnd.addphr">
<!-- SF000059 : 偿付条款 -->
<c-col :span="20">
<c-col :span="21">
<c-form-item label="Reimmursement Pharse" prop="bedsnd.addphr">
<c-input
type="textarea"
v-model="model.bedsnd.addphr"
maxlength="65"
maxlength="650"
:rows="8"
show-word-limit
:placeholder="$t('other.please_enter') + $t('bedsnd.SF000059')"
placeholder="请输入偿付条款"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-col :span="3">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onRgfphrButtxmsel"
>
{{ $t('bedsnd.CF000058') }}
...
</c-button>
</c-col>
<!-- SG000345 : 新受益人地址 -->
</c-col>
<c-col :span="12">
<c-form-item :label="$t('bedsnd.SG000345')" prop="bedsnd.newbenadr">
<!-- SG000345 : 新受益人地址 -->
<c-col :span="20">
<c-form-item label="New Ben.Address" prop="bedsnd.newbenadr">
<c-input
type="textarea"
v-model="model.bedsnd.newbenadr"
maxlength="35"
maxlength="175"
:rows="5"
show-word-limit
:placeholder="$t('other.please_enter') + $t('bedsnd.SG000345')"
placeholder="请输入新受益人地址"
:disabled="model.ameadrflg==''"
style="width:60%"
></c-input>
</c-form-item>
</c-col>
<!-- S0000347 : 新受益人编号 -->
<c-col :span="12">
<c-form-item :label="$t('bedsnd.S0000347')" prop="bedgrp.blk.benref">
<c-col :span="20">
<c-form-item label="New Beneficiary Ref." prop="bedgrp.blk.benref">
<c-input
type="textarea"
v-model="model.bedgrp.blk.benref"
maxlength="16"
maxlength="160"
:rows="5"
show-word-limit
:placeholder="$t('other.please_enter') + $t('bedsnd.S0000347')"
placeholder="请输入新受益人编号"
style="width:60%"
></c-input>
</c-form-item>
</c-col>
......
......@@ -36,7 +36,7 @@
</c-content>
</el-tab-pane>
<!--betsnd PD000050 Instr./ Discrep. -->
<el-tab-pane label="Discr./Instr." name="dscins">
<el-tab-pane label="Instr./ Discrep." name="dscins">
<c-content>
<m-dscins :model="model" :codes="codes" />
</c-content>
......@@ -78,7 +78,7 @@
</c-content>
</el-tab-pane>
<!--rmbclm PD000128 Reimbursement Details -->
<el-tab-pane label="Reimbursement Details" name="remp">
<el-tab-pane label="Reimbursement Details" name="remp" v-if="model.rmbclmnow ">
<c-content>
<m-remp :model="model" :codes="codes" />
</c-content>
......@@ -90,14 +90,13 @@
</c-content>
</el-tab-pane>
<!--cnybop PD000110 2106银行跟单结算及表外融资 -->
<el-tab-pane label="2106银行跟单结算及表外融资" name="libp">
<el-tab-pane label="2106银行跟单结算及表外融资" name="libp" v-if="this.model.cnybop.libflg == '1'">
<c-content>
<m-libp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody"
>\
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
......
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