Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
takeout_sbk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yunpeng.song
takeout_sbk
Commits
20df9727
Commit
20df9727
authored
Sep 21, 2020
by
wuyang.zou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix new Feature
Support Main Product No Split Qty
parent
525ea836
Pipeline
#25531
failed with stage
in 0 seconds
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
5 deletions
+10
-5
fmTakeout/Control/flowControl.cpp
+0
-0
fmTakeout/Model/dishesObject.h
+4
-0
fmTakeout/Model/orderObject.cpp
+1
-0
fmTakeout/fmTakeout.rc
+4
-4
fmTakeout/preDefine.h
+1
-1
No files found.
fmTakeout/Control/flowControl.cpp
View file @
20df9727
This diff is collapsed.
Click to expand it.
fmTakeout/Model/dishesObject.h
View file @
20df9727
...
...
@@ -19,6 +19,7 @@ class dishesObject : public QObject
Q_PROPERTY
(
int
packagePrice
READ
getpackagePrice
WRITE
setpackagePrice
)
Q_PROPERTY
(
int
sequence
READ
getSequence
WRITE
setSequence
)
Q_PROPERTY
(
int
qty
READ
getqty
WRITE
setqty
)
Q_PROPERTY
(
int
qtyNoSplit
READ
getQtyNoSplit
WRITE
setQtyNoSplit
)
Q_PROPERTY
(
int
price
READ
getprice
WRITE
setprice
)
Q_PROPERTY
(
QString
options
READ
getoptions
WRITE
setoptions
)
...
...
@@ -49,6 +50,7 @@ public:
QString
defaultImage
;
QString
code
;
int
qty
;
int
qtyNoSplit
;
int
packagePrice
;
int
price
;
int
sequence
;
...
...
@@ -110,6 +112,8 @@ protected:
inline
int
getqty
(){
return
qty
;
}
inline
void
setqty
(
const
int
&
v
){
qty
=
v
;
}
inline
int
getQtyNoSplit
(){
return
qtyNoSplit
;
}
inline
void
setQtyNoSplit
(
const
int
&
v
){
qtyNoSplit
=
v
;
}
inline
QString
getpromotionSku
(){
return
promotionSku
;
}
inline
void
setpromotionSku
(
const
QString
&
v
){
promotionSku
=
v
;
}
...
...
fmTakeout/Model/orderObject.cpp
View file @
20df9727
...
...
@@ -79,6 +79,7 @@ void OrderObject::FromJson(const QJsonObject &json)
dishesObject
*
proObject
=
new
dishesObject
(
this
);
//初始商品数据信息;
proObject
->
qty
=
0
;
proObject
->
qtyNoSplit
=
0
;
proObject
->
promotionQty
=
0
;
proObject
->
promotionPrice
=
0
;
proObject
->
starPromotionQty
=
0
;
...
...
fmTakeout/fmTakeout.rc
View file @
20df9727
...
...
@@ -7,8 +7,8 @@ IDI_ICON ICON DISCARDABLE "logo.ico"
#endif
VS_VERSION_INFO VERSIONINFO
//***每次修改后编译发版必须变更版本号(preDefine.h中APP_VERSION 需要一致)***//
FILEVERSION 2,2020,9,2
8
PRODUCTVERSION 2,2020,9,2
8
FILEVERSION 2,2020,9,2
9
PRODUCTVERSION 2,2020,9,2
9
//*************************************************************************//
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
...
...
@@ -31,8 +31,8 @@ VS_VERSION_INFO VERSIONINFO
VALUE "OriginalFilename", "fmTakeout.exe"
VALUE "ProductName", "Delivery Order Plugin"
//***每次修改后编译发版必须变更版本号(preDefine.h中APP_VERSION 需要一致)***//
VALUE "ProductVersion", "2.2020.9.2
8
"
VALUE "FileVersion", "2.2020.9.2
8
"
VALUE "ProductVersion", "2.2020.9.2
9
"
VALUE "FileVersion", "2.2020.9.2
9
"
//*************************************************************************//
END
END
...
...
fmTakeout/preDefine.h
View file @
20df9727
...
...
@@ -29,7 +29,7 @@
//#define APP_VERSION "2.2020.5.26"
//#define APP_VERSION "2.2020.6.29"
//#define APP_VERSION "2.2020.8.10"
#define APP_VERSION "2.2020.9.2
8
"
#define APP_VERSION "2.2020.9.2
9
"
//修正版本号时,切记修正 FmTakeout.rc 中的版本号
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment