Commit 7757716728421aee8630985d0feef178831588a1

Authored by wdn127929
1 parent bb9bb759

桌位页面去掉新增区域、新增桌位按钮

... ... @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objectVersion = 50;
objects = {
/* Begin PBXBuildFile section */
... ... @@ -659,7 +659,7 @@
CURRENT_PROJECT_VERSION = 490;
DEVELOPMENT_TEAM = 8J59HM8B82;
ENABLE_BITCODE = NO;
FLUTTER_BUILD_MODE = release;
FLUTTER_BUILD_MODE = debug;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
... ...
... ... @@ -200,14 +200,13 @@ class WineManageSunModel {
WineManageSunModel.fromJson(Map<String, dynamic> json) {
wineName = json['wine_name'];
wineAmount = double.parse(
json['wine_amount'] == '' || json['wine_amount'] == null
wineAmount = double.parse(json['wine_amount'] == '' || json['wine_amount'] == null
? '0'
: json['wine_amount'])
.toInt()
.toString();
.toInt()
.toString();
unit = json['unit'];
wineNumber = json['wine_number'] ?? "";
wineNumber = json['wine_number']?? "";
// wineStock = json['wine_stock'] ?? "";
wineStock = double.parse(
json['wine_stock'] == '' || json['wine_stock'] == null
... ...
... ... @@ -3501,29 +3501,27 @@ class TableManagerPageState extends State<TableManagerPage> {
),
child: Row(
children: [
// Container(
// width:
// ScreenUtil().setWidth(2),
// height:
// ScreenUtil().setWidth(80),
// decoration: BoxDecoration(
// gradient: LinearGradient(
// stops: [0, 1, 0],
// begin: Alignment.centerLeft,
// end: Alignment.centerRight,
// colors: [
// MyColours.color_F8F9FD,
// MyColours.color_F1F0F4,
// MyColours.color_F8F9FD,
// ],
// ),
// )),
MyDivider(ScreenUtil().setWidth(15),
ScreenUtil().setWidth(80),
color: MyColours.color_F1F0F4),
MyDivider(ScreenUtil().setWidth(2),
ScreenUtil().setWidth(80),
color: MyColours.color_9C9C9C),
Container(
width: ScreenUtil().setWidth(2),
height:
ScreenUtil().setWidth(80),
decoration: BoxDecoration(
gradient: LinearGradient(
colors: [
MyColours.color_F8F9FD,
MyColours.color_C9C9C9,
MyColours.color_F8F9FD
],
stops: [0.1, 0.5, 1],
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
))),
// MyDivider(ScreenUtil().setWidth(15),
// ScreenUtil().setWidth(80),
// color: MyColours.color_F1F0F4),
// MyDivider(ScreenUtil().setWidth(2),
// ScreenUtil().setWidth(80),
// color: MyColours.color_9C9C9C),
HEmptyView(30),
Image.asset(
model.swichState
... ...
... ... @@ -194,6 +194,8 @@ dependencies:
# 柱形图
fl_chart: ^0.62.0
# shimmer: ^3.0.0
# ai_barcode 3.2.4
... ...