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 @@
+
+
+
+
+ {{item}}
+
+
+
+
+
+ 搜索优惠券名称
+
+
+ 搜索
+
+
+
+
+
+
+
+ 充值20元优惠券
+
+
+ ID:258792
+
+
+
+
+
+ 使用门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+ 券类型
+
+
+ 店铺领取可用
+
+
+
+
+ 使用门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+ 使用门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+ 使用门槛门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 充值20元优惠券
+
+
+ ID:258792
+
+
+
+
+
+ 使用门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+ 券类型
+
+
+ 店铺领取可用
+
+
+
+
+ 使用门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+ 使用门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+ 使用门槛门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 充值20元优惠券
+
+
+ ID:258792
+
+
+
+
+
+ 使用门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+ 券类型
+
+
+ 店铺领取可用
+
+
+
+
+ 使用门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+ 使用门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+ 使用门槛门槛
+
+
+ 满200.00元减20.00元
+
+
+
+
+
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+ 1000
+
+
+ 发放数量
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+ 123
+
+
+
+
+
+
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