Browse Source

维修优化

guarantee-lsq 2 years ago
parent
commit
cae48d9b35
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/repair/application-form/modules/BigRepairForm.vue

+ 3 - 1
src/views/repair/application-form/modules/BigRepairForm.vue

@@ -10,6 +10,7 @@
     <a-form :form="form">
       <a-form-item v-show="false" >
         <a-input v-decorator="['id']" type="hidden"/>
+        <a-input v-decorator="['category']" type="hidden"/>
       </a-form-item>
       <row-item>
         <a-form-item
@@ -61,7 +62,8 @@ export default {
       const { form: { setFieldsValue } } = this
       this.$nextTick(() => {
         setFieldsValue(Object.assign(pick(record, [
-          'id'
+          'id',
+          'category'
         ])))
       })
     },