Commit c300dd67 by panziyi

letdav修改

parent 8d91f286
...@@ -40,12 +40,12 @@ export default { ...@@ -40,12 +40,12 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
// "ledgrp.cbs.opn1.amt":[ "ledgrp.cbs.opn1.amt":[
// {type: "string", 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位" }
// {pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ],
// ],
"bedgrp.apl.pts.nam":[ "bedgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
{ required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"bedgrp.rec.disdat":[ "bedgrp.rec.disdat":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{ required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"betp.oth.pts.ref":[ "betp.oth.pts.ref":[
......
...@@ -29,11 +29,11 @@ export default class Letdav { ...@@ -29,11 +29,11 @@ export default class Letdav {
cbs: { cbs: {
opn1: { opn1: {
cur: '', cur: '',
amt: '' amt: '0.00'
}, },
nom1: { nom1: {
cur: '', cur: '',
amt: '0.0' amt: '0.00'
} }
}, },
avbnam: '' avbnam: ''
......
...@@ -85,13 +85,13 @@ ...@@ -85,13 +85,13 @@
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt"> <el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input <c-input-currency
v-model="model.ledgrp.cbs.opn1.amt" v-model="model.ledgrp.cbs.opn1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
class="m-input-currency" class="m-input-currency"
placeholder="请输入金额" placeholder="请输入金额"
disabled disabled
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
......
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input <c-input-currency
v-model="model.bedgrp.cbs.max.amt" v-model="model.bedgrp.cbs.max.amt"
placeholder="请输入单据金额" placeholder="请输入单据金额"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -43,12 +43,12 @@ ...@@ -43,12 +43,12 @@
<!-- 附加金额 --> <!-- 附加金额 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max2.amt"> <el-form-item label="" label-width="5px" prop="bedgrp.cbs.max2.amt">
<c-input <c-input-currency
v-model="model.bedgrp.cbs.max2.amt" v-model="model.bedgrp.cbs.max2.amt"
placeholder="请输入附加金额" placeholder="请输入附加金额"
class="m-input-currency" class="m-input-currency"
disabled disabled
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -95,10 +95,10 @@ ...@@ -95,10 +95,10 @@
<!-- Total Amount to be Paid --> <!-- Total Amount to be Paid -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.rec.totamt"> <el-form-item label="" label-width="5px" prop="bedgrp.rec.totamt">
<c-input <c-input-currency
v-model="model.bedgrp.rec.totamt" v-model="model.bedgrp.rec.totamt"
placeholder="请输入金额" placeholder="请输入金额"
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input <c-input-currency
v-model="model.bedgrp.cbs.max.amt" v-model="model.bedgrp.cbs.max.amt"
placeholder="请输入单据金额" placeholder="请输入单据金额"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -42,12 +42,12 @@ ...@@ -42,12 +42,12 @@
<!-- 附加金额 --> <!-- 附加金额 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max2.amt"> <el-form-item label="" label-width="5px" prop="bedgrp.cbs.max2.amt">
<c-input <c-input-currency
v-model="model.bedgrp.cbs.max2.amt" v-model="model.bedgrp.cbs.max2.amt"
placeholder="请输入附加金额" placeholder="请输入附加金额"
class="m-input-currency" class="m-input-currency"
disabled disabled
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -16,10 +16,10 @@ export default { ...@@ -16,10 +16,10 @@ export default {
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
], ],
"lidgrp.cbs.nom1.amt":[ "lidgrp.cbs.nom1.amt": [
{type: "string", 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位" }
], ],
"lidgrp.apl.pts.nam": [ "lidgrp.apl.pts.nam": [
...@@ -27,10 +27,10 @@ export default { ...@@ -27,10 +27,10 @@ export default {
{ max: 40, message: "长度不能超过40" } { max: 40, message: "长度不能超过40" }
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt": [
{type: "string", 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位" }
], ],
"lidgrp.avbnam": [ "lidgrp.avbnam": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
...@@ -169,14 +169,14 @@ export default { ...@@ -169,14 +169,14 @@ export default {
// {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位" }
// ], // ],
// "trnmod.swiadd.newnomtop":[ "trnmod.swiadd.newnomtop": [
// {type: "string", required: false, message: "必输项"}, { type: "string", required: false, message: "必输项" },
// {max: 2,message:"长度不能超过2"} { max: 2, message: "长度不能超过2" }
// ], ],
// "trnmod.swiadd.newnomton":[ "trnmod.swiadd.newnomton": [
// {type: "string", required: false, message: "必输项"}, { type: "string", required: false, message: "必输项" },
// {max: 2,message:"长度不能超过2"} { max: 2, message: "长度不能超过2" }
// ], ],
"litamep.maxcur": [ "litamep.maxcur": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" } { max: 3, message: "长度不能超过3" }
...@@ -274,7 +274,7 @@ export default { ...@@ -274,7 +274,7 @@ export default {
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
], ],
"litp.usr.extkey": [ "litp.usr.extkey": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 8, message: "长度不能超过8" } { max: 8, message: "长度不能超过8" }
], ],
"litp.usrget.sdamod.seainf": [ "litp.usrget.sdamod.seainf": [
......
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