Browse Source

切换产品首次展示全部

cjb 2 tuần trước cách đây
mục cha
commit
c69023439f
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      entry/src/main/ets/view/SwitchingProductDialog.ets

+ 3 - 3
entry/src/main/ets/view/SwitchingProductDialog.ets

@@ -13,8 +13,8 @@ export struct SwitchingProductDialog{
   @State currentOperationId:string = ''
   //当前工位
   @State currentStationId:string = ''
-  //选择的按钮索引
-  @State selectedButtonIndex: number = 1
+  //选择的按钮索引(默认加载全部)
+  @State selectedButtonIndex: number = 0
   //扫描的流水号/序列/铭牌号
   @State scanSeqValue:string = ''
 
@@ -51,7 +51,7 @@ export struct SwitchingProductDialog{
   }
 
   aboutToAppear(): void {
-    this.onQueryTask([2])
+    this.onQueryTask([])
   }
 
   @Builder