装备增加校验日期,校验周期
This commit is contained in:
		
							parent
							
								
									ff0ac16157
								
							
						
					
					
						commit
						87f358430c
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue