@@ -260,9 +260,9 @@
工装夹具
- 新增
+ 新增
- 工装夹具清单
+
@@ -285,9 +285,9 @@ import MachinerySelectSingle from "@/components/machinerySelect/single.vue";
import {addWorkstationmachine} from "@/api/mes/md/workstationmachine";
//人力资源选择与保存
-
//工装夹具资源选择与保存
-
+import WorkStationTool from "./components/tool";
+import {addWorkstationtool} from "@/api/mes/md/workstationtool";
import {listAllProcess} from "@/api/mes/pro/process";
import {genCode} from "@/api/system/autocode/rule";
@@ -295,7 +295,7 @@ import { listAllWorkshop } from "@/api/mes/md/workshop";
export default {
name: "Workstation",
dicts: ['sys_yes_no'],
- components: {WorkStationMachine,MachinerySelectSingle},
+ components: {WorkStationMachine,MachinerySelectSingle,WorkStationTool},
data() {
return {
//自动生成编码
@@ -516,6 +516,11 @@ export default {
this.$refs.machineryList.getList();
this.loading = false;
});
+ },
+
+ //工装夹具资源选择
+ handleToolTypeAdd(){
+ this.$refs.toolList.handleAdd();
}
}
};