From ce21109b355a4948f11471d4db53c0226417f04e Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周一, 16 12月 2024 09:47:07 +0800
Subject: [PATCH] 22

---
 LA24030_LuLiPackageLine_Web/src/views/home/index.vue |   82 ++++++++++++++++++-----------------------
 1 files changed, 36 insertions(+), 46 deletions(-)

diff --git a/LA24030_LuLiPackageLine_Web/src/views/home/index.vue b/LA24030_LuLiPackageLine_Web/src/views/home/index.vue
index bfa6122..eddb91d 100644
--- a/LA24030_LuLiPackageLine_Web/src/views/home/index.vue
+++ b/LA24030_LuLiPackageLine_Web/src/views/home/index.vue
@@ -160,11 +160,6 @@
 			var noMaterialCount = result.length - hasMaterialCount;
 			countList.value = [
 				{
-					type: '',
-					name: '鎬诲簱浣�',
-					value: result.length || 0,
-				},
-				{
 					type: 1,
 					name: '鏈夎揣搴撲綅',
 					value: hasMaterialCount || 0,
@@ -173,11 +168,6 @@
 					type: 18,
 					name: '鏃犺揣搴撲綅',
 					value: noMaterialCount || 0,
-				},
-				{
-					type: 2,
-					name: '閿佸畾搴撲綅',
-					value: result.filter((item: any) => item.stockStatus == 2).length || 0,
 				},
 			];
 			optionPie.series[0].data = countList.value;
@@ -188,7 +178,7 @@
 		var res = await getQueryOffOrderList();
 		// WmsCommonnQuery/QueryOffOrderList
 		if (res.data.code == 200) {
-			debugger;
+			//debugger;
 			offOrderInfo.value = res.data.result || [];
 		}
 	});
@@ -509,13 +499,13 @@
 const option = {
 	backgroundColor: state.charts.bgColor,
 	title: {
-		text: '涓婁笅绾挎帹绉诲浘',
+		text: '涓嬬嚎璁㈠崟鎺ㄧЩ鍥�',
 		x: 'left',
 		textStyle: { fontSize: '12', color: state.charts.color },
 	},
 	tooltip: { trigger: 'axis' },
 	//legend: { data: ['鍏ュ簱','鍑哄簱', '搴撳瓨', '骞冲潎'], right: 0 },
-	legend: { data: ['涓婄嚎', '涓嬬嚎'], right: 0 },
+	legend: { data: ['涓嬬嚎璁㈠崟'], right: 0 },
 	grid: { top: 50, right: 80, bottom: 100, left: 60 },
 	// grid: { top: 70, right: 80, bottom: 30, left: 80 },
 	xAxis: [
@@ -549,38 +539,38 @@
 		// },
 	],
 	series: [
+		// {
+		// 	name: '涓婄嚎',
+		// 	type: 'line',
+		// 	smooth: true,
+		// 	showSymbol: true,
+		// 	// 鐭㈤噺鐢讳簲瑙掓槦
+		// 	symbol: 'path://M150 0 L80 175 L250 75 L50 75 L220 175 Z',
+		// 	symbolSize: 12,
+		// 	yAxisIndex: 0,
+		// 	areaStyle: {
+		// 		color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+		// 			{ offset: 0, color: 'rgba(250,180,101,0.3)' },
+		// 			{ offset: 1, color: 'rgba(250,180,101,0)' },
+		// 		]),
+		// 		shadowColor: 'rgba(250,180,101,0.2)',
+		// 		shadowBlur: 20,
+		// 	},
+		// 	itemStyle: { color: '#FF8000' },
+		// 	// data涓彲浠ヤ娇鐢ㄥ璞★紝value浠h〃鐩稿簲鐨勫�硷紝鍙﹀鍙姞鍏ヨ嚜瀹氫箟鐨勫睘鎬�
+		// 	// data: [
+		// 	// 	{ value: 1, stationName: 's1' },
+		// 	// 	{ value: 3, stationName: 's2' },
+		// 	// 	{ value: 4, stationName: 's3' },
+		// 	// 	{ value: 9, stationName: 's4' },
+		// 	// 	{ value: 3, stationName: 's5' },
+		// 	// 	{ value: 2, stationName: 's6' },
+		// 	// ],
+		// 	// data:dataAll.value.arr1
+		// 	data: [],
+		// },
 		{
-			name: '涓婄嚎',
-			type: 'line',
-			smooth: true,
-			showSymbol: true,
-			// 鐭㈤噺鐢讳簲瑙掓槦
-			symbol: 'path://M150 0 L80 175 L250 75 L50 75 L220 175 Z',
-			symbolSize: 12,
-			yAxisIndex: 0,
-			areaStyle: {
-				color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
-					{ offset: 0, color: 'rgba(250,180,101,0.3)' },
-					{ offset: 1, color: 'rgba(250,180,101,0)' },
-				]),
-				shadowColor: 'rgba(250,180,101,0.2)',
-				shadowBlur: 20,
-			},
-			itemStyle: { color: '#FF8000' },
-			// data涓彲浠ヤ娇鐢ㄥ璞★紝value浠h〃鐩稿簲鐨勫�硷紝鍙﹀鍙姞鍏ヨ嚜瀹氫箟鐨勫睘鎬�
-			// data: [
-			// 	{ value: 1, stationName: 's1' },
-			// 	{ value: 3, stationName: 's2' },
-			// 	{ value: 4, stationName: 's3' },
-			// 	{ value: 9, stationName: 's4' },
-			// 	{ value: 3, stationName: 's5' },
-			// 	{ value: 2, stationName: 's6' },
-			// ],
-			// data:dataAll.value.arr1
-			data: [],
-		},
-		{
-			name: '涓嬬嚎',
+			name: '涓嬬嚎璁㈠崟',
 			type: 'line',
 			smooth: true,
 			showSymbol: true,
@@ -651,8 +641,8 @@
 	state.global.homeCharThree = markRaw(echarts.init(chart, state.charts.theme));
 	//鎵嬪姩璧嬪��
 	option.xAxis[0].data = dataAll.value.arr5;
-	option.series[0].data = dataAll.value.arr1;
-	option.series[1].data = dataAll.value.arr2;
+	option.series[0].data = dataAll.value.arr2;
+	//option.series[1].data = dataAll.value.arr2;
 	// option.series[2].data = dataAll.value.arr3
 	// option.series[3].data = dataAll.value.arr4
 	// 缁樺埗鍥捐〃

--
Gitblit v1.9.3