guarantee-lsq 2 жил өмнө
parent
commit
64c7a9260a

+ 1 - 0
src/views/repair/application-form/RepairForm.vue

@@ -463,6 +463,7 @@ export default {
       params.applyTime = record.applyTime
       params.userId = record.userId
       params.no = record.no
+      params.category = record.category
       receiveRepair(params).then(() => {
         this.$message.info('接单成功')
         this.handleOk()

+ 1 - 0
src/views/repair/application-form/modules/DetailRepair.vue

@@ -1015,6 +1015,7 @@ export default {
       params.applyTime = this.model.applyTime
       params.userId = this.model.userId
       params.no = this.model.no
+      params.category = this.model.category
       receiveRepair(params).then(() => {
         this.$message.info('接单成功')
         this.handleOk()

+ 8 - 4
src/views/repair/application-form/modules/TicketForm.vue

@@ -87,7 +87,7 @@
           </tr>
           <tr>
             <td colspan="3">生产装置</td>
-            <td colspan="12"></td>
+            <td colspan="12">{{ this.model.sbPositionName }}</td>
             <td colspan="3">委托时间</td>
             <td colspan="12"> {{ this.model.callTime }}</td>
           </tr>
@@ -369,7 +369,7 @@ export default {
     return {
       visible: false,
       disabled: false,
-      value1: 1,
+      value1: null,
       value2: [],
       value3: null,
       value4: [],
@@ -392,7 +392,9 @@ export default {
         'sbPositionName': null,
         'requireHours': null,
         'repairProfessor': null,
-        'repairType': null
+        'repairType': null,
+        'trustDept': null,
+        'level': null
       }
     }
   },
@@ -403,7 +405,9 @@ export default {
     base (record) {
       this.visible = true
       this.model = record
-      this.value2 = [this.model.repairProfessor]
+      this.value1 = this.model.trustDept
+      this.value2 = this.model.repairProfessor
+      this.value3 = this.model.level
       this.value4 = this.model.repairType
       this.value5 = this.model.content
     },