Commit 07ff6688 by lianyang

金额靠左显示加class="input-currency-left"。litopn的承兑金额限制微调

parent fba69aeb
...@@ -218,4 +218,7 @@ export default { ...@@ -218,4 +218,7 @@ export default {
.el-input.m-input-currency .el-input__inner { .el-input.m-input-currency .el-input__inner {
text-align: right; text-align: right;
} }
.input-currency-left.el-input.m-input-currency .el-input__inner {
text-align: left;
}
</style> </style>
\ No newline at end of file
...@@ -215,4 +215,8 @@ export default { ...@@ -215,4 +215,8 @@ export default {
.el-input.m-input-currency .el-input__inner { .el-input.m-input-currency .el-input__inner {
text-align: right; text-align: right;
} }
.input-currency-left.el-input.m-input-currency .el-input__inner {
text-align: left;
}
</style> </style>
\ No newline at end of file
...@@ -748,9 +748,9 @@ export default { ...@@ -748,9 +748,9 @@ export default {
], ],
"cnybop.cnylib.famt":[ "cnybop.cnylib.famt":[
{type: "number", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^-?\d+$)|(^\.\d{1,2}$)|(^-?\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"cnybop.cnylib.dexchangedate":[ "cnybop.cnylib.dexchangedate":[
......
...@@ -221,20 +221,21 @@ ...@@ -221,20 +221,21 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="金额" prop="cnybop.cnylib.famt"> <el-form-item label="金额" prop="cnybop.cnylib.famt">
<c-input <c-input-currency-min
v-model="model.cnybop.cnylib.famt" v-model="model.cnybop.cnylib.famt"
placeholder="请输入金额" placeholder="请输入金额"
></c-input> class="input-currency-left"
></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="承兑金额" prop="cnybop.fexchangeamt"> <el-form-item label="承兑金额" prop="cnybop.fexchangeamt">
<c-input <c-input-currency
v-model="model.cnybop.fexchangeamt" v-model="model.cnybop.fexchangeamt"
maxlength="20" maxlength="20"
placeholder="请输入承兑金额" placeholder="请输入承兑金额"
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </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