bugs
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
			
		||||
 * @Author: zwq
 | 
			
		||||
 * @Date: 2021-11-18 14:16:25
 | 
			
		||||
 * @LastEditors: DY
 | 
			
		||||
 * @LastEditTime: 2024-02-27 10:33:31
 | 
			
		||||
 * @LastEditTime: 2024-02-28 19:52:13
 | 
			
		||||
 * @Description:
 | 
			
		||||
-->
 | 
			
		||||
<template>
 | 
			
		||||
@@ -22,7 +22,6 @@
 | 
			
		||||
				:rules="dataRule"
 | 
			
		||||
				ref="dataForm"
 | 
			
		||||
				@keyup.enter.native="dataFormSubmit()"
 | 
			
		||||
				label-width="100px"
 | 
			
		||||
				label-position="top">
 | 
			
		||||
				<el-row :gutter="20">
 | 
			
		||||
					<el-col :span="8">
 | 
			
		||||
@@ -62,19 +61,19 @@
 | 
			
		||||
						</el-form-item>
 | 
			
		||||
					</el-col>
 | 
			
		||||
					<el-col :span="8">
 | 
			
		||||
						<el-form-item label="保养频率" prop="maintenancePeriod">
 | 
			
		||||
						<el-form-item label="保养频率(天/次)" prop="maintenancePeriod">
 | 
			
		||||
							<el-input-number v-model="dataForm.maintenancePeriod" :min="0" controls-position="right" style="width: 100%" :disabled="isdetail" clearable placeholder="请输入保养频率" />
 | 
			
		||||
						</el-form-item>
 | 
			
		||||
					</el-col>
 | 
			
		||||
					<el-col :span="8">
 | 
			
		||||
						<el-form-item label="确认时限" prop="confirmTimeLimit">
 | 
			
		||||
						<el-form-item label="确认时限(h)" prop="confirmTimeLimit">
 | 
			
		||||
							<el-input-number v-model="dataForm.confirmTimeLimit" :min="0" controls-position="right" style="width: 100%" :disabled="isdetail" clearable placeholder="请输入单位平方数" />
 | 
			
		||||
						</el-form-item>
 | 
			
		||||
					</el-col>
 | 
			
		||||
				</el-row>
 | 
			
		||||
				<el-row :gutter="20">
 | 
			
		||||
					<el-col :span="8">
 | 
			
		||||
						<el-form-item label="保养时长" prop="maintainDuration">
 | 
			
		||||
						<el-form-item label="保养时长(h)" prop="maintainDuration">
 | 
			
		||||
							<el-input-number v-model="dataForm.maintainDuration" :min="0" controls-position="right" style="width: 100%" :disabled="isdetail" clearable placeholder="请输入保养时长" />
 | 
			
		||||
						</el-form-item>
 | 
			
		||||
					</el-col>
 | 
			
		||||
@@ -220,6 +219,12 @@ export default {
 | 
			
		||||
					// 获取计划详情
 | 
			
		||||
					this.urlOptions.infoURL({ id: this.dataForm.id }).then(response => {
 | 
			
		||||
            this.dataForm = response.data
 | 
			
		||||
						if (response.data?.maintainer) {
 | 
			
		||||
							this.dataForm.maintainer = response.data?.maintainer.split(',') || undefined
 | 
			
		||||
						} else {
 | 
			
		||||
							this.$set(this.dataForm, 'maintainer', undefined)
 | 
			
		||||
							this.dataForm.maintainer = undefined
 | 
			
		||||
						}
 | 
			
		||||
          });
 | 
			
		||||
					// 获取产品属性列表
 | 
			
		||||
					// this.getList();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user