From c5842658c8bc44bd604090192c0e8857bb22e596 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期三, 06 五月 2026 16:01:23 +0800
Subject: [PATCH] 生产追溯模块开发,及生产订单跳转生产追溯
---
src/pages/productionManagement/productionOrder/index.vue | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/pages/productionManagement/productionOrder/index.vue b/src/pages/productionManagement/productionOrder/index.vue
index 9cea91f..5f31fb1 100644
--- a/src/pages/productionManagement/productionOrder/index.vue
+++ b/src/pages/productionManagement/productionOrder/index.vue
@@ -100,17 +100,22 @@
<view class="item-footer">
<view class="action-btns">
<up-button type="info"
- size="mini"
+ size="small"
+ plain
+ text="鐢熶骇杩芥函"
+ @click="goTraceability(item)"></up-button>
+ <up-button type="info"
+ size="small"
plain
text="宸ヨ壓璺嚎"
@click="goProcessRoute(item)"></up-button>
<up-button type="primary"
- size="mini"
+ size="small"
plain
text="鏉ユ簮"
@click="goSource(item)"></up-button>
<up-button type="success"
- size="mini"
+ size="small"
plain
text="棰嗘枡璇︽儏"
@click="goPickingDetail(item)"></up-button>
@@ -340,6 +345,13 @@
});
};
+ // 璺宠浆鐢熶骇杩芥函
+ const goTraceability = item => {
+ uni.navigateTo({
+ url: `/pages/productionManagement/productionTraceability/index?npsNo=${item.npsNo}`,
+ });
+ };
+
// 椤甸潰鏄剧ず鏃跺姞杞芥暟鎹�
onShow(() => {
handleQuery();
--
Gitblit v1.9.3