装备增加校验日期,校验周期

This commit is contained in:
liang.chao 2024-12-05 16:23:04 +08:00
parent ff0ac16157
commit 87f358430c
1 changed files with 29 additions and 0 deletions

View File

@ -139,6 +139,8 @@ const equipmentDeployment = () => {
person: '',
personPhone: '',
deviceWeight: '',
checkDate: '',
checkCycle: '',
}
mainFileList.value = []
detailsFileList.value = []
@ -345,6 +347,8 @@ const equipmentDeploymentParams: any = ref({
person: '',
personPhone: '',
deviceWeight: '',
checkDate: '',
checkCycle: '',
})
//
const countDisabled = ref(false)
@ -1072,6 +1076,31 @@ const handleRemove = (list: any, index: Number) => {
/>
</el-form-item>
</el-row>
<el-row>
<el-form-item label="校验日期:" prop="checkDate">
<el-date-picker
v-model="equipmentDeploymentParams.checkDate"
placeholder="请选择校验日期"
value-format="YYYY-MM-DD"
type="date"
style="width: 350px"
>
</el-date-picker>
</el-form-item>
<el-form-item label="校验周期:" prop="checkCycle">
<el-input
@input="
(v) =>
(equipmentDeploymentParams.checkCycle = v.replace(/[^\d.]/g, ''))
"
v-model="equipmentDeploymentParams.checkCycle"
placeholder="请输入校验周期(数字)"
clearable
maxlength="20"
style="width: 350px"
/>
</el-form-item>
</el-row>
<el-row>
<el-form-item label="整机重量(KG)">
<el-input