bug修复

This commit is contained in:
bb_pan 2025-08-31 19:23:30 +08:00
parent 1dbabcd6dd
commit 9854c8a500
2 changed files with 25 additions and 14 deletions

View File

@ -264,7 +264,7 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="24">
<el-form-item label="附件"> <el-form-item label="附件">
<el-upload <el-upload
action="#" action="#"
@ -1339,6 +1339,7 @@ export default {
} }
::v-deep .el-upload-list--picture-card { ::v-deep .el-upload-list--picture-card {
display: flex; display: flex;
flex-wrap: wrap;
align-items: center; align-items: center;
} }
</style> </style>

View File

@ -313,7 +313,7 @@
v-model="form.typeName" v-model="form.typeName"
type="text" type="text"
placeholder="请输入规格型号" placeholder="请输入规格型号"
maxlength="10" maxlength="20"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -455,11 +455,12 @@
prop="leasePrice" prop="leasePrice"
label-width="140px" label-width="140px"
> >
<el-input <el-input-number
v-model="form.leasePrice" v-model="form.leasePrice"
placeholder="请输入" placeholder="请输入"
maxlength="20" maxlength="20"
type="number" :min="0" controls-position="right"
:min="0" :max="99999"
style="width: 100%" style="width: 100%"
/> />
</el-form-item> </el-form-item>
@ -471,10 +472,11 @@
prop="buyPrice" prop="buyPrice"
label-width="140px" label-width="140px"
> >
<el-input <el-input-number
v-model="form.buyPrice" v-model="form.buyPrice"
placeholder="请输入" placeholder="请输入"
type="number" :min="0" controls-position="right"
:min="0" :max="99999"
maxlength="20" maxlength="20"
style="width: 100%" style="width: 100%"
/> />
@ -500,11 +502,12 @@
prop="rentPrice" prop="rentPrice"
label-width="140px" label-width="140px"
> >
<el-input <el-input-number
v-model="form.rentPrice" v-model="form.rentPrice"
placeholder="请输入" placeholder="请输入"
maxlength="20" maxlength="20"
type="number" :min="0" controls-position="right"
:min="0" :max="99999"
style="width: 100%" style="width: 100%"
/> />
</el-form-item> </el-form-item>
@ -539,9 +542,10 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="检验周期(月)" prop="testCycle"> <el-form-item label="检验周期(月)" prop="testCycle">
<el-input <el-input-number
v-model="form.testCycle" v-model="form.testCycle"
type="number" :min="0" controls-position="right"
:min="0" :max="99999"
placeholder="请输入" placeholder="请输入"
maxlength="20" maxlength="20"
style="width: 100%" style="width: 100%"
@ -553,9 +557,10 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="抽检比例(%)" prop="samplingRatio"> <el-form-item label="抽检比例(%)" prop="samplingRatio">
<el-input <el-input-number
v-model="form.samplingRatio" v-model="form.samplingRatio"
type="number" :min="0" controls-position="right"
:min="0" :max="100"
placeholder="请输入" placeholder="请输入"
maxlength="20" maxlength="20"
style="width: 100%" style="width: 100%"
@ -594,9 +599,10 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="持荷时间(分)" prop="holdingTime"> <el-form-item label="持荷时间(分)" prop="holdingTime">
<el-input <el-input-number
v-model="form.holdingTime" v-model="form.holdingTime"
type="number" :min="0" controls-position="right"
:min="0" :max="99999"
placeholder="请输入" placeholder="请输入"
maxlength="20" maxlength="20"
style="width: 100%" style="width: 100%"
@ -1666,4 +1672,8 @@ export default {
} }
} }
} }
::v-deep .el-dialog .el-input__inner {
text-align: start !important;
}
</style> </style>