Commit 4902c54177623fa4f24bca0161496d36517ad0b4

Authored by wdn127929
1 parent 0c444caf

门店收款码 OK

... ... @@ -449,7 +449,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 5505;
CURRENT_PROJECT_VERSION = 5507;
DEVELOPMENT_TEAM = 8J59HM8B82;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
... ... @@ -632,7 +632,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 5505;
CURRENT_PROJECT_VERSION = 5507;
DEVELOPMENT_TEAM = 8J59HM8B82;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
... ... @@ -658,7 +658,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 5505;
CURRENT_PROJECT_VERSION = 5507;
DEVELOPMENT_TEAM = 8J59HM8B82;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
... ...
... ... @@ -207,6 +207,10 @@ class Constant {
'管理员',
'店长',
],
'收银管理': [
'管理员',
'店长',
],
'订座详情-电话': [
'管理员',
'前台',
... ...
class PaymentCodeModel {
int? ret;
String? data;
String? msg;
PaymentCodeModel({this.ret, this.data, this.msg});
PaymentCodeModel.fromJson(Map<dynamic, dynamic> json) {
ret = json['ret'];
data = json['data'];
msg = json['msg'];
}
Map<dynamic, dynamic> toJson() {
final Map<dynamic, dynamic> data = new Map<dynamic, dynamic>();
data['ret'] = this.ret;
data['data'] = this.data;
data['msg'] = this.msg;
return data;
}
}
... ...
... ... @@ -595,11 +595,11 @@ class HttpUrl {
static const get_seller_cuisine =
"?service=App.Seller.GetSellerCuisine"; // 获取商家所属菜系
static const set_seller_config_by_pc =
static const set_seller_config_by_pc =
"?service=App.Seller.SetSellerConfigByPC"; // PC维护商家基本信息,保存人均消费
static const set_seller_cuisine =
static const set_seller_cuisine =
"?service=App.Seller.SetSellerCuisine"; // 设置商家所属菜系
static const create_pay_qrcode =
"?service=App.Seller.CreatePayQrcode"; // 生成商家收款二维码
}
... ...
... ... @@ -462,13 +462,16 @@ class _CouponEidtPageState extends State<CouponEidtPage> {
//输入文本的样式
inputFormatters: title == '券名称'
? [LengthLimitingTextInputFormatter(15)]
: title == '券金额' ||
title == '领取后有效天数' ||
title == '消费要求(0为无门槛)' ||
title == '分享佣金' ||
title == '发放总量限制'
: title == '领取后有效天数' || title == '发放总量限制'
? [FilteringTextInputFormatter.digitsOnly]
: [], // 限制输入为数字,
: title == '券金额' ||
title == '分享佣金' ||
title == '消费要求(0为无门槛)'
? [
FilteringTextInputFormatter.allow(
RegExp("[0-9.]")),
]
: [], // 限制输入为数字,
style: TextStyle(
color: MyColours.color_515151,
fontSize: ScreenUtil().setSp(28),
... ... @@ -1629,13 +1632,24 @@ class _CouponEidtPageState extends State<CouponEidtPage> {
Utils.showToast('请填写发放总量限制');
return;
}
// bool isNumber = Utils.isInteger(
// _limitNumControl.text.trim()); //判断输入的内容是否是数字
// if (!isNumber) {
// Utils.showToast('发放总量限制请输入数字');
// _limitNumControl.text = '';
// return;
// }
if (!Utils.isInteger(_priceControl.text.trim())) {
Utils.showToast('券金额请输入数字');
_priceControl.text = '';
return;
}
if (!Utils.isInteger(
_couponRequireEditControl.text.trim())) {
Utils.showToast('消费要求请输入数字');
_couponRequireEditControl.text = '';
return;
}
if (!Utils.isInteger(_commissionControl.text.trim())) {
Utils.showToast('分享佣金请输入数字');
_commissionControl.text = '';
return;
}
// ***参数***
// _couponNameEditControl.text
... ...
... ... @@ -407,9 +407,10 @@ class _CouponEidtPayPageState extends State<CouponEidtPayPage> {
//输入文本的样式
inputFormatters: title == '券名称'
? [LengthLimitingTextInputFormatter(15)]
: title == '销售价'
? [FilteringTextInputFormatter.digitsOnly]
: [],
:title == '销售价'? [
FilteringTextInputFormatter.allow(
RegExp("[0-9.]")),
]: [],
style: TextStyle(
color: MyColours.color_515151,
fontSize: ScreenUtil().setSp(32),
... ... @@ -1325,6 +1326,12 @@ class _CouponEidtPayPageState extends State<CouponEidtPayPage> {
Utils.showToast('请输入销售价,且必须大于0');
return;
}
if (!Utils.isInteger(
_priceControl.text.trim())) {
Utils.showToast('销售价请输入数字');
_priceControl.text = '';
return;
}
if (!widget.isMine) {
if (money && moneyControl.text.trim().length == 0) {
Utils.showToast('请输入代金券金额!');
... ... @@ -1358,15 +1365,15 @@ class _CouponEidtPayPageState extends State<CouponEidtPayPage> {
}
}
if (_couponRequireEditControl.text.trim().length == 0) {
Utils.showToast('请填写券要求');
Utils.showToast('请填写消费要求');
return;
}
if (fromDate == '点击选择') {
Utils.showToast('请选择有效期起始时间');
Utils.showToast('请选择活动开始时间');
return;
}
if (endDate == '点击选择') {
Utils.showToast('请选择有效期结束时间');
Utils.showToast('请选择活动结束时间');
return;
}
if (DateUtil.getDateTime(endDate)
... ...
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:one_key/route/navigator_util.dart';
import 'package:one_key/widgets/system_app_bar.dart';
import '../../../res/colors.dart';
import '../../../utils/screen_util.dart';
import '../../../utils/utils.dart';
import '../../../widgets/h_empty_view.dart';
/**
* 收银管理主页
*/
class FinanceManageHomePage extends StatefulWidget {
const FinanceManageHomePage({super.key});
@override
State<FinanceManageHomePage> createState() => _FinanceManageHomePageState();
}
class _FinanceManageHomePageState extends State<FinanceManageHomePage> {
///时间选择
Widget _item(String title, GestureTapCallback onTap) {
return InkWell(
onTap: onTap,
child: Container(
padding: EdgeInsets.only(
left: w(16),
bottom: w(12),
top: w(12),
),
margin: EdgeInsets.only(bottom: w(12)),
decoration: BoxDecoration(
border: Border(
bottom:
BorderSide(color: MyColours.color_E7E7E7, width: w(0.5)))),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
child: Text(
title,
style: TextStyle(
color: MyColours.color_515151,
fontSize: ScreenUtil().setSp(32)),
),
),
Spacer(),
Image.asset(
Utils.getImgPath('arrow_right_new'),
width: ScreenUtil().setWidth(20),
),
HEmptyView(24),
],
),
),
);
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: SystemAppBar('收银管理'),
backgroundColor: MyColours.color_ffffff,
body: SingleChildScrollView(
child: Column(
children: [
_item('收银资料上传', () {}),
_item('微信商户账户开通结果查询', () {}),
_item('支付返券', () {}),
_item('门店收款码', () {
NavigatorUtil.goPaymentCodePage(context);
}),
_item('资金明细', () {}),
_item('提现设置', () {})
],
),
),
);
}
}
... ...
import 'dart:io';
import 'dart:typed_data';
import 'dart:ui';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:image_gallery_saver/image_gallery_saver.dart';
import 'package:one_key/provider/user_model.dart';
import 'package:one_key/widgets/round_button.dart';
import 'package:one_key/widgets/system_app_bar.dart';
import 'package:one_key/widgets/v_empty_view.dart';
import 'package:permission_handler/permission_handler.dart';
import 'package:provider/provider.dart';
import '../../../constant/state.dart';
import '../../../provider/finance_provider.dart';
import '../../../res/colors.dart';
import '../../../utils/screen_util.dart';
import '../../../utils/utils.dart';
import '../../../widgets/h_empty_view.dart';
import '../../../widgets/loading.dart';
import 'dart:ui' as ui;
/**
* 收款码
*/
class PaymentCodePage extends StatefulWidget {
const PaymentCodePage({super.key});
@override
State<PaymentCodePage> createState() => _PaymentCodePageState();
}
class _PaymentCodePageState extends State<PaymentCodePage> {
FinanceProvider? financeProvider;
final GlobalKey globalKey = GlobalKey();
@override
void initState() {
super.initState();
WidgetsBinding.instance.addPostFrameCallback((_) async {
_createPayQrcode();
});
}
_createPayQrcode() {
financeProvider!.createPayQrcode(context);
}
/// 截图
Future<Uint8List?> _capturePng(
GlobalKey globalKey,
// {
// double pixelRatio = 2.0, //截屏的图片与原图的比例
// }
) async {
try {
RenderRepaintBoundary boundary =
globalKey.currentContext?.findRenderObject() as RenderRepaintBoundary;
double dpr = ui.window.devicePixelRatio; // 获取当前设备的像素比
var image = await boundary.toImage(pixelRatio: dpr);
ByteData? byteData = await image.toByteData(format: ImageByteFormat.png);
Uint8List? pngBytes = byteData?.buffer.asUint8List();
return pngBytes;
} catch (e) {
print(e);
}
return null;
}
@override
Widget build(BuildContext context) {
financeProvider = Provider.of<FinanceProvider>(context, listen: true);
return Scaffold(
appBar: SystemAppBar('门店收款码'),
backgroundColor: MyColours.color_ffffff,
body: Column(
children: [
Expanded(
child: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
//二维码图片
//
RepaintBoundary(
key: globalKey,
child: Column(
children: [
Container(
margin: EdgeInsets.symmetric(horizontal: w(57)),
padding: EdgeInsets.symmetric(
horizontal: w(25), vertical: w(35)),
color: MyColours.color_09BB07,
child: Column(
children: [
Text(
'请使用微信扫一扫',
style: TextStyle(
color: MyColours.color_ffffff,
fontSize: font(16),
fontWeight: FontWeight.bold),
),
VEmptyView(20),
Consumer<FinanceProvider>(
builder: (context, model, _) {
if (model.pageState != PageState.Success) {
return Center(
child: SizedBox(
width: ScreenUtil().setWidth(80),
height: ScreenUtil().setWidth(80),
child:
CupertinoActivityIndicator()),
);
} else {
return Container(
padding: EdgeInsets.symmetric(
horizontal: w(21),
vertical: w(16)),
color: MyColours.color_ffffff,
child: Column(
children: [
CachedNetworkImage(
imageUrl: financeProvider!
.paymentCodeUrl),
// VEmptyView(28),
Text(
'${Provider.of<UserModel>(context).user!.sellername}',
maxLines: 3,
overflow: TextOverflow.ellipsis,
style: TextStyle(
color:
MyColours.color_000000,
fontSize: font(14)),
)
],
));
}
})
],
),
),
Container(
margin: EdgeInsets.symmetric(horizontal: w(57)),
padding: EdgeInsets.symmetric(
horizontal: w(25), vertical: w(11)),
decoration: BoxDecoration(
color: MyColours.color_ffffff,
border: Border.all(
color: MyColours.color_09BB07,
width: w(2))),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Image.asset(
Utils.getImgPath('vector'),
width: w(37),
),
HEmptyView(12),
Text(
'微信支付',
style: TextStyle(
color: MyColours.color_515151,
fontSize: font(28)),
)
],
)),
],
)),
VEmptyView(160),
Padding(
padding: EdgeInsets.symmetric(horizontal: w(16)),
child: Text(
'提示:',
textAlign: TextAlign.left,
style: TextStyle(
fontSize: w(16),
height: 1.5,
fontWeight: FontWeight.bold,
color: MyColours.color_000000),
)),
Padding(
padding: EdgeInsets.symmetric(horizontal: w(16)),
child: Text(
'请将收款码出示给顾客,顾客扫码支付时可以自动识别拥有的代金券,并自动在餐厅设定的规则下使用。',
textAlign: TextAlign.left,
style: TextStyle(
fontSize: w(14),
height: 1.5,
color: MyColours.color_000000),
))
],
),
),
),
Container(
padding: EdgeInsets.symmetric(vertical: w(13), horizontal: w(79)),
child: RoundButton(
text: '保存收款码图片',
height: w(43),
radius: r(5),
gradientStart: MyColours.color_ffffff,
gradientEnd: MyColours.color_ffffff,
borderColor: MyColours.color_438E93,
textColor: MyColours.color_438E93,
isBold: true,
fontSize: 32,
onPressed: () {
Utils.getPickPermission(context, () async {
//获取截屏图像
//添加到图片数组中
Loading.showLoading(
context,
);
Uint8List? value = await _capturePng(globalKey);
if (value != null) {
print(value);
final result = await ImageGallerySaver.saveImage(value,
quality: 100);
if (result != null) {
Utils.showToast("保存成功");
} else {
print('error');
Utils.showToast("保存失败");
// toast("");
}
Loading.hideLoading(context);
// setState(() {});
}
}, Platform.isIOS ? Permission.photos : Permission.storage);
},
),
)
],
));
}
}
... ...
import 'dart:convert';
import 'package:common_utils/common_utils.dart';
... ... @@ -246,7 +245,6 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
edate = DateTime.fromMillisecondsSinceEpoch(
int.parse(collectStoreProvider.sellerNormalEdate!) * 1000);
DateTime datenow = DateTime.now();
//比较相差的天数
... ... @@ -358,14 +356,14 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
int differenceSeconds = edate!.difference(datenow).inSeconds;
if (difference < 0 || (difference == 0 && differenceSeconds <= 0)) {
//过期
outDay = '0';
} else if (difference == 0 && differenceSeconds > 0) {
outDay = '1';
} else {
outDay = difference.toString();
}
if (difference < 0 || (difference == 0 && differenceSeconds <= 0)) {
//过期
outDay = '0';
} else if (difference == 0 && differenceSeconds > 0) {
outDay = '1';
} else {
outDay = difference.toString();
}
// print(outDay);
} else {
... ... @@ -392,14 +390,14 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
edate = DateTime.fromMillisecondsSinceEpoch(
int.parse(collectStoreProvider.sellerNormalEdate!) * 1000);
DateTime datenow = DateTime.now();
DateTime datenow = DateTime.now();
//比较相差的天数
int difference = edate!.difference(datenow).inDays;
int differenceSeconds = edate!.difference(datenow).inSeconds;
if (difference < 0 || (difference == 0 && differenceSeconds <= 0)) {
if (difference < 0 || (difference == 0 && differenceSeconds <= 0)) {
//过期
outDay = '0';
} else if (difference == 0 && differenceSeconds > 0) {
... ... @@ -527,7 +525,8 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
ScreenUtil().setWidth(40)),
child: model.user!.sellerimage ==
null ||
model.user!.sellerimage == ''
model.user!.sellerimage ==
''
? Image.asset(
Utils.getImgPath(
'base_tx_mr'),
... ... @@ -571,8 +570,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
Text(
'店铺编号:' +
model.user!.sellerid!.padLeft(6, '0'),
style:
TextStyle(
style: TextStyle(
fontWeight: FontWeight.bold,
color: MyColours.color_ffffff,
fontSize: font(10)),
... ... @@ -582,8 +580,9 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
'员工编号:' +
model.user!.account! +
" " +
(model.user!.role_name_addition ?? ''),
style: TextStyle(
(model.user!.role_name_addition ??
''),
style: TextStyle(
fontWeight: FontWeight.bold,
color: MyColours.color_ffffff,
fontSize: font(10)),
... ... @@ -1612,10 +1611,30 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
isRowLow: outDay == '0' ||
!Utils.getAuthority(
context, '评价管理'))),
// InkWell(
// onTap: () {}, child: _item('', '空空空空')),
InkWell(
onTap: () {}, child: _item('', '空空空空')),
onTap: () {
if (outDay == '0') {
return;
}
if (Utils.getAuthority(
context, '收银管理')) {
NavigatorUtil
.goFinanceManageHomePage(
context);
}
},
child: _item(
outDay == '0' ||
!Utils.getAuthority(
context, '收银管理')
? Utils.getImgPath(
'my_comment_un')
: Utils.getImgPath(
'my_comment'),
'收银管理',
isRowLow: outDay == '0' ||
!Utils.getAuthority(
context, '收银管理'))),
],
)
],
... ...
import 'package:flutter/material.dart';
import 'package:one_key/provider/user_model.dart';
import 'package:provider/provider.dart';
import '../constant/constant.dart';
import '../constant/error.dart';
import '../constant/state.dart';
import '../models/payment_code_model.dart';
import '../net/base_resp.dart';
import '../net/dio_util.dart';
import '../net/http_url.dart';
import '../utils/utils.dart';
class FinanceProvider extends ChangeNotifier {
PageState pageState = PageState.Loading;
String paymentCodeUrl = '';
///客户经理获取所创建活动列表
Future createPayQrcode(
BuildContext context,
{isShowLoading = true}) async {
try {
Map<String, String?> params = {
'sellerid':Provider.of<UserModel>(context,listen: false).user!.sellerid,
};
BaseResp<dynamic> baseResp = await DioUtil().request<dynamic>(
context, Method.post, HttpUrl.create_pay_qrcode,
data: params, showLoading: false);
if (baseResp.code == Constant.status_success) {
if (baseResp.data.isEmpty) {
// if (isShowLoading) {
pageState = PageState.Empty;
// }
} else {
// if (isShowLoading) {
pageState = PageState.Success;
// }
}
paymentCodeUrl =
PaymentCodeModel.fromJson(baseResp.responseData!).data ?? '';
} else {
if (isShowLoading) {
pageState = PageState.ConnectivityError;
}
if (baseResp != null) {
Utils.showToast(baseResp.msg ?? "");
}
}
notifyListeners();
} catch (error) {
print(error.toString());
if (error is MyError) {
if (isShowLoading) {
switch (error.type) {
case 1:
pageState = PageState.ConnectivityError;
break;
case 2:
pageState = PageState.ConnectivityTimeOut;
break;
default:
pageState = PageState.ConnectivityError;
break;
}
}
}
notifyListeners();
}
}
}
... ...
... ... @@ -21,6 +21,8 @@ class MyColours {
static const Color color_EEAE74 = Color(0xFFEEAE74);
static const Color color_C76216 = Color(0xFFC76216);
static const Color color_0C0F0E = Color(0xFF0C0F0E);
static const Color color_09BB07 = Color(0xFF09BB07);
static const Color color_0143A3 = Color(0xFF0143A3);
static const Color color_438E93 = Color(0xFF438E93);
static const Color color_28323B = Color(0xFF28323B);
... ...
... ... @@ -377,7 +377,8 @@ class NavigatorUtil {
"${Routes.coupon_eidt_pay_page}?isMine=${isMine}&couponSunModel=${FluroConvertUtils.object2string(couponSunModel)}",
replace: replace);
}
return _navigateTo(context, "${Routes.coupon_eidt_pay_page}?isMine=${isMine}",
return _navigateTo(
context, "${Routes.coupon_eidt_pay_page}?isMine=${isMine}",
replace: replace);
}
... ... @@ -2345,4 +2346,22 @@ class NavigatorUtil {
context, "${Routes.birthday_sms_module_setting_page}?type=$type",
replace: replace);
}
///收银管理首页
static Future<dynamic> goFinanceManageHomePage(
BuildContext context, {
replace = false,
}) {
return _navigateTo(context, "${Routes.finance_manage_home_page}",
replace: replace);
}
///门店收款码
static Future<dynamic> goPaymentCodePage(
BuildContext context, {
replace = false,
}) {
return _navigateTo(context, "${Routes.payment_code_page}",
replace: replace);
}
}
... ...
... ... @@ -221,6 +221,8 @@ import '../pages/my/feast_manage/feast_setmeal_manage_edit_page.dart';
import '../pages/my/feast_manage/feast_type_page.dart';
import '../pages/my/feast_manage/feast_wine_manage_edit_page.dart';
import '../pages/my/feast_manage/feast_wine_manage_page.dart';
import '../pages/my/finance_manage/finance_manage_home_page.dart';
import '../pages/my/finance_manage/payment_code_page.dart';
import '../pages/my/input_name_phone_setting_page.dart';
import '../pages/my/marketing_center/birthday_setting_page.dart';
import '../pages/my/marketing_center/birthday_sms_module_setting_page.dart';
... ... @@ -304,6 +306,7 @@ import '../provider/SmsModel.dart';
import '../provider/collect_store_provider.dart';
import '../provider/comment_manage_provider.dart';
import '../provider/feast_model.dart';
import '../provider/finance_provider.dart';
import '../provider/marketing_center_provider.dart';
import '../provider/notebook_detail_change_model_only.dart';
... ... @@ -4084,9 +4087,7 @@ var birthdaySmsModuleSettingPageHandle = new Handler(
child: BirthdaySmsModuleSettingPage(type: type));
});
///创建优惠券
///创建优惠券
var couponEidtPayPageHandle = new Handler(
handlerFunc: (BuildContext? context, Map<String, List<Object>> params) {
// String rid = params["rid"].first;
... ... @@ -4103,3 +4104,36 @@ var couponEidtPayPageHandle = new Handler(
create: (_) => UploadImageProvider(),
child: CouponEidtPayPage(isMine: false, couponSunModel: couponSunModel));
});
///收银管理首页
var financeManageHomePageHandle = new Handler(
handlerFunc: (BuildContext? context, Map<String, List<Object>> params) {
// String rid = params["rid"].first;
// bool isMine =
// FluroConvertUtils.string2bool(params["isMine"]!.first as String);
// CouponSunModel? couponSunModel;
// if (params.keys.contains("couponSunModel")) {
// couponSunModel = CouponSunModel.fromJson(json.decode(
// FluroConvertUtils.fluroCnParamsDecode(
// params["couponSunModel"]!.first as String)));
// }
return FinanceManageHomePage();
});
///门店收款码
var paymentCodePageHandle = new Handler(
handlerFunc: (BuildContext? context, Map<String, List<Object>> params) {
// String rid = params["rid"].first;
// bool isMine =
// FluroConvertUtils.string2bool(params["isMine"]!.first as String);
// CouponSunModel? couponSunModel;
// if (params.keys.contains("couponSunModel")) {
// couponSunModel = CouponSunModel.fromJson(json.decode(
// FluroConvertUtils.fluroCnParamsDecode(
// params["couponSunModel"]!.first as String)));
// }
return ChangeNotifierProvider<FinanceProvider>(
create: (_) => FinanceProvider(), child: PaymentCodePage());
});
... ...
import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart' hide Router;
import 'package:one_key/pages/login/login_page.dart';
... ... @@ -402,10 +401,11 @@ class Routes {
static String birthday_sms_module_setting_page =
"/birthday_sms_module_setting_page"; //客户生日提前通知短信设置
static String coupon_eidt_pay_page =
"/coupon_eidt_pay_page"; //老的店铺券创建页面
static String coupon_eidt_pay_page = "/coupon_eidt_pay_page"; //老的店铺券创建页面
static String finance_manage_home_page = "/finance_manage_home_page"; //收银管理首页
static String payment_code_page = "/payment_code_page"; //门店收款码
static void configureRoutes(FluroRouter router) {
router.notFoundHandler = new Handler(
... ... @@ -764,8 +764,10 @@ class Routes {
router.define(birthday_sms_module_setting_page,
handler: birthdaySmsModuleSettingPageHandle);
router.define(coupon_eidt_pay_page,
handler: couponEidtPayPageHandle);
router.define(coupon_eidt_pay_page, handler: couponEidtPayPageHandle);
router.define(finance_manage_home_page,
handler: financeManageHomePageHandle);
router.define(payment_code_page, handler: paymentCodePageHandle);
}
}
... ...