From 096f59112304996e4f799e662ac7bf1415467c34 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Mon, 29 Sep 2025 10:42:48 +0800 Subject: [PATCH] update --- .hbuilderx/launch.json | 2 +- App.vue | 9 +- commons/utils/dict.js | 84 + commons/utils/goodsUtil.js | 11 + commons/utils/hasPermission.js | 34 +- commons/utils/index.js | 194 ++ commons/utils/storageManage.js | 46 +- components/my-components/my-login.vue | 30 +- config/appConfig.js | 6 +- http/api/area.js | 16 + http/api/buyer.js | 136 ++ http/api/callTable.js | 86 + http/api/cateGory.js | 55 + http/api/cons.js | 222 +++ http/api/coupon.js | 58 + http/api/freeDing.js | 30 + http/api/handover.js | 66 + http/api/index.js | 52 + http/api/login.js | 30 + http/api/order.js | 116 ++ http/api/pay.js | 100 ++ http/api/payType.js | 16 + http/api/points.js | 59 + http/api/printer.js | 72 + http/api/product.js | 347 ++++ http/api/role.js | 16 + http/api/shop.js | 58 + http/api/shopPagePermission.js | 30 + http/api/shopUser.js | 86 + http/api/staff.js | 86 + http/api/summary.js | 30 + http/api/table.js | 58 + http/api/vendor.js | 56 + http/businessHttp.js | 3 +- http/newApi/http.js | 1 - http/websock.js | 155 ++ http/yskApi/Instead.js | 497 ++--- http/yskApi/devices.js | 14 +- http/yskApi/goods.js | 49 +- http/yskApi/http.js | 96 +- http/yskApi/login.js | 4 +- http/yskApi/order.js | 14 +- http/yskApi/pad.js | 25 +- http/yskApi/shop.js | 34 +- http/yskApi/table.js | 6 +- http/yskApi/user.js | 19 +- main.js | 13 + manifest.json | 479 ++--- package-lock.json | 1597 +++++++++++++++-- pages.json | 10 + pages/login/index.vue | 30 +- .../choose-table/choose-table.vue | 70 +- .../confirm-order/components/discount.vue | 68 +- .../confirm-order/components/pack-number.vue | 131 ++ .../confirm-order/components/remark.vue | 3 +- .../confirm-order/confirm-order.vue | 1194 +++++++----- pagesCreateOrder/index/components/car.vue | 296 ++- .../index/components/cart-goods-item.vue | 102 +- .../index/components/pop-search.vue | 14 +- .../index/components/taocanModel.vue | 185 ++ pagesCreateOrder/index/components/weigh.vue | 279 +++ pagesCreateOrder/index/index.vue | 1426 +++++++++------ pagesCreateOrder/util.js | 102 +- pagesOrder/detail/components/extra.vue | 11 +- pagesOrder/detail/components/list.vue | 688 +++---- pagesOrder/detail/components/order.vue | 32 +- pagesOrder/detail/components/step.vue | 5 +- pagesOrder/detail/components/tuicai.vue | 120 +- pagesOrder/detail/components/user.vue | 9 +- pagesOrder/detail/detail.vue | 303 ++-- pagesOrder/index/compoents/order-item.vue | 118 +- pagesOrder/index/index.vue | 134 +- pagesOrder/pay-order/pay-order.vue | 1313 ++++++++------ static/iconImg/Insufficient_inventory.svg | 14 + static/iconImg/icon_goods_sq.svg | 14 + static/iconImg/icon_goods_wks.svg | 14 + static/iconImg/icon_goods_yxj.svg | 14 + vite.config.js | 8 +- vue.config.js | 7 + 开发文档.md | 4 +- 80 files changed, 8735 insertions(+), 3286 deletions(-) create mode 100644 commons/utils/dict.js create mode 100644 commons/utils/index.js create mode 100644 http/api/area.js create mode 100644 http/api/buyer.js create mode 100644 http/api/callTable.js create mode 100644 http/api/cateGory.js create mode 100644 http/api/cons.js create mode 100644 http/api/coupon.js create mode 100644 http/api/freeDing.js create mode 100644 http/api/handover.js create mode 100644 http/api/index.js create mode 100644 http/api/login.js create mode 100644 http/api/order.js create mode 100644 http/api/pay.js create mode 100644 http/api/payType.js create mode 100644 http/api/points.js create mode 100644 http/api/printer.js create mode 100644 http/api/product.js create mode 100644 http/api/role.js create mode 100644 http/api/shop.js create mode 100644 http/api/shopPagePermission.js create mode 100644 http/api/shopUser.js create mode 100644 http/api/staff.js create mode 100644 http/api/summary.js create mode 100644 http/api/table.js create mode 100644 http/api/vendor.js create mode 100644 http/websock.js create mode 100644 pagesCreateOrder/confirm-order/components/pack-number.vue create mode 100644 pagesCreateOrder/index/components/taocanModel.vue create mode 100644 pagesCreateOrder/index/components/weigh.vue create mode 100644 static/iconImg/Insufficient_inventory.svg create mode 100644 static/iconImg/icon_goods_sq.svg create mode 100644 static/iconImg/icon_goods_wks.svg create mode 100644 static/iconImg/icon_goods_yxj.svg diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 179fe2d..07d9281 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -16,7 +16,7 @@ "type" : "uniCloud" }, { - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" } ] diff --git a/App.vue b/App.vue index b13a8f6..df35230 100644 --- a/App.vue +++ b/App.vue @@ -3,14 +3,20 @@ App.vue本身不是页面,这里不能编写视图元素,也就是没有