Commit 0f88c36c by lianyang

litopn正金额保留两位小数,整数位不超15,改为c-input-currency

parent 32a418bd
...@@ -50,8 +50,8 @@ export default { ...@@ -50,8 +50,8 @@ export default {
"lidgrp.cbs.nom1.amt":[ "lidgrp.cbs.nom1.amt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"lidgrp.apl.pts.adrblk":[ "lidgrp.apl.pts.adrblk":[
...@@ -82,8 +82,8 @@ export default { ...@@ -82,8 +82,8 @@ export default {
"lidgrp.cbs.max.amt":[ "lidgrp.cbs.max.amt":[
{type: "string", required: false, message: ""}, {type: "string", required: false, message: ""},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"litp.advp.ptsget.sdamod.dadsnd":[ "litp.advp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -191,17 +191,17 @@ export default { ...@@ -191,17 +191,17 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
// "lidgrp.cbs.max2.amt":[ "lidgrp.cbs.max2.amt":[
// {type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
// // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
// ], ],
// "lidgrp.cbs.opn2.amt":[ "lidgrp.cbs.opn2.amt":[
// {type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
// // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
// ], ],
"lidgrp.blk.addamtcov":[ "lidgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
......
...@@ -26,11 +26,11 @@ ...@@ -26,11 +26,11 @@
label-width="20px" label-width="20px"
prop="lidgrp.cbs.max2.amt" prop="lidgrp.cbs.max2.amt"
> >
<c-input <c-input-currency
v-model="model.lidgrp.cbs.max2.amt" v-model="model.lidgrp.cbs.max2.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="0" placeholder="0"
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -53,12 +53,12 @@ ...@@ -53,12 +53,12 @@
label-width="20px" label-width="20px"
prop="lidgrp.cbs.opn2.amt" prop="lidgrp.cbs.opn2.amt"
> >
<c-input <c-input-currency
v-model="model.lidgrp.cbs.opn2.amt" v-model="model.lidgrp.cbs.opn2.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="0" placeholder="0"
disabled disabled
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -114,11 +114,11 @@ ...@@ -114,11 +114,11 @@
label-width="20px" label-width="20px"
prop="lidgrp.cbs.nom1.amt" prop="lidgrp.cbs.nom1.amt"
> >
<c-input <c-input-currency
v-model="model.lidgrp.cbs.nom1.amt" v-model="model.lidgrp.cbs.nom1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入金额" placeholder="请输入金额"
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -192,11 +192,11 @@ ...@@ -192,11 +192,11 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="5px" prop="lidgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="lidgrp.cbs.max.amt">
<c-input <c-input-currency
v-model="model.lidgrp.cbs.max.amt" v-model="model.lidgrp.cbs.max.amt"
disabled disabled
placeholder="请输入信用证最大金额" placeholder="请输入信用证最大金额"
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -357,7 +357,6 @@ ...@@ -357,7 +357,6 @@
prop="lidgrp.avb.pts.ref" prop="lidgrp.avb.pts.ref"
> >
<c-input <c-input
disabled
v-model="model.lidgrp.avb.pts.ref" v-model="model.lidgrp.avb.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入参考号" placeholder="请输入参考号"
...@@ -369,7 +368,6 @@ ...@@ -369,7 +368,6 @@
<el-form-item label="地址编码" prop="lidgrp.avb.pts.extkey"> <el-form-item label="地址编码" prop="lidgrp.avb.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input <c-input
disabled
v-model="model.lidgrp.avb.pts.extkey" v-model="model.lidgrp.avb.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入地址编码" placeholder="请输入地址编码"
......
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