Commit 6f8c3e51 by lianyang

letamc交易页面修改及事件完善

parent 281765b5
...@@ -16,7 +16,7 @@ export default { ...@@ -16,7 +16,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"ledgrp.cbs.nom1.amt":[ "ledgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", 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位" }
], ],
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"ledgrp.cbs.opn1.amt":[ "ledgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", 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位" }
], ],
...@@ -86,13 +86,13 @@ export default { ...@@ -86,13 +86,13 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"ledgrp.cbs.cnf.amt":[ "ledgrp.cbs.cnf.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项",trigger:"blur"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位",trigger:"blur"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"ledgrp.rec.partcon":[ "ledgrp.rec.partcon":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项",trigger:"blur"},
{max: 5,message:"长度不能超过5"} {max: 6,message:"长度不能超过6",trigger:"blur"}
], ],
"reqdat":[ "reqdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
...@@ -148,13 +148,6 @@ export default { ...@@ -148,13 +148,6 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"ledgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.ben.pts.adrblk":[ "ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
...@@ -164,13 +157,13 @@ export default { ...@@ -164,13 +157,13 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"ledgrp.rec.nomtop":[ // "ledgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"} // {max: 2,message:"长度不能超过2"}
], // ],
"ledgrp.rec.nomton":[ "ledgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"} {type: "number",max: 99,message:"长度不能超过99"}
], ],
"ledgrp.ben.adrelc":[ "ledgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -181,7 +174,7 @@ export default { ...@@ -181,7 +174,7 @@ export default {
"ledgrp.cbs.max.amt":[ "ledgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", 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位" }
], ],
...@@ -472,13 +465,13 @@ export default { ...@@ -472,13 +465,13 @@ export default {
"ledgrp.cbs.max2.amt":[ "ledgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", 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位" }
], ],
"ledgrp.cbs.opn2.amt":[ "ledgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", 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位" }
], ],
......
...@@ -31,6 +31,7 @@ import Brtset from "./Brtset" ...@@ -31,6 +31,7 @@ import Brtset from "./Brtset"
import Letdrv from "./Letdrv" import Letdrv from "./Letdrv"
import Letsel from "./Letsel" import Letsel from "./Letsel"
import Letopn from "./Letopn" import Letopn from "./Letopn"
import Letamc from "./Letamc"
import Letame from "./Letame" import Letame from "./Letame"
import Letrsv from './Letrsv' import Letrsv from './Letrsv'
import Infled from './Infled' import Infled from './Infled'
...@@ -242,6 +243,7 @@ const BusRouter = [ ...@@ -242,6 +243,7 @@ const BusRouter = [
{ path: 'infpta', component: Infpta, name: 'Infpta', meta: { title: 'Infpta' } }, { path: 'infpta', component: Infpta, name: 'Infpta', meta: { title: 'Infpta' } },
{ path: 'letsel', component: Letsel, name: 'Letsel', meta: { title: '出口信用证查询' } }, { path: 'letsel', component: Letsel, name: 'Letsel', meta: { title: '出口信用证查询' } },
{ path: 'letopn', component: Letopn, name: 'Letopn', meta: { title: '出口信用证通知' } }, { path: 'letopn', component: Letopn, name: 'Letopn', meta: { title: '出口信用证通知' } },
{ path: 'letamc', component: Letamc, name: 'Letamc', meta: { title: '出口信用证保兑' } },
{ path: 'letame', component: Letame, name: 'Letame', meta: { title: '出口信用证修改' } }, { path: 'letame', component: Letame, name: 'Letame', meta: { title: '出口信用证修改' } },
{ path: 'letrsv', component: Letrsv, name: 'Letrsv', meta: { title: '出口信用证补通知' } }, { path: 'letrsv', component: Letrsv, name: 'Letrsv', meta: { title: '出口信用证补通知' } },
{ path: 'letdrv', component: Letdrv, name: 'Letdrv', meta: { title: '出口信用证出口收单' } }, { path: 'letdrv', component: Letdrv, name: 'Letdrv', meta: { title: '出口信用证出口收单' } },
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <!-- ====================左边======================= -->
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.cur"> <c-col :span="11">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount"> <c-col :span="13">
</c-select> <el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.cur">
</el-form-item> <c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount" disabled>
</c-col> </c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"
@keyup.enter.native="
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)"></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="13">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.amt"> <el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"></c-input> <c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount" disabled>
</el-form-item> </c-select>
</c-col> </el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn2.amt">
<c-input v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur"> <el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount"> <c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="140" show-word-limit
</c-select> placeholder="请输入Covered" rows="4"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.amt">
<c-input v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="35" show-word-limit
placeholder="请输入Covered"></c-input>
</el-form-item>
</c-col> </c-col>
</div> </div>
</template> </template>
......
<template> <template>
<div class="eibs-tab">
<c-row> <c-row>
<!-- =================顶部====================== --> <!-- =================顶部====================== -->
<c-col :span="24"> <c-col :span="24">
...@@ -78,13 +79,15 @@ ...@@ -78,13 +79,15 @@
<c-col :span="13"> <c-col :span="13">
<c-form-item label="金额浮动 +/-" prop="ledgrp.rec.nomtop"> <c-form-item label="金额浮动 +/-" prop="ledgrp.rec.nomtop">
<c-input v-model="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%" <c-input v-model="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"></c-input> placeholder="请输入Amount Tolerance - Positive"
class="m-input-currency"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton"> <el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input v-model="model.ledgrp.rec.nomton" maxlength="2" style="width: 100%" <c-input v-model="model.ledgrp.rec.nomton" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"></c-input> placeholder="请输入Amount Tolerance - Negative"
class="m-input-currency"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="4"> <!-- <c-col :span="4">
...@@ -120,7 +123,8 @@ ...@@ -120,7 +123,8 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt">
<c-input disabled v-model="model.ledgrp.cbs.max.amt" placeholder="请输入最大金额"></c-input> <c-input disabled v-model="model.ledgrp.cbs.max.amt" placeholder="请输入最大金额"
class="m-input-currency"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -282,6 +286,7 @@ ...@@ -282,6 +286,7 @@
</c-col> </c-col>
</c-row> </c-row>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
...@@ -308,7 +313,7 @@ export default { ...@@ -308,7 +313,7 @@ export default {
} }
}); });
}, },
onSeainf() { }, onExtkey() { }, onDetpButgetref() { }, onBenpDet() { }, onIsspDet() { }, onAplpDet() { } }, },
created: function () { }, created: function () { },
}; };
</script> </script>
......
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