Commit 8c517ce3ebd145dd45886d54fc045035b8bb87da

Authored by 谭毅彬
1 parent d3c84704

盘点问题修正

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/src/views/system/stocktaking/modules/CycleCountDetailModal.vue
... ... @@ -251,7 +251,7 @@ export default {
251 251 this.isorter.order = "ascend" == sorter.order ? "asc" : "desc"
252 252 }
253 253 this.detailIpagination = pagination;
254   - this.getDetailDataSource();
  254 + this.getDetailDataSource(this.detailIpagination.current);
255 255 },
256 256 customRowFn(record) {
257 257 return {
... ... @@ -277,8 +277,11 @@ export default {
277 277 this.selectedTable.dataSource.splice(this.selectedTable.dataSource.indexOf(record), 1)
278 278 this.getDetailDataSource();
279 279 },
280   - getDetailDataSource() {
  280 + getDetailDataSource(current) {
281 281 this.loading = true;
  282 + if (current == undefined) {
  283 + this.detailIpagination.current = 1;
  284 + }
282 285 let params = {
283 286 inventoryHeaderIds: this.selectedRowIds.join(","),
284 287 pageNo: this.detailIpagination.current,
... ...