Commit 2ff15201 by wangren

bctame、litopn、bctame、bctdor、litrog部分bug修改

parent 024a2824
...@@ -53,10 +53,10 @@ export default { ...@@ -53,10 +53,10 @@ export default {
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
], ],
"trnmod.swiadd.newmatpercnt":[ // "trnmod.swiadd.newmatpercnt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"oldbcdgrp.rec.matdat":[ "oldbcdgrp.rec.matdat":[
......
...@@ -40,11 +40,11 @@ export default { ...@@ -40,11 +40,11 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"brdgrp.cbs.max.amt":[ // "brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {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位" }
], // ],
"brdgrp.apl.pts.ref":[ "brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
......
...@@ -796,11 +796,11 @@ export default { ...@@ -796,11 +796,11 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"liaall.limmod.comamt":[ // "liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {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位" }
], // ],
"liaall.limmod.limpts.wrk.pts.nam":[ "liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
......
...@@ -16,11 +16,11 @@ export default { ...@@ -16,11 +16,11 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"lidgrp.cbs.nom1.amt":[ // "lidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {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位" }
], // ],
"brdgrp.apl.pts.ref":[ "brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -30,11 +30,11 @@ export default { ...@@ -30,11 +30,11 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ // "lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {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位" }
], // ],
"brdgrp.apl.pts.nam":[ "brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -99,11 +99,11 @@ export default { ...@@ -99,11 +99,11 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.max.amt":[ // "brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {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位" }
], // ],
"brtp.prbp.ptsget.sdamod.dadsnd":[ "brtp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Amend Condition" prop="newdoctypcod"> <el-form-item label="Amend Condition" prop="newdoctypcod">
<c-select v-model="model.newdoctypcod" style="width:100%" placeholder="Amend Condition"> <c-select v-model="model.newdoctypcod" style="width:100%" placeholder="Amend Condition">
<el-option v-for="item in codes.doctyp" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in codes.doctypcod" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -319,13 +319,75 @@ ...@@ -319,13 +319,75 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-ptap <!-- <c-ptap
:model="model" :model="model"
:argadr="{ title: 'Drawee ', grp: 'bcdgrp', rol: 'dre' }" :argadr="{ title: 'Drawee ', grp: 'bcdgrp', rol: 'dre' }"
:disabled="true" :disabled="true"
> >
</c-ptap> </c-ptap> -->
<c-col :span="24">
<el-form-item
label="Drawee Ref."
prop="bcdgrp.dre.pts.ref"
>
<c-input
v-model="model.bcdgrp.dre.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入Application Ref"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.dre.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.bcdgrp.dre.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.dre.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
disabled
@click="onAplpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.dre.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.dre.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-ptap <c-ptap
:model="model" :model="model"
......
...@@ -100,6 +100,7 @@ import Engp from "~/views/Public/Engp" ...@@ -100,6 +100,7 @@ import Engp from "~/views/Public/Engp"
export default { export default {
name:"Bctame",
components:{ components:{
"m-amep" : Amep, "m-amep" : Amep,
"m-ovwp" : Ovwp, "m-ovwp" : Ovwp,
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000005 --> <!--PD000005 -->
<el-tab-pane label="Settle BC at Maturity, " name="bctsus"> <el-tab-pane label="Settle BC at Maturity" name="bctsus">
<m-bctsus :model="model" :codes="codes"/> <m-bctsus :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
......
...@@ -364,6 +364,9 @@ export default { ...@@ -364,6 +364,9 @@ export default {
handler(){ handler(){
if(this.model.brdgrp.rec.advtyp == '750' ){ if(this.model.brdgrp.rec.advtyp == '750' ){
this.model.brdgrp.rec.advdat = ' ' this.model.brdgrp.rec.advdat = ' '
this.model.brdgrp.blk.docdisflg= 'X'
}else if(this.model.brdgrp.rec.advtyp == '754'){ }else if(this.model.brdgrp.rec.advtyp == '754'){
this.model.brdgrp.rec.disdat = ' ' this.model.brdgrp.rec.disdat = ' '
// this.model.brdgrp.blk.docdisflg= "" // this.model.brdgrp.blk.docdisflg= ""
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
<el-form-item label="Available by" prop="lidgrp.rec.avbby"> <el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select <c-select
disabled disabled
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by"> v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -107,8 +108,10 @@ ...@@ -107,8 +108,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp"> <el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-input disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型"> <c-select
</c-input> :code="codes.lcrtyp"
disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- 左 --> <!-- 左 -->
<el-col :span="11"> <el-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-form-item label="L/C Reference" prop="lidget.lid.ownref"> <c-form-item label="L/C Reference" prop="lidgrp.lid.ownref">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.lidget.lid.ownref" v-model="model.lidget.lid.ownref"
...@@ -860,7 +860,7 @@ export default { ...@@ -860,7 +860,7 @@ export default {
key: 3, key: 3,
}, },
{ {
label: "Oth.Docs", label: "Oth. Docs",
key: 4, key: 4,
}, },
{ {
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data); this.updateModel(rtnmsg.data)
} }
else else
{ {
......
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