|
@@ -23,7 +23,11 @@ export default {
|
|
...useData(Column),
|
|
...useData(Column),
|
|
};
|
|
};
|
|
},
|
|
},
|
|
- computed: {},
|
|
|
|
|
|
+ computed: {
|
|
|
|
+ root: function () {
|
|
|
|
+ return this.$parent.$parent;
|
|
|
|
+ },
|
|
|
|
+ },
|
|
watch: {
|
|
watch: {
|
|
"params.puOrgName": watchPuOrgName(),
|
|
"params.puOrgName": watchPuOrgName(),
|
|
"params.priceApplyOrgs": watchPriceApplyOrgs(),
|
|
"params.priceApplyOrgs": watchPriceApplyOrgs(),
|
|
@@ -124,6 +128,9 @@ export default {
|
|
const params = { ...this.params };
|
|
const params = { ...this.params };
|
|
const { msg, code } = await SAVE(params);
|
|
const { msg, code } = await SAVE(params);
|
|
if (code === 200) {
|
|
if (code === 200) {
|
|
|
|
+ const { id } = this.params;
|
|
|
|
+ const { fetchItem } = this.root.$refs.SeeModel;
|
|
|
|
+ await fetchItem(id);
|
|
this.hide();
|
|
this.hide();
|
|
this.$emit("success");
|
|
this.$emit("success");
|
|
this.$notify.success(msg);
|
|
this.$notify.success(msg);
|