guarantee-lsq преди 2 години
родител
ревизия
c597943e6f
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 1
      src/views/check/checkjob/modules/DetailStandardCheckJob.vue
  2. 1 0
      src/views/check/checkstandard/modules/BaseFormInsert.vue

+ 1 - 1
src/views/check/checkjob/modules/DetailStandardCheckJob.vue

@@ -268,7 +268,7 @@ export default {
     },
     handleGenerate (record) {
       const modal = this.$refs.baseModalInsert
-      modal.base(null, record.id)
+      modal.base(null, record.standardId)
     },
     handleCancel () {
       this.visible = false

+ 1 - 0
src/views/check/checkstandard/modules/BaseFormInsert.vue

@@ -70,6 +70,7 @@ export default {
       uploadUrl: uploadUrl,
       userList: {},
       editingKey: '',
+      model: {},
       headers: {
         Authorization: 'Bearer ' + Vue.ls.get(ACCESS_TOKEN)
       },