|
@@ -328,6 +328,36 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
+ <!-- 故障情况 -->
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="故障情况" prop="malfunction">
|
|
|
+ <el-input
|
|
|
+ v-model="formData.malfunction"
|
|
|
+ type="textarea"
|
|
|
+ :rows="3"
|
|
|
+ placeholder="请输入故障情况"
|
|
|
+ :readonly="isReadonlyMode"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+ <!-- 故障误工H -->
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="故障误工H" prop="faultDowntime">
|
|
|
+ <el-input
|
|
|
+ v-model="formData.faultDowntime"
|
|
|
+ type="number"
|
|
|
+ :rows="3"
|
|
|
+ placeholder="请输入故障误工H"
|
|
|
+ :readonly="isReadonlyMode"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
<!-- 第六行:上传附件 -->
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
@@ -599,7 +629,8 @@ const formData = ref({
|
|
|
productionStatus: '', // 当日生产动态
|
|
|
nextPlan: '', // 下步工作计划
|
|
|
externalRental: '', // 外租设备
|
|
|
-
|
|
|
+ malfunction: '', // 故障情况
|
|
|
+ faultDowntime: '', // 故障误工
|
|
|
// 添加动态字段对象
|
|
|
dynamicFields: {} as Record<string, any>,
|
|
|
// 附件列表
|
|
@@ -1125,6 +1156,8 @@ const initFormData = (reportData: any) => {
|
|
|
productionStatus: reportData.productionStatus || '',
|
|
|
nextPlan: reportData.nextPlan || '',
|
|
|
externalRental: reportData.externalRental || '',
|
|
|
+ malfunction: reportData.malfunction || '',
|
|
|
+ faultDowntime: reportData.faultDowntime || '',
|
|
|
startTime: reportData.startTime || undefined,
|
|
|
endTime: reportData.endTime || undefined,
|
|
|
companyId: reportData.companyId || '',
|