diff --git a/mock/modules/ycy.js b/mock/modules/ycy.js index 69091dd..94304eb 100644 --- a/mock/modules/ycy.js +++ b/mock/modules/ycy.js @@ -8,7 +8,6 @@ const StockList = Mock.mock({ billserial: "@integer(100000000,199999999)1", billType: "@integer(0,4)", stockNum: "@integer(1,2)", - unit: "@cword(张本,1)", stockDate: "@date", operator: "@cname", remark: " @integer(10000000000,19999999999)", @@ -182,6 +181,21 @@ const breakageList = Mock.mock({ }, ], }); +// +const detailReportList = Mock.mock({ + "list|5": [ + { + "id|+1": 0, + branch: "@cname", + stockNum: "@integer(1,20)张", + cancelNum: "@integer(0,20)张", + receiveNum: "@integer(0,20)张", + breakNum: "@integer(0,20)张", + destoryNum: "@integer(0,20)张", + grossBillRatio: "25%", + }, + ], +}); export default [ { @@ -252,4 +266,14 @@ export default [ }; }, }, + { + url: "/api/detailReportList", + method: "get", + response: () => { + return { + code: 200, + data: detailReportList, + }; + }, + }, ]; diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index df36fcf..0000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/src/api/finance-bill-manage/detailReportList.js b/src/api/finance-bill-manage/detailReportList.js new file mode 100644 index 0000000..82162bf --- /dev/null +++ b/src/api/finance-bill-manage/detailReportList.js @@ -0,0 +1,7 @@ +import request from "@/utils/requestMock"; + +const API = { + DETAILREPORT_LIST: "/detailReportList", +}; + +export const reqDetailReportList = () => request.get(API.DETAILREPORT_LIST); diff --git a/src/components/echarts/bar.vue b/src/components/echarts/bar.vue new file mode 100644 index 0000000..b4a916b --- /dev/null +++ b/src/components/echarts/bar.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/src/components/echarts/line.vue b/src/components/echarts/line.vue new file mode 100644 index 0000000..4875089 --- /dev/null +++ b/src/components/echarts/line.vue @@ -0,0 +1,114 @@ + + + + + diff --git a/src/components/echarts/pie.vue b/src/components/echarts/pie.vue new file mode 100644 index 0000000..a34ecbb --- /dev/null +++ b/src/components/echarts/pie.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/src/layout/components/LayoutAside.vue b/src/layout/components/LayoutAside.vue index faf4f0d..15d9975 100644 --- a/src/layout/components/LayoutAside.vue +++ b/src/layout/components/LayoutAside.vue @@ -31,6 +31,9 @@ 票据核销 + + 报表明细 +