工艺流程

This commit is contained in:
打豆豆 2024-04-22 09:34:00 +08:00
parent 98f41547ad
commit 8d51142e99
3 changed files with 17 additions and 9 deletions

View File

@ -456,7 +456,8 @@ import {
getRouteprocess, getRouteprocess,
delRouteprocess, delRouteprocess,
addRouteprocess, addRouteprocess,
updateRouteprocess, listRouteprocessTwo, updateRouteprocess,
listRouteprocessTwo,
} from "@/api/mes/pro/routeprocess"; } from "@/api/mes/pro/routeprocess";
import { listProcess } from "@/api/mes/pro/process"; import { listProcess } from "@/api/mes/pro/process";
import { getToken } from "@/utils/auth"; import { getToken } from "@/utils/auth";
@ -866,16 +867,17 @@ export default {
}); });
} }
let aa = {routeId: this.form.routeId,orderNum: this.form.orderNum} let aa = { routeId: this.form.routeId, orderNum: this.form.orderNum };
listRouteprocessTwo(aa).then((resp) => { listRouteprocessTwo(aa).then((resp) => {
resp.data.forEach((item) => { resp.data.forEach((item) => {
getRouteprocess(item.recordId).then((response) => { getRouteprocess(item.recordId).then((response) => {
updateRouteprocess(response.data).then(() => {}); const { originalName, ...newObj } = response.data;
}); updateRouteprocess(newObj).then(() => {
});
this.getList(); this.getList();
}); });
});
});
});
} }
}); });
}, },

View File

@ -707,6 +707,7 @@ export default {
var queryParams = { var queryParams = {
pageNum: 1, pageNum: 1,
pageSize: 10000, pageSize: 10000,
status: 0,
}; };
// //
listMdItem(queryParams).then((response) => { listMdItem(queryParams).then((response) => {
@ -732,7 +733,7 @@ export default {
axios axios
// .get("http://192.168.2.104:8077/manage/matter/storageItem", { // .get("http://192.168.2.104:8077/manage/matter/storageItem", {
.post( .post(
"http://192.168.2.7:8077/manage/matter/storageItem", "http://192.168.2.104:8077/manage/matter/storageItem",
this.perform this.perform
) )
.then(function (res) { .then(function (res) {

View File

@ -35,8 +35,12 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
"/prod-api": { "/prod-api": {
// 蚂蚁工业
// target: `http://192.168.2.104:8063`, // target: `http://192.168.2.104:8063`,
target: `http://192.168.50.191:8063`, // 内网
// target: `http://192.168.50.191:8063`,
// 线上
target: `http://mes.jshengzheng.com:7072`,
changeOrigin: true, changeOrigin: true,
// pathRewrite: { // pathRewrite: {
// ['^' + process.env.VUE_APP_BASE_API]: '' // ['^' + process.env.VUE_APP_BASE_API]: ''
@ -44,7 +48,8 @@ module.exports = {
}, },
"/ureport": { "/ureport": {
// target: `http://192.168.2.104:8063`, // target: `http://192.168.2.104:8063`,
target: `http://192.168.50.191:8063`, // target: `http://192.168.50.191:8063`,
target: `http://mes.jshengzheng.com:7072`,
ws: false, ws: false,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {