diff --git a/pageCoupon/discountCoupons.vue b/pageCoupon/discountCoupons.vue new file mode 100644 index 0000000..73816ad --- /dev/null +++ b/pageCoupon/discountCoupons.vue @@ -0,0 +1,280 @@ + + + + \ No newline at end of file diff --git a/pageCoupon/index.vue b/pageCoupon/index.vue new file mode 100644 index 0000000..ccf5b16 --- /dev/null +++ b/pageCoupon/index.vue @@ -0,0 +1,515 @@ + + + + + \ No newline at end of file diff --git a/pageSalesSummary/index.vue b/pageSalesSummary/index.vue new file mode 100644 index 0000000..1d5cc61 --- /dev/null +++ b/pageSalesSummary/index.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/pages.json b/pages.json index 26c87fd..5d90f77 100644 --- a/pages.json +++ b/pages.json @@ -2,8 +2,8 @@ "easycom": { "autoscan": true, "custom": { - "^my-(.*)":"@/components/my-components/my-$1.vue", - "^u-(.*)": "@/components/my-components/u-$1/u-$1.vue" + "^my-(.*)": "@/components/my-components/my-$1.vue", + "^u-(.*)": "@/components/my-components/u-$1/u-$1.vue" } }, "pages": [{ @@ -875,18 +875,16 @@ }, { "pageId": "PAGES_PRODUCT_INVOICING_LIST", - "path" : "invoicing-list/invoicing-list", - "style" : - { - "navigationBarTitleText" : "库存记录" + "path": "invoicing-list/invoicing-list", + "style": { + "navigationBarTitleText": "库存记录" } }, { "pageId": "PAGES_PRODUCT_INVOICING_CHECK", - "path" : "invoicing-check/invoicing-check", - "style" : - { - "navigationBarTitleText" : "库存盘点" + "path": "invoicing-check/invoicing-check", + "style": { + "navigationBarTitleText": "库存盘点" } } @@ -997,18 +995,16 @@ }, { "pageId": "PAGES_CRESATE_ORDER_DETAIL", - "path" : "order-detail/order-detail", - "style" : - { - "navigationBarTitleText" : "订单详情" + "path": "order-detail/order-detail", + "style": { + "navigationBarTitleText": "订单详情" } }, { "pageId": "PAGES_CRESATE_ORDER_PAY", - "path" : "pay-order/pay-order", - "style" : - { - "navigationBarTitleText" : "结账" + "path": "pay-order/pay-order", + "style": { + "navigationBarTitleText": "结账" } } @@ -1180,48 +1176,72 @@ { "root": "pageStoringWine", "pages": [{ - "pageId": "PAGES_STORING_WINE_INDEX", - "path": "index/index", + "pageId": "PAGES_STORING_WINE_INDEX", + "path": "index/index", + "style": { + "navigationBarTitleText": "存酒管理" + } + }, + { + "pageId": "PAGES_STORING_WINE_EDIT", + "path": "storing-wine/storing-wine", + "style": { + "navigationBarTitleText": "存酒" + } + }, + { + "pageId": "PAGES_STORING_WINE_RECORD_DETAIL", + "path": "record-details/record-details", + "style": { + "navigationBarTitleText": "记录详情" + } + } + ] + }, + { + "root": "pageCoupon", + "pages": [{ + "pageId": "PAGES_COUPON_INDEX", + "path": "index", "style": { - "navigationBarTitleText": "存酒管理" + "navigationBarTitleText": "优惠券管理" } - }, - { - "pageId": "PAGES_STORING_WINE_EDIT", - "path" : "storing-wine/storing-wine", - "style" : - { - "navigationBarTitleText" : "存酒" - } - }, - { - "pageId": "PAGES_STORING_WINE_RECORD_DETAIL", - "path" : "record-details/record-details", - "style" : - { - "navigationBarTitleText" : "记录详情" + }, { + "pageId": "PAGES_COUPON_DISCOUNTCOUPONS", + "path": "discountCoupons", + "style": { + "navigationBarTitleText": "添加折扣券" } }] - },{ + }, + { + "root": "pageSalesSummary", + "pages": [{ + "pageId": "PAGES_SALES_SUMMARY", + "path": "index", + "style": { + "navigationBarTitleText": "销售汇总" + } + }] + }, + { "root": "pagePrinter", "pages": [{ - "pageId": "PAGES_PRINTER_INDEX", - "path" : "index/index", - "style" : + "pageId": "PAGES_PRINTER_INDEX", + "path": "index/index", + "style": { + "navigationBarTitleText": "打印机" + } + }, { - "navigationBarTitleText" : "打印机" + "pageId": "PAGES_PRINTER_ADD", + "path": "add-printer/add-printer", + "style": { + // "navigationBarTitleText" : "添加/编辑云打印机" + "navigationBarTitleText": "" + } } - }, - { - "pageId": "PAGES_PRINTER_ADD", - "path" : "add-printer/add-printer", - "style" : - { - // "navigationBarTitleText" : "添加/编辑云打印机" - "navigationBarTitleText" : "" - } - } - + ] } ], diff --git a/pages/index/index.vue b/pages/index/index.vue index c18ed3a..27e6064 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -188,8 +188,18 @@ title: '极速开票', icon: '/static/indexImg/red-envelope.svg', pageUrl: 'PAGES_INVOICE' + }, + // { + // title: '优惠券', + // icon: '/static/indexImg/red-envelope.svg', + // pageUrl: 'PAGES_COUPON_INDEX' + // }, + { + title: '销售汇总', + icon: '/static/indexImg/PAGE_SALES_SUMMARY.svg', + pageUrl: 'PAGES_SALES_SUMMARY' } - + ]; // 如果不是超管 删除 刷脸广告菜单 if (storageManage.userInfo().userType != 1) { diff --git a/static/indexImg/PAGE_SALES_SUMMARY.svg b/static/indexImg/PAGE_SALES_SUMMARY.svg new file mode 100644 index 0000000..a53761d --- /dev/null +++ b/static/indexImg/PAGE_SALES_SUMMARY.svg @@ -0,0 +1 @@ + \ No newline at end of file