Commit c753c9e5 by lianyang

Bdtdcr/Bdteus/Ditdck/Bdtdck/Ditdck信用证余额pattern包含负数

parent 1a511ca3
......@@ -21,7 +21,8 @@ export default {
"didgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{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位" }
],
"bdtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -21,7 +21,8 @@ export default {
"didgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{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位" }
],
"bdtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -32,7 +32,8 @@ export default {
"didgrp.cbs.opn1.amt":[
{required: false, message: "必输项", trigger: 'blur'},
{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位" }
],
"bddgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -97,7 +98,8 @@ export default {
"bddgrp.cbs.max.amt":[
{required: true, message: "必输项", trigger: 'blur'},
{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位" }
],
"bddgrp.rec.docprbrol": [
{ type: "string", required: true, message: "必输项" },
......@@ -188,7 +190,8 @@ export default {
"bddgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{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位" }
],
// "bddgrp.rec.rcvdat":[
// {type: "date", required: false, message: "输入正确的日期"}
......
......@@ -67,7 +67,7 @@
</c-col>
<c-col :span="13">
<el-form-item label-width="0" prop="bddgrp.cbs.max.amt">
<c-input :disabled="model.mhtyp == 'R'" v-model="model.bddgrp.cbs.max.amt" maxlength="3"
<c-input disabled v-model="model.bddgrp.cbs.max.amt"
placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
......@@ -80,7 +80,7 @@
</c-col>
<c-col :span="13">
<el-form-item label-width="0" prop="bddgrp.cbs.opn1.amt">
<c-input v-model="model.bddgrp.cbs.opn1.amt" maxlength="3" placeholder="请输入单据余额" disabled>
<c-input v-model="model.bddgrp.cbs.opn1.amt" placeholder="请输入单据余额" disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -153,7 +153,7 @@
</c-col>
<c-col :span="13">
<el-form-item label-width="0" prop="bddgrp.cbs.max.amt">
<c-input v-model="model.bddgrp.cbs.max.amt" maxlength="3" placeholder="请输入单据金额"
<c-input v-model="model.bddgrp.cbs.max.amt" placeholder="请输入单据金额"
:disabled="model.mhtyp == 'R'"></c-input>
</el-form-item>
</c-col>
......@@ -289,7 +289,7 @@
</c-col>
<c-col :span="13">
<el-form-item label-width="0" prop="didgrp.cbs.opn1.amt">
<c-input v-model="model.didgrp.cbs.opn1.amt" maxlength="3" placeholder="请输入信用证余额" disabled>
<c-input v-model="model.didgrp.cbs.opn1.amt" placeholder="请输入信用证余额" disabled>
</c-input>
</el-form-item>
</c-col>
......
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