From b6e5fe69e5481ece09132c62bd61892ae2a47f3a Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期五, 03 四月 2026 15:27:54 +0800
Subject: [PATCH] 设备保养任务 模具保养任务 添加 逾期待保养页签
---
pages/MJGL/SBMJReport/Sc_MouldMaintainTaskReport.vue | 31 +++++++++++++++++++++++++++----
1 files changed, 27 insertions(+), 4 deletions(-)
diff --git a/pages/MJGL/SBMJReport/Sc_MouldMaintainTaskReport.vue b/pages/MJGL/SBMJReport/Sc_MouldMaintainTaskReport.vue
index 734b410..0dfa308 100644
--- a/pages/MJGL/SBMJReport/Sc_MouldMaintainTaskReport.vue
+++ b/pages/MJGL/SBMJReport/Sc_MouldMaintainTaskReport.vue
@@ -142,7 +142,7 @@
</view>
<view class="op" v-if="operations == item.hmainid">
- <button class="op1" v-if="activeTab == 0" size="mini" plain
+ <button class="op1" v-if="activeTab == 0 || 3" size="mini" plain
@tap.stop="pushBill(0,item)">涓嬫帹淇濆吇鍗�</button>
<button class="op5" size="mini" plain @tap.stop="operations = -1">鍙栨秷鎿嶄綔</button>
</view>
@@ -193,6 +193,18 @@
{
label: '杩戞棩宸蹭繚鍏�',
type: 1,
+ count: 0,
+ listData: [], // 娣诲姞杩欎釜
+ showData: [],
+ pageMeta: { // 娣诲姞杩欎釜
+ curPage: 1,
+ size: 20,
+ total: 0,
+ }
+ },
+ {
+ label: '閫炬湡鏈繚鍏�',
+ type: 3,
count: 0,
listData: [], // 娣诲姞杩欎釜
showData: [],
@@ -400,13 +412,24 @@
if (data && data.h_p_Sc_MouldMaintainTaskReport_APP2) {
// 鏇存柊寰呴獙鏀堕〉绛�
- this.tabs[2].listData = data.h_p_Sc_MouldMaintainTaskReport_APP2
+ this.tabs[3].listData = data.h_p_Sc_MouldMaintainTaskReport_APP2
+ this.tabs[3].showData = data.h_p_Sc_MouldMaintainTaskReport_APP.slice(
+ (this.tabs[3].pageMeta.curPage-1)*this.tabs[3].pageMeta.size,
+ (this.tabs[3].pageMeta.curPage)*this.tabs[3].pageMeta.size
+ )
+ this.tabs[3].pageMeta.total = data.h_p_Sc_MouldMaintainTaskReport_APP2.length
+ this.tabs[3].count = data.h_p_Sc_MouldMaintainTaskReport_APP2.length
+ }
+
+ if (data && data.h_p_Sc_MouldMaintainTaskReport_APP3) {
+ // 鏇存柊寰呴獙鏀堕〉绛�
+ this.tabs[2].listData = data.h_p_Sc_MouldMaintainTaskReport_APP3
this.tabs[2].showData = data.h_p_Sc_MouldMaintainTaskReport_APP.slice(
(this.tabs[2].pageMeta.curPage-1)*this.tabs[2].pageMeta.size,
(this.tabs[2].pageMeta.curPage)*this.tabs[2].pageMeta.size
)
- this.tabs[2].pageMeta.total = data.h_p_Sc_MouldMaintainTaskReport_APP2.length
- this.tabs[2].count = data.h_p_Sc_MouldMaintainTaskReport_APP2.length
+ this.tabs[2].pageMeta.total = data.h_p_Sc_MouldMaintainTaskReport_APP3.length
+ this.tabs[2].count = data.h_p_Sc_MouldMaintainTaskReport_APP3.length
}
--
Gitblit v1.9.1