|
@@ -574,6 +574,9 @@ export default {
|
|
|
const info = this.dataForm.id ? '修改成功' : '新增成功';
|
|
const info = this.dataForm.id ? '修改成功' : '新增成功';
|
|
|
this.$message.success(info);
|
|
this.$message.success(info);
|
|
|
this.visible = false;
|
|
this.visible = false;
|
|
|
|
|
+
|
|
|
|
|
+ this.templateCategoryList = []; // 必加:清空物品列表
|
|
|
|
|
+ this.list = []; // 可选:若需清空质检项列表,可添加这行
|
|
|
// this.updateVisible(false);
|
|
// this.updateVisible(false);
|
|
|
this.$emit('refreshDataList');
|
|
this.$emit('refreshDataList');
|
|
|
})
|
|
})
|