Ver Fonte

5号国日报

yanghao há 6 dias atrás
pai
commit
39cb225418

+ 28 - 10
src/views/pms/constructionDailyReport/components/report-config.ts

@@ -110,28 +110,40 @@ export const formSections: ConstructionDailyReportSection[] = [
   {
   {
     title: '生产数据',
     title: '生产数据',
     fields: [
     fields: [
-      { prop: 'mainDeviceNum', label: '主设备数量', type: 'number' },
-      { prop: 'wokDeviceNum', label: '作业泵车数量', type: 'number' },
-      { prop: 'fiveStatusLabel', label: '队伍状态' },
+      {
+        prop: 'mainDeviceNum',
+        label: '主设备数量',
+        type: 'number',
+
+        editableInEdit: true
+      },
+      {
+        prop: 'wokDeviceNum',
+        label: '作业泵车数量',
+        type: 'number',
+        // precision: 2,
+        editableInEdit: true
+      },
+      { prop: 'fiveStatusLabel', label: '队伍状态', editableInEdit: true },
       {
       {
         prop: 'dailyWorkingLayers',
         prop: 'dailyWorkingLayers',
         label: '当日主压层数',
         label: '当日主压层数',
         type: 'number',
         type: 'number',
-        precision: 2,
+        // precision: 2,
         editableInEdit: true
         editableInEdit: true
       },
       },
       {
       {
         prop: 'dailySandVolume',
         prop: 'dailySandVolume',
         label: '当日加砂量(吨)',
         label: '当日加砂量(吨)',
         type: 'number',
         type: 'number',
-        precision: 2,
+
         editableInEdit: true
         editableInEdit: true
       },
       },
       {
       {
         prop: 'dailyLiquidVolume',
         prop: 'dailyLiquidVolume',
         label: '当日注液量(m³)',
         label: '当日注液量(m³)',
         type: 'number',
         type: 'number',
-        precision: 2,
+
         editableInEdit: true
         editableInEdit: true
       },
       },
       { prop: 'jingshu', label: '当月作业井数', type: 'number' },
       { prop: 'jingshu', label: '当月作业井数', type: 'number' },
@@ -140,17 +152,17 @@ export const formSections: ConstructionDailyReportSection[] = [
         prop: 'dailyFuel',
         prop: 'dailyFuel',
         label: '当日油耗(L)',
         label: '当日油耗(L)',
         type: 'number',
         type: 'number',
-        precision: 2,
+
         editableInEdit: true
         editableInEdit: true
       },
       },
       {
       {
         prop: 'nonProductionTime',
         prop: 'nonProductionTime',
         label: '当日非生产时间',
         label: '当日非生产时间',
         type: 'number',
         type: 'number',
-        precision: 2,
+
         editableInEdit: true
         editableInEdit: true
       },
       },
-      { prop: 'singleWellWorkload', label: '单井工作量' },
+      { prop: 'singleWellWorkload', label: '单井工作量', editableInEdit: true },
       { prop: 'planWorkingLayers', label: '本月计划层数', type: 'number', precision: 2 }
       { prop: 'planWorkingLayers', label: '本月计划层数', type: 'number', precision: 2 }
     ]
     ]
   },
   },
@@ -164,7 +176,13 @@ export const formSections: ConstructionDailyReportSection[] = [
         span: 2,
         span: 2,
         editableInEdit: true
         editableInEdit: true
       },
       },
-      { prop: 'productionStatus', label: '施工动态', type: 'textarea', span: 2 },
+      {
+        prop: 'productionStatus',
+        label: '施工动态',
+        type: 'textarea',
+        span: 2,
+        editableInEdit: true
+      },
       { prop: 'weather', label: '天气' },
       { prop: 'weather', label: '天气' },
       { prop: 'temperature', label: '气温(℃)' }
       { prop: 'temperature', label: '气温(℃)' }
     ]
     ]