1
This commit is contained in:
@@ -256,7 +256,7 @@ func (c *PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store,
|
|||||||
case "wayBill":
|
case "wayBill":
|
||||||
printData[WayBillStatus] = order.VendorStatus // 运单状态
|
printData[WayBillStatus] = order.VendorStatus // 运单状态
|
||||||
case "store":
|
case "store":
|
||||||
printData[StoreStatus] = utils.Int2Str(store.Status) // 运单状态
|
printData[StoreStatus] = utils.Int2Str(store.Status) // 门店状态
|
||||||
case "enter":
|
case "enter":
|
||||||
printData[ReminderStatus] = "1" // 催单
|
printData[ReminderStatus] = "1" // 催单
|
||||||
}
|
}
|
||||||
@@ -269,6 +269,10 @@ func (c *PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store,
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *PrinterHandler) PrintStore(ctx *jxcontext.Context, store *model.Store, storeDetail *dao.StoreDetail, printType string) (printerStatus *partner.PrinterStatus, err error) {
|
func (c *PrinterHandler) PrintStore(ctx *jxcontext.Context, store *model.Store, storeDetail *dao.StoreDetail, printType string) (printerStatus *partner.PrinterStatus, err error) {
|
||||||
|
data := make(map[string]interface{}, 0)
|
||||||
|
data[StoreStatus] = utils.Int2Str(store.Status) // 门店状态
|
||||||
|
data[StoreStatus] = utils.Int2Str(store.Status) // 门店状态
|
||||||
|
data[StoreStatus] = utils.Int2Str(store.Status) // 门店状态
|
||||||
|
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user