1
This commit is contained in:
@@ -184,10 +184,10 @@ func MakePrintMsgOnTemp(param map[string]string, userId string) (string, error)
|
||||
case "title":
|
||||
printMsg += userTempMap[v]
|
||||
case "qrcOrder":
|
||||
if param["vendorId"] == utils.Int2Str(model.VendorIDEBAI) && param[v] != "" { // 饿百订单
|
||||
printMsg += userTempMap[v]
|
||||
printMsg += param[v]
|
||||
}
|
||||
//if param["vendorId"] == utils.Int2Str(model.VendorIDEBAI) && param[v] != "" { // 饿百订单
|
||||
printMsg += userTempMap[v]
|
||||
printMsg += param[v]
|
||||
//}
|
||||
default:
|
||||
printMsg += userTempMap[v]
|
||||
printValue = append(printValue, param[v])
|
||||
@@ -384,8 +384,13 @@ func PrinterOrderVoice(param map[string]string, setting *model.PrintSettingObj,
|
||||
rejectionValue := make([]interface{}, 0, 0)
|
||||
|
||||
rejection += `<center><b>暂无此状态打印信息</b></center><br>`
|
||||
rejection += `<center><b>%s</b></center><br>`
|
||||
rejectionValue = append(rejectionValue, param[model.OrderNoPrint], param[model.VendorNamePrint], param[model.VendorOrderNoPrint], param[model.CustcareRefundReasonPrint], utils.Time2DateStr(time.Now()))
|
||||
rejection += `<center><b>OrderNoPrint:%s</b></center><br>`
|
||||
rejection += `<center><b>VendorNamePrint:%s</b></center><br>`
|
||||
rejection += `<center><b>VendorOrderNoPrint:%s</b></center><br>`
|
||||
rejection += `<center><b>CustcareRefundReasonPrint:%s</b></center><br>`
|
||||
rejection += `<center><b>时间:%s</b></center><br>`
|
||||
rejection += `<center><b>status:%s</b></center><br>`
|
||||
rejectionValue = append(rejectionValue, param[model.OrderNoPrint], param[model.VendorNamePrint], param[model.VendorOrderNoPrint], param[model.CustcareRefundReasonPrint], utils.Time2DateStr(time.Now()), param[model.OrderStatusPrint])
|
||||
textMsg = rejection
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user