aa
This commit is contained in:
@@ -82,6 +82,12 @@ func PrintOrderByOrder4Store(ctx *jxcontext.Context, order *model.GoodsOrder, st
|
||||
}, nil
|
||||
}
|
||||
storeDetail, _ := dao.GetStoreDetail(db, storeID, order.VendorID, order.VendorOrgCode)
|
||||
if storeDetail == nil && order.VendorOrderID == testVendorOrderID {
|
||||
storeDetail = &dao.StoreDetail{
|
||||
BrandName: testVendorOrderID,
|
||||
BrandIsPrint: model.NO,
|
||||
}
|
||||
}
|
||||
printResult, err = handler.PrintOrder(ctx, store, storeDetail, order)
|
||||
if err == nil {
|
||||
dao.SetOrderPrintFlag(db, ctx.GetUserName(), order.VendorOrderID, order.VendorID, true)
|
||||
|
||||
Reference in New Issue
Block a user