From f71bc805665c0b7edade083f735ef5a678c07975 Mon Sep 17 00:00:00 2001 From: ycy <2861518472@qq.com> Date: Tue, 9 Apr 2024 13:34:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=8A=A5=E8=A1=A8?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E9=A1=B5=E9=9D=A2=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mock/modules/ycy.js | 26 +- public/favicon.ico | Bin 4286 -> 0 bytes .../finance-bill-manage/detailReportList.js | 7 + src/layout/components/LayoutAside.vue | 3 + .../finance-bill-manage/billBreakage.vue | 1 + src/pages/finance-bill-manage/billStock.vue | 21 +- .../finance-bill-manage/detailReport.vue | 227 ++++++++++++++++++ src/router/modules/financeBillManage.js | 9 + 8 files changed, 276 insertions(+), 18 deletions(-) delete mode 100644 public/favicon.ico create mode 100644 src/api/finance-bill-manage/detailReportList.js create mode 100644 src/pages/finance-bill-manage/detailReport.vue 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 df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4286 zcmds*O-Phc6o&64GDVCEQHxsW(p4>LW*W<827=Unuo8sGpRux(DN@jWP-e29Wl%wj zY84_aq9}^Am9-cWTD5GGEo#+5Fi2wX_P*bo+xO!)p*7B;iKlbFd(U~_d(U?#hLj56 zPhFkj-|A6~Qk#@g^#D^U0XT1cu=c-vu1+SElX9NR;kzAUV(q0|dl0|%h|dI$%VICy zJnu2^L*Te9JrJMGh%-P79CL0}dq92RGU6gI{v2~|)p}sG5x0U*z<8U;Ij*hB9z?ei z@g6Xq-pDoPl=MANPiR7%172VA%r)kevtV-_5H*QJKFmd;8yA$98zCxBZYXTNZ#QFk2(TX0;Y2dt&WitL#$96|gJY=3xX zpCoi|YNzgO3R`f@IiEeSmKrPSf#h#Qd<$%Ej^RIeeYfsxhPMOG`S`Pz8q``=511zm zAm)MX5AV^5xIWPyEu7u>qYs?pn$I4nL9J!=K=SGlKLXpE<5x+2cDTXq?brj?n6sp= zphe9;_JHf40^9~}9i08r{XM$7HB!`{Ys~TK0kx<}ZQng`UPvH*11|q7&l9?@FQz;8 zx!=3<4seY*%=OlbCbcae?5^V_}*K>Uo6ZWV8mTyE^B=DKy7-sdLYkR5Z?paTgK-zyIkKjIcpyO z{+uIt&YSa_$QnN_@t~L014dyK(fOOo+W*MIxbA6Ndgr=Y!f#Tokqv}n<7-9qfHkc3 z=>a|HWqcX8fzQCT=dqVbogRq!-S>H%yA{1w#2Pn;=e>JiEj7Hl;zdt-2f+j2%DeVD zsW0Ab)ZK@0cIW%W7z}H{&~yGhn~D;aiP4=;m-HCo`BEI+Kd6 z={Xwx{TKxD#iCLfl2vQGDitKtN>z|-AdCN|$jTFDg0m3O`WLD4_s#$S 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/layout/components/LayoutAside.vue b/src/layout/components/LayoutAside.vue index 7647ca5..6803ec6 100644 --- a/src/layout/components/LayoutAside.vue +++ b/src/layout/components/LayoutAside.vue @@ -31,6 +31,9 @@ 票据核销 + + 报表明细 +