From 0251cb944fbecdb0fa9b85397c4b59841b45b7db Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期一, 18 八月 2025 17:16:55 +0800
Subject: [PATCH] again
---
WebTM/views/基础资料/公用基础资料/Gy_BarCodeReport.html | 39 ++++++++++++++++++++++-----------------
1 files changed, 22 insertions(+), 17 deletions(-)
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BarCodeReport.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BarCodeReport.html"
index cd13ac6..29fd688 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BarCodeReport.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BarCodeReport.html"
@@ -813,8 +813,9 @@
涓嶈壇鏁扮洰: 0,
鎬绘暟: 0
};
- batchMap[batchNo].鎬绘暟 = (parseInt(item['鎺掔増鏁�'] || 0) + parseInt(item['澶囧搧鎺掔増鏁�'] || 0));
+
}
+ batchMap[batchNo].鎬绘暟 += (parseInt(item['鎬绘鏁癙CS'] || 0) + parseInt(item['澶囧搧鎬绘鏁癙CS'] || 0));
batchMap[batchNo].涓嶈壇鏁扮洰 += (parseInt(item['涓嶈壇鎬绘暟'] || 0) + parseInt(item['澶囧搧涓嶈壇鎬绘暟'] || 0));
});
// 2. 鏋勯�犳煴鐘跺浘鏁版嵁
@@ -834,6 +835,7 @@
var ZZTColor2 = ['#00FFFF', '#FC2C83', '#FCED2C', '#93FC2C', '#FC2CF0', '#FC892C', '#2C81FC', '#2CC9FC', '#2CFCA7', '#DED3F2', '#F2D8D3', '#F2D3E0', '#D8E052', '#7EE052', '#52E0D8', '#5F52E0', '#E06F52', '#52E09B', '#E052DE', '#E05F52', '#52B2E0', '#E0C452', '#52CEE0', '#648690', '#E5D1D6', '#D8E5D1', '#E5D1E5', '#D8E5D1', '#7C6262', '#76627C', '#81A583', '#81A595'];
+ var ZZTColor3 = ['#00FFFF', '#FC2C83'];
for (let i = 0; i < option.data.length; i++) {
ZZTColor.push({
@@ -908,12 +910,13 @@
},
data: HSourceIssueCount,
itemStyle: {
- color: function (params) {
- // 鍔ㄦ�佺敓鎴愭笎鍙樿壊鎴栬�呮牴鎹潯浠惰繑鍥為璁剧殑娓愬彉鑹�
- const gradientColors = ZZTColor2;
-
- return gradientColors[params.dataIndex];
- }
+ color:'#00FFFF'
+ //color: function (params) {
+ // // 鍔ㄦ�佺敓鎴愭笎鍙樿壊鎴栬�呮牴鎹潯浠惰繑鍥為璁剧殑娓愬彉鑹�
+ // const gradientColors = ZZTColor2;
+ // const index = params.dataIndex;
+ // return gradientColors[params.dataIndex];
+ //}
}
},
@@ -927,12 +930,13 @@
},
data: HSourceIssueCount1,
itemStyle: {
- color: function (params) {
- // 鍔ㄦ�佺敓鎴愭笎鍙樿壊鎴栬�呮牴鎹潯浠惰繑鍥為璁剧殑娓愬彉鑹�
- const gradientColors = ZZTColor2;
+ color: '#FC2C83'
+ //color: function (params) {
+ // // 鍔ㄦ�佺敓鎴愭笎鍙樿壊鎴栬�呮牴鎹潯浠惰繑鍥為璁剧殑娓愬彉鑹�
+ // const gradientColors = ZZTColor2;
- return gradientColors[params.dataIndex];
- }
+ // return gradientColors[params.dataIndex];
+ //}
}
},
{
@@ -945,12 +949,13 @@
},
data: HSourceIssueCount2,
itemStyle: {
- color: function (params) {
- // 鍔ㄦ�佺敓鎴愭笎鍙樿壊鎴栬�呮牴鎹潯浠惰繑鍥為璁剧殑娓愬彉鑹�
- const gradientColors = ZZTColor2;
+ color:"green"
+ //color: function (params) {
+ // // 鍔ㄦ�佺敓鎴愭笎鍙樿壊鎴栬�呮牴鎹潯浠惰繑鍥為璁剧殑娓愬彉鑹�
+ // const gradientColors = ZZTColor2;
- return gradientColors[params.dataIndex];
- }
+ // return gradientColors[params.dataIndex+1];
+ //}
}
}
--
Gitblit v1.9.1