gaoshp
2024-11-03 3e091224ab26252d8624b42b461ba773ee8bee0f
src/views/console/product-process/process-route/add-craft-version.vue
@@ -136,7 +136,7 @@
               groupCategory: 1,
               groupType: "group_workstation"
            }
            this.$HTTP.post(`/api/blade-cps/group/groupWorkstation`,obj).then(res=> {
            this.$HTTP.post(`/api/smis/group/groupWorkstation`,obj).then(res=> {
               if(res.code == 200) {
                  var tree = [];
                  var children = [];
@@ -159,7 +159,7 @@
            obj.id = this.$route.query.craftId;
            this.$refs.dialogForm0.validate(async (valid) => {
               if (valid) {
                  this.$HTTP.put(`/api/blade-cps/production-craft-version/update`,obj).then(res=> {
                  this.$HTTP.put(`/api/smis/production-craft-version/update`,obj).then(res=> {
                     if(res.code == 200) {
                        this.active = 1;
                        //this.getVersionDetail(res.data.id);
@@ -173,7 +173,7 @@
            })
         },
         getVersionDetail(id) {
            this.$HTTP.get(`/api/blade-cps/production-craft-version/detail/${id}`).then(res=> {
            this.$HTTP.get(`/api/smis/production-craft-version/detail/${id}`).then(res=> {
               if(res.code == 200) {
                  this.versionDetail = res.data;
               }else {
@@ -196,7 +196,7 @@
            }
         },
         getDetail(id) {
            this.$HTTP.get(`/api/blade-cps/craft-routing/detail?id=${this.$route.query.id}`).then(res=> {
            this.$HTTP.get(`/api/smis/craft-routing/detail?id=${this.$route.query.id}`).then(res=> {
               if(res.code == 200) {
                  this.detail = res.data;
                  res.data.dtos.forEach(item=> {