cjb преди 2 месеца
родител
ревизия
f3e23b636f
променени са 2 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 3 0
      entry/src/main/ets/pages/EmptyBoxStorage.ets
  2. 3 0
      entry/src/main/ets/pages/IntelligentWarehousingStatics.ets

+ 3 - 0
entry/src/main/ets/pages/EmptyBoxStorage.ets

@@ -296,6 +296,9 @@ struct emptyBoxStorage {
                     .width($r('app.float.virtualSize_48'))
                     .height($r('app.float.virtualSize_48'))
                     .fillColor($r('app.color.0A84FF'))
+                    .onClick(()=>{
+                      this.filterMaterialBoxes(); // 实时触发过滤
+                    })
                 }
                 .width('16%')
                 .height('100%')

+ 3 - 0
entry/src/main/ets/pages/IntelligentWarehousingStatics.ets

@@ -254,6 +254,9 @@ struct IntelligentWarehousingStatics {
                   .width($r('app.float.virtualSize_48'))
                   .height($r('app.float.virtualSize_48'))
                   .fillColor($r('app.color.0A84FF'))
+                  .onClick(()=>{
+                    this.loadStockList()
+                  })
               }
               .width('16%')
               .height('100%')