diff --git a/src/components/social/inventoryUp/List_3501.vue b/src/components/social/inventoryUp/List_3501.vue index 6526671..4843a56 100644 --- a/src/components/social/inventoryUp/List_3501.vue +++ b/src/components/social/inventoryUp/List_3501.vue @@ -30,7 +30,7 @@ const filteredData = computed(() => { // 分页相关 const currentPage = ref(1) -const pageSize = ref(10) +const pageSize = ref(20) const total = ref(0) // 搜索条件 const code = ref('') @@ -39,12 +39,13 @@ onMounted(() => { }) let init = () => { const query = { - page: 1, - pageSize: 20, + pageNum: currentPage.value, + pageSize: pageSize.value, code: code.value } post("social/upload/get3501List", {query: query}).then((res: any) => { tableData.value = res.list + total.value = res.total_count }) } let changePage = (value: number) => { diff --git a/src/components/social/inventoryUp/List_3502.vue b/src/components/social/inventoryUp/List_3502.vue index ed4d9a3..1a6a0ed 100644 --- a/src/components/social/inventoryUp/List_3502.vue +++ b/src/components/social/inventoryUp/List_3502.vue @@ -135,7 +135,7 @@ const value1 = ref([]) // 分页相关 const currentPage = ref(1)// 当前页码 -const pageSize = ref(10)// 每页显示的记录数 +const pageSize = ref(20)// 每页显示的记录数 const total = ref(0) // 定义 type 与 typeName @@ -182,8 +182,8 @@ onMounted(() => { let init = () => { const query = { - page: 1, - pageSize: 20, + pageNum: currentPage.value, + pageSize: pageSize.value, socialType: Number(searchInfo.value.socialType) || null, uploadStatus: searchStatus.value.uploadStatus || null, createTimeBefore: value1.value ? formatDate(value1.value[0]) : null, @@ -191,6 +191,7 @@ let init = () => { } post("social/upload/get3502List", {query: query}).then((res: any) => { tableData.value = res.list + total.value = res.total_count }) } @@ -240,6 +241,7 @@ const formatDate = (isoStr: any) => { height: 60px; display: flex; align-items: center; + justify-content: flex-end; } } diff --git a/src/components/social/inventoryUp/List_3503.vue b/src/components/social/inventoryUp/List_3503.vue index fac4b06..d086af2 100644 --- a/src/components/social/inventoryUp/List_3503.vue +++ b/src/components/social/inventoryUp/List_3503.vue @@ -33,11 +33,15 @@ @@ -74,7 +78,7 @@ \ No newline at end of file diff --git a/src/components/social/inventoryUp/List_3505.vue b/src/components/social/inventoryUp/List_3505.vue index 4f4d5ed..3612aac 100644 --- a/src/components/social/inventoryUp/List_3505.vue +++ b/src/components/social/inventoryUp/List_3505.vue @@ -8,7 +8,7 @@ import {Search} from "@element-plus/icons-vue"; const tableData = ref([]) // 分页相关 const currentPage = ref(1) -const pageSize = ref(10) +const pageSize = ref(20) const total = ref(0) // 查询条件 const code = ref('') @@ -17,12 +17,13 @@ onMounted(() => { }) let init = () => { const query = { - page: 1, - pageSize: 20, + pageNum: currentPage.value, + pageSize: pageSize.value, code: code.value } post("social/upload/get3505List", {query: query}).then((res: any) => { tableData.value = res.list + total.value = res.total_count }) } let changePage = (value: number) => { @@ -129,7 +130,7 @@ const formatDate = (isoStr: any) => { height: 60px; display: flex; align-items: center; - background: base.$background-color-base; + justify-content: flex-end; } } diff --git a/src/views/inventory/goods.vue b/src/views/inventory/goods.vue index aeff2ca..c3ff002 100644 --- a/src/views/inventory/goods.vue +++ b/src/views/inventory/goods.vue @@ -185,7 +185,8 @@ @@ -309,7 +310,7 @@ onMounted(() => { let init = () => { const query = { pageNum: pageNum.value,// 当前页码 - pageSize: 1,// 每页显示条数 + pageSize: pageSize.value,// 每页显示条数 } post("goods/goods/searchDetail", {query: query}).then((res: any) => { tableData.value = res.list @@ -327,6 +328,7 @@ let open_edit = (type: number, id: number) => { //分页 let total = ref(0) let pageNum = ref(1) +const pageSize= ref(20) let changePage = (value: number) => { pageNum.value = value init() diff --git a/src/views/member/index.vue b/src/views/member/index.vue index 373daa2..69e7869 100644 --- a/src/views/member/index.vue +++ b/src/views/member/index.vue @@ -141,8 +141,9 @@