feat: 切换采集工位

20240912_adapter
chenhc 9 months ago
parent af03500680
commit ce705e4cb0

@ -490,6 +490,8 @@ export default {
let newQuery = {...this.$route.query}; let newQuery = {...this.$route.query};
delete newQuery.billNo; delete newQuery.billNo;
newQuery.workplaceId = val newQuery.workplaceId = val
delete newQuery.workPlaceClass;
newQuery.workPlaceClass = info.workPlaceClass
this.$router.push({query: newQuery, path: this.$route.path}); this.$router.push({query: newQuery, path: this.$route.path});
this.formData.workplaceName = info.workplaceName; this.formData.workplaceName = info.workplaceName;
this.editableTabs = [] this.editableTabs = []
@ -500,6 +502,7 @@ export default {
}); });
this.selectWorkplaceClosrrButDisabled = false this.selectWorkplaceClosrrButDisabled = false
this.selectWorkplaceeDisabled = false this.selectWorkplaceeDisabled = false
location.reload();
}, },
parentMethod(data) { parentMethod(data) {
const foundTab = this.findAllTabByName(data) const foundTab = this.findAllTabByName(data)

Loading…
Cancel
Save