1
This commit is contained in:
@@ -298,7 +298,6 @@ func (s *DefScheduler) CreateWaybillOnProvidersEx(ctx *jxcontext.Context, vendor
|
||||
excludeCourierVendorIDs = append(excludeCourierVendorIDs, k)
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("===excludeCourierVendorIDs===========:%s", utils.Format4Output(excludeCourierVendorIDs, false))
|
||||
billFunc := func() {
|
||||
bills, err = func() (bills []*model.Waybill, err error) {
|
||||
if vendorID == model.VendorIDELM {
|
||||
|
||||
@@ -477,9 +477,9 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
|
||||
title,
|
||||
)
|
||||
orderFmt += `<LEFT><font# bolder=1 height=2 width=1>共%d种%d件商品</font#></LEFT>
|
||||
<LEFT><font# bolder=1 height=2 width=1>实付金额: %s</font#></LEFT>
|
||||
<font# bolder=0 height=1 width=1>--------------#%d完-------------</font#>`
|
||||
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq)
|
||||
/*<LEFT><font# bolder=1 height=2 width=1>实付金额: %s</font#></LEFT>*/
|
||||
orderParams = append(orderParams, order.SkuCount, order.GoodsCount /* jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice),*/, order.OrderSeq)
|
||||
return fmt.Sprintf(orderFmt, orderParams...)
|
||||
}
|
||||
|
||||
@@ -518,8 +518,8 @@ func (c *PrinterHandler) getCancelOrRefundOrderContentBig(order *model.GoodsOrde
|
||||
)
|
||||
orderFmt += xpyunapi.StrRepeat("-", 32)
|
||||
orderFmt += `<LEFT><font# bolder=1 height=2 width=1>共%d种%d件商品</font#></LEFT>
|
||||
<LEFT><font# bolder=1 height=2 width=1>实付金额: %s</font#></LEFT>
|
||||
<font# bolder=0 height=1 width=1>--------------#%d完-------------</font#>`
|
||||
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq)
|
||||
/*<LEFT><font# bolder=1 height=2 width=1>实付金额: %s</font#></LEFT>*/
|
||||
orderParams = append(orderParams, order.SkuCount, order.GoodsCount /*jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice),*/, order.OrderSeq)
|
||||
return fmt.Sprintf(orderFmt, orderParams...)
|
||||
}
|
||||
|
||||
@@ -471,10 +471,10 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder,
|
||||
order.OrderSeq,
|
||||
)
|
||||
orderFmt += xpyunapi.StrRepeat("-", 32)
|
||||
orderFmt += `<L>共%d种%d件商品</L>
|
||||
实际支付:%s<BR>`
|
||||
orderFmt += `<L>共%d种%d件商品</L>`
|
||||
/*实际支付:%s<BR>`*/
|
||||
orderFmt += xpyunapi.StrRepeat("-", 14) + "#%d完</HB>" + xpyunapi.StrRepeat("-", 14) + `<BR>`
|
||||
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq)
|
||||
orderParams = append(orderParams, order.SkuCount, order.GoodsCount /*jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice),*/, order.OrderSeq)
|
||||
return fmt.Sprintf(orderFmt, orderParams...)
|
||||
}
|
||||
|
||||
@@ -516,9 +516,9 @@ func (c *PrinterHandler) getCancelOrRefundOrderContentBig(order *model.GoodsOrde
|
||||
order.OrderSeq,
|
||||
)
|
||||
orderFmt += xpyunapi.StrRepeat("-", 32)
|
||||
orderFmt += `<L><HB>共%d种%d件商品</L>
|
||||
实际支付:%s</HB><BR>`
|
||||
orderFmt += `<L><HB>共%d种%d件商品</L>`
|
||||
/*实际支付:%s</HB><BR>`*/
|
||||
orderFmt += xpyunapi.StrRepeat("-", 14) + "#%d完</HB>" + xpyunapi.StrRepeat("-", 14) + `<BR>`
|
||||
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq)
|
||||
orderParams = append(orderParams, order.SkuCount, order.GoodsCount /*jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice),*/, order.OrderSeq)
|
||||
return fmt.Sprintf(orderFmt, orderParams...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user