From 1f6fb0ce69738bdfea45273ccf6884a949359f6b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 11 三月 2026 17:55:56 +0800
Subject: [PATCH] 进销存升级app 1.底部操作栏图标修改

---
 src/pages/productionManagement/productionReport/index.vue |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/pages/productionManagement/productionReport/index.vue b/src/pages/productionManagement/productionReport/index.vue
index 16412c1..dcd0fd7 100644
--- a/src/pages/productionManagement/productionReport/index.vue
+++ b/src/pages/productionManagement/productionReport/index.vue
@@ -182,6 +182,17 @@
   // 椤甸潰鍔犺浇鏃跺垵濮嬪寲鏁版嵁
   onLoad(options => {
     console.log(options, "options");
+    // 濡傛灉娌℃湁 orderRow 鍙傛暟锛岃鏄庢槸浠庨椤电洿鎺ヨ烦杞紝闇�瑕佺敤鎴锋墜鍔ㄩ�夋嫨璁㈠崟
+    if (!options.orderRow) {
+      console.log("浠庨椤佃烦杞紝鏃犺鍗曟暟鎹�");
+      getInfo().then(res => {
+        // 榛樿浣跨敤褰撳墠鐧诲綍鐢ㄦ埛
+        form.value.userId = res.user.userId;
+        form.value.userName = res.user.userName;
+        form.value.schedulingUserId = res.user.userId;
+      });
+      return;
+    }
     try {
       const orderRow = JSON.parse(options.orderRow);
       console.log("鏋勯�犵殑orderRow:", orderRow);

--
Gitblit v1.9.3