|
|
@@ -11128,7 +11128,7 @@ namespace Dongke.IBOSS.PRD.WCF.Services
|
|
|
#endregion
|
|
|
|
|
|
#region 3#条码打印机(PDA用)
|
|
|
- // 配置工位打印机
|
|
|
+ // 3#配置工位打印机
|
|
|
else if (module == "01070804")
|
|
|
{
|
|
|
// 获取3#条码打印机配置(PDA用)
|
|
|
@@ -11177,7 +11177,7 @@ namespace Dongke.IBOSS.PRD.WCF.Services
|
|
|
return actionResult;
|
|
|
}
|
|
|
}
|
|
|
- // 补打条码
|
|
|
+ // 3#条码打印
|
|
|
else if (module == "01070805")
|
|
|
{
|
|
|
// 获取3#条码打印机配置(PDA用)
|
|
|
@@ -11195,6 +11195,53 @@ namespace Dongke.IBOSS.PRD.WCF.Services
|
|
|
}
|
|
|
return actionResult;
|
|
|
}
|
|
|
+ // 条码打印(PDA用)
|
|
|
+ else if (action == "PrintBarcode_3BL")
|
|
|
+ {
|
|
|
+ ClientRequestEntity cre = new ClientRequestEntity();
|
|
|
+ cre.Properties["Barcode"] = data["Barcode"];
|
|
|
+ cre.Properties["WorkStationID"] = data["WorkStationID"];
|
|
|
+
|
|
|
+ ServiceResultEntity sre = SystemModuleLogic.PrintBarcode_3BL(cre, sUserInfo);
|
|
|
+
|
|
|
+ if (sre.Status == Constant.ServiceResultStatus.Success)
|
|
|
+ {
|
|
|
+ if (sre.Result != null)
|
|
|
+ {
|
|
|
+ actionResult.Status = (int)Constant.PDAResult.Success;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ actionResult.Status = (int)Constant.PDAResult.Fail;
|
|
|
+ actionResult.Message = sre.Message;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ actionResult.Status = (int)Constant.PDAResult.Fail;
|
|
|
+ actionResult.Message = sre.Message;
|
|
|
+ }
|
|
|
+ return actionResult;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 3#条码补打
|
|
|
+ else if (module == "01070806")
|
|
|
+ {
|
|
|
+ // 获取3#条码打印机配置(PDA用)
|
|
|
+ if (action == "GetWorkStationPrinter3")
|
|
|
+ {
|
|
|
+ ServiceResultEntity sre = SystemModuleLogic.GetWorkStationPrinter3(sUserInfo);
|
|
|
+ if (sre.Data != null && sre.Data.Tables.Count > 0)
|
|
|
+ {
|
|
|
+ actionResult.Status = (int)Constant.PDAResult.Success;
|
|
|
+ actionResult.Result = JsonHelper.ToJson(sre.Data);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ actionResult.Status = (int)Constant.PDAResult.Fail;
|
|
|
+ }
|
|
|
+ return actionResult;
|
|
|
+ }
|
|
|
// 补打3#条码(PDA用)
|
|
|
else if (action == "PrintBarcode_3BL_B")
|
|
|
{
|