Commit d259906b by tianxinyu

创建融资页面字段检验问题修改

parent af4d1ba5
......@@ -1078,13 +1078,12 @@ export default {
"trtcre.oriamt":[
{type: "number", required: false, message: "必输项"},
{type:"number",max: 99999999999999.999,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max:17,message:"整数位不能超过14位"}
],
"trtcre.trdgrp.rec.pctfin":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
{max: 6,message:"长度不能超过6"}
],
"trtcre.trtmod.finmod.dinjdm":[
{type: "string", required: false, message: "必输项"},
......
......@@ -184,21 +184,21 @@
label-width="0"
prop="trtcre.oriamt"
>
<c-input
v-model.number="model.trtcre.oriamt"
<c-input-currency
v-model="model.trtcre.oriamt"
style="width: 100%"
placeholder="请输入融资金额"
></c-input>
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="5">
<c-fullbox>
<el-form-item prop="trtcre.trdgrp.rec.pctfin" label-width="0" style="margin-left: 5px">
<c-input
<c-input-currency
v-model="model.trtcre.trdgrp.rec.pctfin"
style="width: 80%"
></c-input
></c-input-currency
>%
</el-form-item>
</c-fullbox>
......@@ -228,20 +228,20 @@
label-width="0"
prop="trtcre.oriamt"
>
<c-input
<c-input-currency
v-model="model.trtcre.oriamt"
style="width: 100%"
placeholder="请输入融资金额"
></c-input>
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item prop="trtcre.trdgrp.rec.pctfin" label-width="0" style="margin-left: 5px">
<c-input
<c-input-currency
v-model="model.trtcre.trdgrp.rec.pctfin"
style="width: 80%"
></c-input
></c-input-currency
>%
</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