From 585e3e3b56ef2416547f9618d2de8839454a6450 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Mon, 23 Sep 2024 18:46:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=92=8C=E9=A1=B5=E9=9D=A2=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E4=BC=98=E5=8C=96=E5=95=86=E5=93=81=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E5=92=8C=E9=97=A8=E5=BA=97=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/store.js | 5 + config/app.js | 2 +- pageQuota/purchase_product_offer/index.vue | 1 - pages.json | 42 + pages/my/my.vue | 2 +- pagesOrder/deliveryOrder/count.vue | 303 +++++++ pagesOrder/deliveryOrder/index.vue | 303 +++++++ pagesOrder/productSales/count.vue | 303 +++++++ pagesOrder/productSales/index.vue | 303 +++++++ pagesOrder/store/index.vue | 178 ++++ pagesOrder/store_product/index.vue | 957 +++++++++++++++++++++ 11 files changed, 2396 insertions(+), 3 deletions(-) create mode 100644 api/store.js create mode 100644 pagesOrder/deliveryOrder/count.vue create mode 100644 pagesOrder/deliveryOrder/index.vue create mode 100644 pagesOrder/productSales/count.vue create mode 100644 pagesOrder/productSales/index.vue create mode 100644 pagesOrder/store/index.vue create mode 100644 pagesOrder/store_product/index.vue diff --git a/api/store.js b/api/store.js new file mode 100644 index 0000000..552fdde --- /dev/null +++ b/api/store.js @@ -0,0 +1,5 @@ +import request from '@/utils/request'; + +export const menuList = (data) => { + return request.get('/store/store/menu_list', data); +} \ No newline at end of file diff --git a/config/app.js b/config/app.js index 59ba585..dea5d28 100644 --- a/config/app.js +++ b/config/app.js @@ -17,7 +17,7 @@ switch (env) { WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; case 'local': - BASE_URL = 'http://192.168.1.5:8545'; + BASE_URL = 'http://192.168.1.22:8545'; WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; default: diff --git a/pageQuota/purchase_product_offer/index.vue b/pageQuota/purchase_product_offer/index.vue index a80be21..e16eb2f 100644 --- a/pageQuota/purchase_product_offer/index.vue +++ b/pageQuota/purchase_product_offer/index.vue @@ -40,7 +40,6 @@ - diff --git a/pages.json b/pages.json index 6b4cb41..7f65b31 100644 --- a/pages.json +++ b/pages.json @@ -211,6 +211,48 @@ { "navigationBarTitleText" : "门店订单" } + }, + { + "path" : "store/index", + "style" : + { + "navigationBarTitleText" : "门店管理" + } + }, + { + "path" : "deliveryOrder/index", + "style" : + { + "navigationBarTitleText" : "每日配送统计" + } + }, + { + "path" : "deliveryOrder/count", + "style" : + { + "navigationBarTitleText" : "累计配送统计" + } + }, + { + "path" : "productSales/index", + "style" : + { + "navigationBarTitleText" : "每日销量统计" + } + }, + { + "path" : "productSales/count", + "style" : + { + "navigationBarTitleText" : "累计销售统计" + } + }, + { + "path" : "store_product/index", + "style" : + { + "navigationBarTitleText" : "商品库存" + } } ] }, diff --git a/pages/my/my.vue b/pages/my/my.vue index ebf75d9..e25a643 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -123,7 +123,7 @@ - + diff --git a/pagesOrder/deliveryOrder/count.vue b/pagesOrder/deliveryOrder/count.vue new file mode 100644 index 0000000..f56587d --- /dev/null +++ b/pagesOrder/deliveryOrder/count.vue @@ -0,0 +1,303 @@ + + + + + + \ No newline at end of file diff --git a/pagesOrder/deliveryOrder/index.vue b/pagesOrder/deliveryOrder/index.vue new file mode 100644 index 0000000..f56587d --- /dev/null +++ b/pagesOrder/deliveryOrder/index.vue @@ -0,0 +1,303 @@ + + + + + + \ No newline at end of file diff --git a/pagesOrder/productSales/count.vue b/pagesOrder/productSales/count.vue new file mode 100644 index 0000000..f56587d --- /dev/null +++ b/pagesOrder/productSales/count.vue @@ -0,0 +1,303 @@ + + + + + + \ No newline at end of file diff --git a/pagesOrder/productSales/index.vue b/pagesOrder/productSales/index.vue new file mode 100644 index 0000000..f56587d --- /dev/null +++ b/pagesOrder/productSales/index.vue @@ -0,0 +1,303 @@ + + + + + + \ No newline at end of file diff --git a/pagesOrder/store/index.vue b/pagesOrder/store/index.vue new file mode 100644 index 0000000..940faa5 --- /dev/null +++ b/pagesOrder/store/index.vue @@ -0,0 +1,178 @@ + + + + + \ No newline at end of file diff --git a/pagesOrder/store_product/index.vue b/pagesOrder/store_product/index.vue new file mode 100644 index 0000000..2fed9d2 --- /dev/null +++ b/pagesOrder/store_product/index.vue @@ -0,0 +1,957 @@ + + + + + + \ No newline at end of file