diff --git a/src/pages/order/cost-of-sales/index.jsx b/src/pages/order/cost-of-sales/index.jsx index e7ba857..61f967d 100644 --- a/src/pages/order/cost-of-sales/index.jsx +++ b/src/pages/order/cost-of-sales/index.jsx @@ -5,6 +5,7 @@ import styles from './index.less'; const { RangePicker } = DatePicker; import costSalesAPI from "./service"; import moment from 'moment'; +import { DownloadOutlined } from '@ant-design/icons'; const LoadingCard = () => { return ( @@ -277,6 +278,11 @@ export default function Index() { +
+ +
diff --git a/src/pages/order/cost-of-sales/index.less b/src/pages/order/cost-of-sales/index.less index 60fde50..aec2b69 100644 --- a/src/pages/order/cost-of-sales/index.less +++ b/src/pages/order/cost-of-sales/index.less @@ -59,4 +59,10 @@ .data-search-btns { display: flex; justify-content: flex-end; +} + +.download-btn { + display: flex; + justify-content: flex-end; + margin-bottom: 10px; } \ No newline at end of file diff --git a/src/pages/order/gross-profit-store-sales/index.jsx b/src/pages/order/gross-profit-store-sales/index.jsx index 7ced9be..137d281 100644 --- a/src/pages/order/gross-profit-store-sales/index.jsx +++ b/src/pages/order/gross-profit-store-sales/index.jsx @@ -5,7 +5,7 @@ import styles from './index.less'; const { RangePicker } = DatePicker; import costSalesAPI from "./service"; import moment from 'moment'; - +import { DownloadOutlined } from '@ant-design/icons'; const LoadingCard = () => { @@ -165,6 +165,11 @@ export default function Index() { +
+ +
diff --git a/src/pages/order/gross-profit-store-sales/index.less b/src/pages/order/gross-profit-store-sales/index.less index 7deb632..9a31144 100644 --- a/src/pages/order/gross-profit-store-sales/index.less +++ b/src/pages/order/gross-profit-store-sales/index.less @@ -60,4 +60,10 @@ margin-left: auto; display: flex; justify-content: flex-end; +} + +.download-btn { + display: flex; + justify-content: flex-end; + margin-bottom: 10px; } \ No newline at end of file diff --git a/src/pages/order/sales-gross-profit/index.jsx b/src/pages/order/sales-gross-profit/index.jsx index 42c9305..481fb98 100644 --- a/src/pages/order/sales-gross-profit/index.jsx +++ b/src/pages/order/sales-gross-profit/index.jsx @@ -5,6 +5,7 @@ import styles from './index.less'; const { RangePicker } = DatePicker; import costSalesAPI from "./service"; import moment from 'moment'; +import { DownloadOutlined } from '@ant-design/icons'; const LoadingCard = () => { return ( @@ -66,7 +67,7 @@ export default function Index() { } else { return 暂无商品名称 } - + }, }, { @@ -175,7 +176,7 @@ export default function Index() { {showLoading ? : null} - +
门店 @@ -260,6 +261,11 @@ export default function Index() {
+
+ +
diff --git a/src/pages/order/sales-gross-profit/index.less b/src/pages/order/sales-gross-profit/index.less index 60fde50..aec2b69 100644 --- a/src/pages/order/sales-gross-profit/index.less +++ b/src/pages/order/sales-gross-profit/index.less @@ -59,4 +59,10 @@ .data-search-btns { display: flex; justify-content: flex-end; +} + +.download-btn { + display: flex; + justify-content: flex-end; + margin-bottom: 10px; } \ No newline at end of file