spring
2026-03-17 e5c3a10ffc181fadd32c19ed0dc566d8a0cb93d7
fix: 库存报表页面未做页码分页(仓储物流的入库管理也没有分页)
已修改2个文件
9 ■■■■ 文件已修改
src/views/consumablesLogistics/receiptManagement/Record.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/inventoryManagement/receiptManagement/Record.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/consumablesLogistics/receiptManagement/Record.vue
@@ -117,12 +117,14 @@
          </template>
        </el-table-column>
      </el-table>
      <div style="margin-top: 12px; display: flex; justify-content: flex-end;">
      <pagination v-show="total > 0"
                  :total="total"
                  layout="total, sizes, prev, pager, next, jumper"
                  :page="page.current"
                  :limit="page.size"
                  @pagination="pageProductChange"/>
      </div>
    </div>
  </div>
</template>
@@ -161,7 +163,7 @@
const stockRecordTypeOptions = ref([]);
const page = reactive({
  current: 1,
  size: 100,
  size: 10,
});
const total = ref(0);
src/views/inventoryManagement/receiptManagement/Record.vue
@@ -117,12 +117,14 @@
          </template>
        </el-table-column>
      </el-table>
      <div style="margin-top: 12px; display: flex; justify-content: flex-end;">
      <pagination v-show="total > 0"
                  :total="total"
                  layout="total, sizes, prev, pager, next, jumper"
                  :page="page.current"
                  :limit="page.size"
                  @pagination="pageProductChange"/>
      </div>
    </div>
  </div>
</template>
@@ -162,7 +164,7 @@
const stockRecordTypeOptions = ref([]);
const page = reactive({
  current: 1,
  size: 100,
  size: 10,
});
const total = ref(0);
@@ -200,6 +202,7 @@
  getStockInRecordListPage(params)
      .then(res => {
        tableData.value = res.data.records;
        total.value = res.data.total ?? 0;
      }).finally(() => {
    tableLoading.value = false;
  })