whj 2 жил өмнө
parent
commit
9228a25336

+ 15 - 6
src/views/repair/application-form/modules/TicketForm.vue

@@ -107,6 +107,12 @@
             <td colspan="3">特殊作业类型</td>
             <td colspan="12"> {{ value4.map(item=>repairTypeMap[item]).join() }}</td>
           </tr>
+          <tr>
+            <td colspan="3">报修类型</td>
+            <td colspan="12">{{ repairFormTypeMap[this.model.repairFormType] }}</td>
+            <td colspan="3">设备名称</td>
+            <td colspan="12"> {{ this.model.sbName }}</td>
+          </tr>
           <!-- <tr>
             <td colspan="3">工作优选权</td>
             <td colspan="27">
@@ -239,11 +245,11 @@
           </tr> -->
           <tr>
             <td colspan="3">设备位号</td>
-            <td colspan="7">{{ this.model.sbNo }}</td>
-            <td colspan="3">设备名称</td>
-            <td colspan="7"> {{ this.model.sbName }} </td>
+            <td colspan="12">{{ this.model.sbNo }}</td>
+            <!-- <td colspan="3">设备名称</td>
+            <td colspan="7"> {{ this.model.sbName }} </td> -->
             <td colspan="3">车间具体位置</td>
-            <td colspan="7">{{ this.model.sbLocation }} </td>
+            <td colspan="12">{{ this.model.sbLocation }} </td>
           </tr>
           <tr >
             <td colspan="29" >
@@ -441,16 +447,19 @@ export default {
         'repairEndTime': null,
         'planStartTime': null,
         'planEndTime': null,
-        'repairMin': null
+        'repairMin': null,
+        'repairFormType': null
       },
       trustMap: {},
       professorMap: {},
       repairTypeMap: {},
-      levelMap: {}
+      levelMap: {},
+      repairFormTypeMap: {}
 
     }
   },
   created () {
+    this.repairFormTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_FORM_TYPE)
     this.trustMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.TRUST_DEPT_TYPE)
     this.professorMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_PROFESSOR)
     this.repairTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_TYPE)