From 85fc703b5ce3d9840154f2b1b6f2a8efb1423f38 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期六, 18 四月 2026 15:17:55 +0800
Subject: [PATCH] 新增销售和采购订单扫码出库功能的前端页面支持,优化API接口以处理合格和不合格出库情况
---
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