Commit 07ff6688 by lianyang

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

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