|
@@ -89,6 +89,7 @@ func OrderList(c *gin.Context) { |
|
|
"store_name": storeName, |
|
|
"store_name": storeName, |
|
|
"goods_info": goodsInfo, |
|
|
"goods_info": goodsInfo, |
|
|
"amount": v.Amount, |
|
|
"amount": v.Amount, |
|
|
|
|
|
"table_num": v.TableNum, |
|
|
"num": utils.IntToStr(v.Num), |
|
|
"num": utils.IntToStr(v.Num), |
|
|
"timer": "", |
|
|
"timer": "", |
|
|
"code": v.Code, |
|
|
"code": v.Code, |
|
@@ -202,6 +203,7 @@ func OrderDetail(c *gin.Context) { |
|
|
"km": km, |
|
|
"km": km, |
|
|
"amount": data.Amount, |
|
|
"amount": data.Amount, |
|
|
"num": utils.IntToStr(data.Num), |
|
|
"num": utils.IntToStr(data.Num), |
|
|
|
|
|
"table_num": data.TableNum, |
|
|
"timer": "", |
|
|
"timer": "", |
|
|
"code": data.Code, |
|
|
"code": data.Code, |
|
|
"down_time": downTime, |
|
|
"down_time": downTime, |
|
@@ -622,6 +624,7 @@ func OrderCreate(c *gin.Context) { |
|
|
Oid: utils.StrToInt64(ordId), |
|
|
Oid: utils.StrToInt64(ordId), |
|
|
Amount: totalPrice, |
|
|
Amount: totalPrice, |
|
|
MealNum: utils.StrToInt(arg.MealNum), |
|
|
MealNum: utils.StrToInt(arg.MealNum), |
|
|
|
|
|
TableNum: arg.TableNum, |
|
|
} |
|
|
} |
|
|
if store.ParentUid > 0 { //代理下门店 |
|
|
if store.ParentUid > 0 { //代理下门店 |
|
|
order.StoreType = 2 |
|
|
order.StoreType = 2 |
|
|