|
|
@@ -799,7 +799,6 @@
|
|
|
'categoryLevelId',
|
|
|
this.$route.query.categoryLevelId
|
|
|
);
|
|
|
-
|
|
|
this.$set(this.form, 'isUpdate', this.$route.query.isUpdate);
|
|
|
|
|
|
this.isUpdate = this.$route.query.isUpdate;
|
|
|
@@ -985,6 +984,8 @@
|
|
|
},
|
|
|
async _getDetails() {
|
|
|
const data = await getDetails(this.$route.query.id);
|
|
|
+ this.isUpdate = this.$route.query.isUpdate;
|
|
|
+ this.$set(this.form, 'isUpdate', this.$route.query.isUpdate);
|
|
|
|
|
|
const info = deepClone(data);
|
|
|
info.category.produceType = info.category.produceType[0];
|