From c029f7709ea3646105433b2145eab62c99a6337d Mon Sep 17 00:00:00 2001 From: xd <844539747@qq.com> Date: Tue, 19 Mar 2024 14:54:20 +0800 Subject: [PATCH] '123' --- .../storageLocation/locationConsuming.vue | 342 +++++++++--------- 1 file changed, 177 insertions(+), 165 deletions(-) diff --git a/ruoyi-ui/src/views/storageLocation/locationConsuming.vue b/ruoyi-ui/src/views/storageLocation/locationConsuming.vue index 0bd6e9e..b3e9357 100644 --- a/ruoyi-ui/src/views/storageLocation/locationConsuming.vue +++ b/ruoyi-ui/src/views/storageLocation/locationConsuming.vue @@ -221,170 +221,172 @@ - - - - -
黄色线芯A区
-
- -
绿色线芯B区
-
- -
红色线芯C区
-
-
- - - - - - - {{item.materialBh}} - - - - - - - - {{item.materialZlh}} - - - - {{item.materialXingh}} - - - - {{item.materialGuig}} - - - - {{item.materialDiany}} - - - - {{item.materialMs}} - - - - - - - - - - {{item.materialBh}} - - - - - - - - {{item.materialZlh}} - - - - {{item.materialXingh}} - - - - {{item.materialGuig}} - - - - {{item.materialDiany}} - - - - {{item.materialMs}} - - - - - - - - - - {{item.materialBh}} - - - - - - - - {{item.materialZlh}} - - - - {{item.materialXingh}} - - - - {{item.materialGuig}} - - - - {{item.materialDiany}} - - - - {{item.materialMs}} - - - - - -
- - 确认 - -
+ + +
黄色线芯A区(已选{{countSelA}})
+
+ +
绿色线芯B区(已选{{countSelB}})
+
+ +
红色线芯C区(已选{{countSelC}})
+
+
+ + + + + + + {{item.materialBh}} + + + + + + + + {{item.materialZlh}} + + + + {{item.materialXingh}} + + + + {{item.materialGuig}} + + + + {{item.materialDiany}} + + + + {{item.materialMs}} + + + + + + + + + + {{item.materialBh}} + + + + + + + + {{item.materialZlh}} + + + + {{item.materialXingh}} + + + + {{item.materialGuig}} + + + + {{item.materialDiany}} + + + + {{item.materialMs}} + + + + + + + + + + {{item.materialBh}} + + + + + + + + {{item.materialZlh}} + + + + {{item.materialXingh}} + + + + {{item.materialGuig}} + + + + {{item.materialDiany}} + + + + {{item.materialMs}} + + + + + + + + +
+ 确认 +
+
+
+
@@ -410,7 +412,7 @@ } .scrollable{ overflow: auto; /* 自动开启滚动条 */ - max-height: 580px; /* 设置最大高度 */ + max-height: 500px; /* 设置最大高度 */ } /*最上方三大块样式*/ @@ -524,6 +526,16 @@ countC(){ // 使用 find 方法找到第一个符合条件的对象 return this.materialDetailC.filter(task => task.materialState === '1').length; + }, + + countSelA(){ + return this.selMaterialDetailA.length; + }, + countSelB(){ + return this.selMaterialDetailB.length; + }, + countSelC(){ + return this.selMaterialDetailC.length; } }, methods: {