From fa403c58d2bea76a7131ea9dbb1d60247ea9ca77 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 30 四月 2026 09:43:25 +0800
Subject: [PATCH] 生产计划和生产订单模块开发(仅查看)
---
src/pages/works.vue | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/src/pages/works.vue b/src/pages/works.vue
index 71c1721..2759b3e 100644
--- a/src/pages/works.vue
+++ b/src/pages/works.vue
@@ -569,10 +569,10 @@
// 鐢熶骇绠℃帶鍔熻兘鏁版嵁
const productionItems = reactive([
- // {
- // icon: "/static/images/icon/shengchandingdan@2x.svg",
- // label: "鐢熶骇璁㈠崟",
- // },
+ {
+ icon: "/static/images/icon/shengchandingdan@2x.svg",
+ label: "鐢熶骇璁㈠崟",
+ },
// {
// icon: "/static/images/icon/shengchanpaigong@2x.svg",
// label: "鐢熶骇娲惧伐",
@@ -581,6 +581,10 @@
// icon: "/static/images/icon/shengchanpaichan@2x.svg",
// label: "宸ュ簭鎺掍骇",
// },
+ {
+ icon: "/static/images/icon/shengchanbaogong.svg",
+ label: "涓荤敓浜ц鍒�",
+ },
{
icon: "/static/images/icon/shengchanbaogong.svg",
label: "鐢熶骇鎶ュ伐",
@@ -843,6 +847,11 @@
url: "/pages/productionManagement/workOrder/index",
});
break;
+ case "涓荤敓浜ц鍒�":
+ uni.navigateTo({
+ url: "/pages/productionManagement/mainProductionPlan/index",
+ });
+ break;
case "鐢熶骇鎶ュ伐":
getcode();
break;
@@ -1062,14 +1071,7 @@
const workData = workRes.data;
console.log("宸ュ崟鏁版嵁:", workData);
- orderRow = JSON.stringify({
- id: workData.id || workOrderId,
- planQuantity: workData.planQuantity - workData.completeQuantity,
- productProcessRouteItemId:
- workData.productProcessRouteItemId ||
- workData.浜у搧宸ヨ壓璺嚎椤笽D ||
- "",
- });
+ orderRow = JSON.stringify(workData);
console.log("鏋勯�犵殑orderRow:", orderRow);
} else {
--
Gitblit v1.9.3