Commit cff0a4e1 by wangren

litcan、litdla、litdav交易bug修正

parent baba37a7
......@@ -4192,6 +4192,10 @@ const CodeTable = {
{ label: "Advice of Payment (MT754)", value: "754" },
{ label: "Other", value: "OTH" },
],
advtyp1: [
{ label: "NPAY", value: "NPAY" },
{ label: "NACC", value: "NACC" },
],
limittype: [
{ label: "余额限额", value: "12" },
......
......@@ -20,11 +20,11 @@ export default {
"lidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.nom1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"lidgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -35,11 +35,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"lidgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
......
......@@ -300,20 +300,20 @@ export default {
"lidgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 135,message:"长度不能超过135"}
],
"lidgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"lidgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
// "lidgrp.rec.nomtop":[
// { required: false, message: ""},
// {max: 2,message:"长度不能超过2"}
// ],
// "lidgrp.rec.nomton":[
// { required: false, message: ""},
// {max: 2,message:"长度不能超过2"}
// ],
"lidgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -324,11 +324,11 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"lidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"litp.advp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -354,7 +354,7 @@ export default {
],
"lidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 135,message:"长度不能超过135"}
],
"lidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -402,7 +402,7 @@ export default {
],
"lidgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
"lidgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -442,7 +442,7 @@ export default {
],
"oldlidgrp.blk.narhis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 500,message:"长度不能超过500"}
],
......@@ -455,10 +455,10 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.prepers18":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "lidgrp.rec.prepers18":[
// {type: "string", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
// ],
"litp.avbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -483,7 +483,7 @@ export default {
],
"lidgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过351"}
],
"lidgrp.avb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -500,7 +500,7 @@ export default {
],
"lidgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
......@@ -534,7 +534,7 @@ export default {
],
"lidgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
"lidgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -552,10 +552,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "lidgrp.rec.tenmaxday":[
// {type: "string", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
// ],
"lidgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -616,7 +616,7 @@ export default {
],
"lidgrp.ini.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
"lidgrp.ini.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -624,7 +624,7 @@ export default {
],
"lidgrp.a2b.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
"lidgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -687,7 +687,7 @@ export default {
],
"lidgrp.con.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
"lidgrp.con.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -754,7 +754,7 @@ export default {
"lidgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 8000,message:"长度不能超过8000"}
],
"lidgrp.blk.insbnkame":[
{type: "string", required: true, message: "必输项"},
......
......@@ -81,7 +81,7 @@
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta" style="width:100%" >
<c-select
:code="codes.docsta"
:code="codes.docstabot"
style="width:100%"
disabled v-model="model.bcdgrp.rec.docsta" placeholder="请输入Document Set Status"></c-select>
</el-form-item>
......@@ -154,7 +154,7 @@
<c-col :span="24">
<el-form-item label="SWIFT Advice Type" prop="advtyp">
<c-select
:code="codes.advtyp"
:code="codes.advtyp1"
v-model="model.advtyp" style="width:100%" placeholder="请选择SWIFT Advice Type">
</c-select>
</el-form-item>
......
......@@ -47,7 +47,9 @@
</c-col>
<c-col :span="12">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
<c-select
:code="codes.avbby"
disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
</c-select>
</el-form-item>
</c-col>
......@@ -80,7 +82,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
<c-select
disabled
:code="codes.lcrtyp"
v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
</c-select>
</el-form-item>
</c-col>
......
......@@ -362,10 +362,17 @@ export default {
"model.brdgrp.rec.advtyp":{
immediate:true,
handler(){
if(this.model.brdgrp.rec.advtyp == '750' || this.model.brdgrp.rec.advtyp == 'OTH'){
if(this.model.brdgrp.rec.advtyp == '750' ){
this.model.brdgrp.rec.advdat = ' '
}else if(this.model.brdgrp.rec.advtyp == '754' || this.model.brdgrp.rec.advtyp == 'OTH'){
}else if(this.model.brdgrp.rec.advtyp == '754'){
this.model.brdgrp.rec.disdat = ' '
// this.model.brdgrp.blk.docdisflg= ""
// this.model.brdgrp.blk.docdis= ''
}else if( this.model.brdgrp.rec.advtyp == 'OTH'){
this.model.brdgrp.rec.advdat = ' '
this.model.brdgrp.rec.disdat = ' '
// this.model.brdgrp.blk.docdisflg= ""
// this.model.brdgrp.blk.docdis= ''
}
}
}
......
......@@ -155,7 +155,8 @@ export default {
return {};
},
methods: { ...Event },
created: function() {}
created: function() {},
};
</script>
<style>
......
......@@ -48,7 +48,10 @@
<c-col :span="24">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
<c-select
disabled
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select>
</el-form-item>
</c-col>
......@@ -88,7 +91,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
<c-select
disabled
:code="codes.lcrtyp"
v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
</c-select>
</el-form-item>
</c-col>
......
......@@ -75,7 +75,10 @@
<c-col :span="24">
<el-form-item label="Amount Specification" prop="trnmod.swiadd.nomspc">
<c-select disabled v-model="model.trnmod.swiadd.nomspc" style="width:100%" placeholder="请选择金额说明">
<c-select
disabled
:code="codes.nomspc"
v-model="model.trnmod.swiadd.nomspc" style="width:100%" placeholder="请选择金额说明">
</c-select>
</el-form-item>
</c-col>
......
......@@ -3,7 +3,12 @@
<el-col :span="11">
<c-col :span="24">
<el-form-item label="Available with" prop="lidgrp.rec.avbwth">
<c-select disabled v-model="model.lidgrp.rec.avbwth" style="width:100%" placeholder="请选择Available with">
<c-select
disabled
:code="codes.avbwth"
v-model="model.lidgrp.rec.avbwth"
style="width:100%"
placeholder="请选择Available with">
</c-select>
</el-form-item>
</c-col>
......@@ -42,20 +47,27 @@
</c-col>
<c-col :span="24">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled
<c-select
disabled
:rows="4"
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Deferred Payment Details" prop="lidgrp.blk.defdet">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入Deferred Payment Details" ></c-input>
<c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入Deferred Payment Details" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drafts at" prop="lidgrp.blk.dftat">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入Drafts at" ></c-input>
<c-input
:rows="4"
disabled type="textarea" v-model="model.lidgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入Drafts at" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -130,7 +142,10 @@
<c-col :span="24">
<el-form-item label="Presentation Period" prop="lidgrp.blk.preper">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入Presentation Period" ></c-input>
<c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入Presentation Period" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -138,24 +153,33 @@
</c-col>
<c-col :span="24">
<el-form-item label="Details of Charges" prop="lidgrp.blk.feetxt">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="315" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Charges Condition" prop="lidgrp.rec.chato">
<c-select disabled v-model="model.lidgrp.rec.chato" style="width:100%" placeholder="请选择Drafts at">
<c-select disabled
:code="codes.chato"
v-model="model.lidgrp.rec.chato" style="width:100%" placeholder="请选择Drafts at">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Country or region Code" prop="lidgrp.rec.stacty">
<c-select disabled v-model="model.lidgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country">
<c-select
disabled
:code="codes.stacty"
v-model="model.lidgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Mixed Payment Details" prop="lidgrp.blk.mixdet">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.mixdet" maxlength="35" show-word-limit placeholder="请输入Mixed Payment Details" ></c-input>
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.mixdet" maxlength="35" show-word-limit placeholder="请输入Mixed Payment Details" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -165,7 +189,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="Shipment Period" prop="lidgrp.blk.shpper">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="65" show-word-limit placeholder="请输入Shipment Period" ></c-input>
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="65" show-word-limit placeholder="请输入Shipment Period" ></c-input>
</el-form-item>
</c-col>
</el-col>
......
......@@ -29,7 +29,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
<c-select
:code="codes.lcrtyp"
disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
</c-select>
</el-form-item>
</c-col>
......@@ -70,7 +72,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="Amount Specification" prop="lidgrp.rec.nomspc">
<c-select disabled v-model="model.lidgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification">
<c-select
:code="codes.nomspc"
disabled v-model="model.lidgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification">
</c-select>
</el-form-item>
</c-col>
......@@ -153,13 +157,17 @@
</c-col>
<c-col :span="12">
<el-form-item label="Confirm.Instructions" prop="lidgrp.rec.cnfdet">
<c-select disabled v-model="model.lidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instructions">
<c-select
:code="codes.cnfdet"
disabled v-model="model.lidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instructions">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Mortgage Flag" prop="lidgrp.rec.guaflg">
<c-select disabled v-model="model.lidgrp.rec.guaflg" style="width:100%" placeholder="请选择Mortgage Flag">
<c-select
:code="codes.guaflg"
disabled v-model="model.lidgrp.rec.guaflg" style="width:100%" placeholder="请选择Mortgage Flag">
</c-select>
</el-form-item>
</c-col>
......@@ -213,7 +221,7 @@
<c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.apl.pts.adrblk">
<c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
<c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.apl.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -248,7 +256,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.adv.pts.adrblk">
<c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.adv.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
<c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.adv.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......
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