Compare commits
2 Commits
fcd8733679
...
5cf8958313
| Author | SHA1 | Date | |
|---|---|---|---|
| 5cf8958313 | |||
| f6e326794e |
@@ -75,7 +75,9 @@ func (h *StockInHandler) List(c *gin.Context) {
|
||||
query.Count(&total)
|
||||
|
||||
orders := make([]model.StockInOrder, 0)
|
||||
query.Preload("Warehouse", "shop_id = ?", shopID).
|
||||
// 列表卡片需要 items.length 显示品项数(手机端 MCard sub 行)
|
||||
query.Preload("Items").
|
||||
Preload("Warehouse", "shop_id = ?", shopID).
|
||||
Preload("Partner", "shop_id = ?", shopID).
|
||||
Preload("Operator", "shop_id = ?", shopID).
|
||||
Preload("Reviewer", "shop_id = ?", shopID).
|
||||
|
||||
@@ -87,7 +87,9 @@ func (h *StockOutHandler) List(c *gin.Context) {
|
||||
query.Count(&total)
|
||||
|
||||
orders := make([]model.StockOutOrder, 0)
|
||||
query.Preload("Warehouse", "shop_id = ?", shopID).
|
||||
// 列表卡片需要 items.length 显示品项数(手机端 MCard sub 行)
|
||||
query.Preload("Items").
|
||||
Preload("Warehouse", "shop_id = ?", shopID).
|
||||
Preload("Partner", "shop_id = ?", shopID).
|
||||
Preload("Operator", "shop_id = ?", shopID).
|
||||
Preload("Reviewer", "shop_id = ?", shopID).
|
||||
|
||||
Vendored
+2
-1
@@ -17,7 +17,8 @@
|
||||
'在线':'i-wifi','离线':'i-wifi-off',
|
||||
'进行中':'i-ic04','已完成':'i-check',
|
||||
'未使用':'i-tag','已兑换':'i-check','作废':'i-close',
|
||||
'未结清':'i-ic04','已结清':'i-check','收款':'i-download','付款':'i-upload'
|
||||
'未结清':'i-ic04','已结清':'i-check','收款':'i-download','付款':'i-upload',
|
||||
'待支付':'i-ic04','已支付':'i-check','已关闭':'i-close'
|
||||
};
|
||||
window.BADGE_ICON = BADGE_ICON;
|
||||
function enhanceBadges(){
|
||||
|
||||
Reference in New Issue
Block a user