dengrui před 1 měsícem
rodič
revize
64af65e21c
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      entry/src/main/ets/view/CompleteSet.ets

+ 2 - 0
entry/src/main/ets/view/CompleteSet.ets

@@ -250,6 +250,8 @@ export struct CompleteSet {
       orderMaterialSwitch: this.orderMaterialSwitch,
       confirm: async () => {
         this.materialArray = []
+        //重置pageNo
+        this.pageNo = 1
         // 查询工序关联的物料信息
         let res = await this.queryMaterialPage()
         // if (res.totalCount === undefined || res.totalCount <= 0 || res.totalPages === undefined || res.totalPages <= 0) {