diff --git a/src/views/hard/hard-sb/index.vue b/src/views/hard/hard-sb/index.vue index e0dd594..113b37e 100644 --- a/src/views/hard/hard-sb/index.vue +++ b/src/views/hard/hard-sb/index.vue @@ -61,22 +61,49 @@ - + - + + + + + + + + + + + + + - @@ -102,6 +129,7 @@ const draggableDepTreeRef = ref() // 树组件ref引用 const { hard_type } = useDict("hard_type") const state: BasicTableProps = reactive({ + isPage: false, queryForm: {}, pageList: hardTotalApi.pageListSb, }) @@ -116,7 +144,7 @@ const exportExcel = () => { const getSummaries = (param: any) => { const { columns, data } = param - const totalColumns = ["totalPayPrice", "totalPayCount"] + const totalColumns = ["totalPayPrice", "totalPayCount", "totalRefundPrice", "totalRefundCount", "totalProfitPrice", "totalProfitCount"] const totalRow = Array.from({ length: columns.length }) totalRow[0] = "合计" columns.forEach((i: any, index: number) => { diff --git a/src/views/hard/hard-sh/index.vue b/src/views/hard/hard-sh/index.vue index 90971bd..aed98cc 100644 --- a/src/views/hard/hard-sh/index.vue +++ b/src/views/hard/hard-sh/index.vue @@ -53,22 +53,49 @@ - + - + + + + + + + + + + + + + - @@ -90,6 +117,7 @@ const multiple = ref(true) const draggableDepTreeRef = ref() // 树组件ref引用 const state: BasicTableProps = reactive({ + isPage: false, queryForm: {}, pageList: hardTotalApi.pageListCs, }) @@ -116,7 +144,7 @@ const exportExcel = () => { const getSummaries = (param: any) => { const { columns, data } = param - const totalColumns = ["totalPayPrice", "totalPayCount"] + const totalColumns = ["totalPayPrice", "totalPayCount", "totalRefundPrice", "totalRefundCount", "totalProfitPrice", "totalProfitCount"] const totalRow = Array.from({ length: columns.length }) totalRow[0] = "合计" columns.forEach((i: any, index: number) => {