|
|
@ -197,7 +197,6 @@ namespace SlnMesnac.Business
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
string bigBarcode = productPlanDto.PlanCode+DateTime.Now.ToString("_MMddHHmmss");
|
|
|
|
string bigBarcode = productPlanDto.PlanCode+DateTime.Now.ToString("_MMddHHmmss");
|
|
|
|
|
|
|
|
|
|
|
|
MesBaseBarcodeInfo mesBaseBarcodeInfo = new MesBaseBarcodeInfo();
|
|
|
|
MesBaseBarcodeInfo mesBaseBarcodeInfo = new MesBaseBarcodeInfo();
|
|
|
|
mesBaseBarcodeInfo.printTime = DateTime.Now;
|
|
|
|
mesBaseBarcodeInfo.printTime = DateTime.Now;
|
|
|
|
mesBaseBarcodeInfo.printPerson = "SlnMesnac";
|
|
|
|
mesBaseBarcodeInfo.printPerson = "SlnMesnac";
|
|
|
@ -223,7 +222,6 @@ namespace SlnMesnac.Business
|
|
|
|
mesBaseBarcodeInfo.completeFlag = "1";
|
|
|
|
mesBaseBarcodeInfo.completeFlag = "1";
|
|
|
|
mesBaseBarcodeInfo.singleFlag = "0";
|
|
|
|
mesBaseBarcodeInfo.singleFlag = "0";
|
|
|
|
var materialInfo = _baseMaterialInfoService.Query(x => x.MaterialId == productPlanDto.MaterialId).FirstOrDefault();
|
|
|
|
var materialInfo = _baseMaterialInfoService.Query(x => x.MaterialId == productPlanDto.MaterialId).FirstOrDefault();
|
|
|
|
// 改成spec
|
|
|
|
|
|
|
|
if(materialInfo != null)
|
|
|
|
if(materialInfo != null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
mesBaseBarcodeInfo.barcodeSpec = materialInfo.MaterialSpec;
|
|
|
|
mesBaseBarcodeInfo.barcodeSpec = materialInfo.MaterialSpec;
|
|
|
|