| | |
| | | fixturesChange(value) { |
| | | var row = this.$refs.fixturesFirstData.getCurrentNode(); |
| | | this.fixturesFirstData.groupName = row.name; |
| | | this.$HTTP.get(`/api/blade-cps/fixture/list?groupId=${value}`).then(res=> { |
| | | this.$HTTP.get(`/api/smis/fixture/list?groupId=${value}`).then(res=> { |
| | | if(res.code == 200) { |
| | | this.fixtureCodeList = res.data; |
| | | } |
| | |
| | | } |
| | | obj.meaMethod = meaMethodArray.join(","); |
| | | return; |
| | | this.$HTTP.post(`/api/blade-cps/production-craft-process/insert?versionId=${this.craftId}`,[obj]).then(res=> { |
| | | this.$HTTP.post(`/api/smis/production-craft-process/insert?versionId=${this.craftId}`,[obj]).then(res=> { |
| | | if(res.code == 200) { |
| | | this.$emit('success', obj); |
| | | this.resetAll(); |
| | |
| | | }) |
| | | }, |
| | | getNumberAndName() { //工序编号和名称 |
| | | this.$HTTP.get("/api/blade-cps/process/page?current=1&size=-1&status=1").then(res=> { |
| | | this.$HTTP.get("/api/smis/process/page?current=1&size=-1&status=1").then(res=> { |
| | | if(res.code == 200) { |
| | | this.processCodeList = res.data.records; |
| | | this.processNameList = res.data.records; |
| | |
| | | groupCategory: 1, |
| | | groupType: "group_fixture" |
| | | } |
| | | this.$HTTP.post("/api/blade-cps/tray/tooling-tree",obj).then(res=> { |
| | | this.$HTTP.post("/api/smis/tray/tooling-tree",obj).then(res=> { |
| | | if(res.code == 200) { |
| | | this.fixturesFirstTree = res.data; |
| | | } |
| | |
| | | |
| | | }, |
| | | setData(data) { |
| | | this.$HTTP.get(`/api/blade-cps/production-craft-process/get/${data.id}`).then(res=> { |
| | | this.$HTTP.get(`/api/smis/production-craft-process/get/${data.id}`).then(res=> { |
| | | if(res.code == 200) { |
| | | //for测量 |
| | | var meaMethodArray = []; |