|
@@ -318,8 +318,7 @@ const flowKeyCollect = reactive({
|
|
|
detail: "/purchase/detail",
|
|
|
},
|
|
|
order: {
|
|
|
- backPath: "/group/order/order-management",
|
|
|
- backPathTwo: "/subsidiary/order/subsidiary-order-management",
|
|
|
+ backPath: "/subsidiary/order/subsidiary-order-management",
|
|
|
edit: "/orderInfo/edit",
|
|
|
add: "/orderInfo/add",
|
|
|
detail: "/orderInfo/detail",
|
|
@@ -432,20 +431,10 @@ const skipPage = () => {
|
|
|
ElMessage({ message: "操作成功!", type: "success" });
|
|
|
if (queryData.query.flowKey == "order") {
|
|
|
refreshStore().setRefresh("order");
|
|
|
- if (proxy.useUserStore().user.deptId === "100") {
|
|
|
- router.replace({
|
|
|
- path: flowKeyCollect[queryData.query.flowKey].backPath,
|
|
|
- });
|
|
|
- } else {
|
|
|
- router.replace({
|
|
|
- path: flowKeyCollect[queryData.query.flowKey].backPathTwo,
|
|
|
- });
|
|
|
- }
|
|
|
- } else {
|
|
|
- router.replace({
|
|
|
- path: flowKeyCollect[queryData.query.flowKey].backPath,
|
|
|
- });
|
|
|
}
|
|
|
+ router.replace({
|
|
|
+ path: flowKeyCollect[queryData.query.flowKey].backPath,
|
|
|
+ });
|
|
|
}
|
|
|
};
|
|
|
const queryData = reactive({
|