From 4f22beced75c25f4ee185c6b569736ffad4e0fe3 Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Thu, 18 Nov 2021 15:05:48 +0800 Subject: [PATCH] add retail order --- src/components/order_list/retail/retail.vue | 87 +++++++++++++ src/js/api.js | 3 +- src/pages.json | 6 + src/pages/order_list/order_list.vue | 8 ++ src/subpackage/order/js/api.js | 1 + .../order/pages/order_manage/order_manage.vue | 3 +- .../order/pages/retail/detail/detail.vue | 140 +++++++++++++++++++++ .../order/static/images/order_manage/order_18.png | Bin 0 -> 537 bytes 8 files changed, 246 insertions(+), 2 deletions(-) create mode 100644 src/components/order_list/retail/retail.vue create mode 100644 src/subpackage/order/pages/retail/detail/detail.vue create mode 100644 src/subpackage/order/static/images/order_manage/order_18.png diff --git a/src/components/order_list/retail/retail.vue b/src/components/order_list/retail/retail.vue new file mode 100644 index 0000000..c007d6f --- /dev/null +++ b/src/components/order_list/retail/retail.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/src/js/api.js b/src/js/api.js index eec907d..b3c3b31 100644 --- a/src/js/api.js +++ b/src/js/api.js @@ -42,7 +42,8 @@ export const API = { // hardwareOrderList: `${ORIGIN}/admin/stadium/hardware/order/list`, // 硬件管理-订单列表_copy hardwareOrderList: `${ORIGIN}/admin/assistant/hardware/order/list`, // 硬件管理-订单列表_copy appointmentOrderList: `${ORIGIN}/admin/gameAppointment/orderList`, // 赛事订单列表_copy - shop2OrderList: `${ORIGIN}/admin/shop2/orderList`, // 商城订单 - 列表_copy + shop2OrderList: `${ORIGIN}/admin/shop2/orderList`, // 商城订单 - 列表_copy交易成功 + retailOrderList: `${ORIGIN}/admin/erp/retailOrder/list`, // 订单管理-零售订单列表 // 营业额统计 turnoverBrand: `${ORIGIN}/admin/assistant/turnover/brand/calc`, // 营业额记录-品牌 diff --git a/src/pages.json b/src/pages.json index 72a67ad..c927fae 100644 --- a/src/pages.json +++ b/src/pages.json @@ -390,6 +390,12 @@ "root": "subpackage/order", "pages": [ { + "path": "pages/retail/detail/detail", + "style" : { + "navigationBarTitleText": "零售订单详情" + } + }, + { "path": "pages/mall/refund_list/refund_list", "style" : { "navigationBarTitleText": "退款" diff --git a/src/pages/order_list/order_list.vue b/src/pages/order_list/order_list.vue index 4f20478..8fff80c 100644 --- a/src/pages/order_list/order_list.vue +++ b/src/pages/order_list/order_list.vue @@ -62,6 +62,7 @@ + + + 商品名称: + + + 数量: + + + 价格: + + + + 合计支付:¥{{ orderInfo.pay_amount || 0 }} + + + + 支付详情 + + + + + + + + + + \ No newline at end of file diff --git a/src/subpackage/order/static/images/order_manage/order_18.png b/src/subpackage/order/static/images/order_manage/order_18.png new file mode 100644 index 0000000000000000000000000000000000000000..a8bafe4d4be634e9f0ed82eb3c4b0821c8bc87ae GIT binary patch literal 537 zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw3=&b&bO2Ju0X`wFKzjQ0=`&``m^pLi?Afz{ z3?P7rK)66QPznejQa~~)+gS^!O|T@$FPP!)!3XjS>=RxKdv_J;Y`#=~dG?2e3=E7d zo-U3d9>?EKi|#wDz{9{>#`H|E=>KIs4%cN(L5rrAMX&tKI)(9gfcl50^A+Z=nU%P; z^4YGea~DlY%D1-2or+p3$d(r{bMnFsPnX%u{qo|3@0-|THv1TTQWc_a9q!fLJLw?* z{HW;*9xjzReJyW7mh|#XCEFaYuX|QCV2OUzU#3$9Ho8Nw&_OB-ghfQ>8S0MeZu~q4A|F~*2eR0E1UOS$g$|t z``>=V(6vPLm^K#YO`Ck&HP#$Sy4UHC}yX& zdkFu6=;^<2x0yeAYi=alk)dt+hTn44{>e{kO%HE-KXspw>bxC}d~21XG-oOIOyX~l zi|