|
|
@@ -847,7 +847,7 @@ namespace SiteCore.Handler
|
|
|
CeErpTradeCellExtend ceErpTradeCellExtend = CeErpTradeCellExtend.getByTid(entity.ctid);
|
|
|
if (ceErpTradeCellExtend != null && ceErpTradeCellExtend.orderFrom == 30)
|
|
|
{
|
|
|
- //dataHelper.api_orderBack(entity.ctid, "0", "");
|
|
|
+ dataHelper.api_orderBack(entity.ctid, "0", "");
|
|
|
}
|
|
|
commonHelper.sendSpuData(entity, ceErpTradeCellExtend);
|
|
|
apiDesign.API_GetPrintData_ModifyOrder(entity.ctid, memo, ismemoopt, false);
|
|
|
@@ -1382,7 +1382,7 @@ namespace SiteCore.Handler
|
|
|
CeErpTradeCellExtend ceErpTradeCellExtend = CeErpTradeCellExtend.getByTid(entity.ctid);
|
|
|
if (ceErpTradeCellExtend != null && ceErpTradeCellExtend.orderFrom == 30)
|
|
|
{
|
|
|
- //dataHelper.api_orderBack(entity.ctid, "0", "");
|
|
|
+ dataHelper.api_orderBack(entity.ctid, "0", "");
|
|
|
}
|
|
|
returnSuccessMsg("领单成功!");
|
|
|
return;
|
|
|
@@ -5884,6 +5884,7 @@ namespace SiteCore.Handler
|
|
|
string cpCode = GetPostString("cpcode"); //"code":"YTO","id":1,"cpCode":"YTO-CAINIAO",
|
|
|
string cpName = GetPostString("cpname");
|
|
|
string isTogether = GetPostString("together");
|
|
|
+ string printType = GetPostString("printType");
|
|
|
//var res_obj = new
|
|
|
//{
|
|
|
// restype = 1,
|
|
|
@@ -5903,7 +5904,7 @@ namespace SiteCore.Handler
|
|
|
isUseLastWayBillCode = true;
|
|
|
}
|
|
|
|
|
|
- if (entity.OrderState == 7 && "2".Equals(isTogether))
|
|
|
+ if (entity.OrderState == 7 && "delivering".Equals(printType))
|
|
|
{
|
|
|
|
|
|
ReturnSuccess(JsonConvert.SerializeObject(new { restype = 2, data = "" }));
|