bug
This commit is contained in:
@@ -17,6 +17,7 @@ using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using SqlSugar;
|
||||
using Tnb.BasicData.Entities;
|
||||
using Tnb.Common.Core.EventBus.Constants;
|
||||
@@ -280,6 +281,7 @@ namespace Tnb.WarehouseMgr
|
||||
}
|
||||
else
|
||||
{
|
||||
//ret = PPLBUtility.B_CreatePrn(13, "192.168.1.233");
|
||||
_ = System.IO.Directory.CreateDirectory(PPLBUtility.szSavePath);
|
||||
ret = PPLBUtility.B_CreatePrn(0, PPLBUtility.szSaveFile);// open file.
|
||||
strmsg += "Open ";
|
||||
@@ -298,6 +300,9 @@ namespace Tnb.WarehouseMgr
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// sample setting.
|
||||
_ = PPLBUtility.B_Set_Originpoint(0, 0);
|
||||
_ = PPLBUtility.B_Select_Option(2);
|
||||
|
||||
@@ -152,11 +152,19 @@ namespace Tnb.WarehouseMgr
|
||||
[HttpPost]
|
||||
public async Task BarCodePrint(BarCodeInput input)
|
||||
{
|
||||
;
|
||||
|
||||
if (input == null)
|
||||
{
|
||||
throw new AppFriendlyException(nameof(input), 500);
|
||||
}
|
||||
List<string> barcodes = new();
|
||||
barcodes.Add("2300100051901001211210002");
|
||||
barcodes.Add("2300100051901001211210008");
|
||||
barcodes.Add("2300100051901001211210009");
|
||||
|
||||
|
||||
base.BarCodePrint(barcodes, 1);
|
||||
try
|
||||
{
|
||||
await _db.Ado.BeginTranAsync();
|
||||
|
||||
Reference in New Issue
Block a user