Browse Source

kitting导入修改

dev_DY_CC
lvzb 10 months ago
parent
commit
2ce2599374
  1. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Kittings/Inputs/KittingImportInput.cs
  2. 4
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Kittings/KittingAppService.cs

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Kittings/Inputs/KittingImportInput.cs

@ -53,6 +53,7 @@ public class KittingImportInput : SfsBaseDataImportInputBase
public decimal Qty { set; get; }
[Display(Name = "底盘打包数量")]
[Required(ErrorMessage = "{0}是必填项")]
public decimal ChassisQty { get; set; }
[Display(Name = "备注")]

4
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Kittings/KittingAppService.cs

@ -344,8 +344,8 @@ public class KittingAppService : SfsBaseDataWithCodeAppServiceBase<Kitting, Kitt
}
var fileContent1 = _excelService.Export(importList);
new TestResult(fileContent1.FileContents, ExportImportService.ContentType) { FileDownloadName = "导入文件" };
return new JsonResult(new { Code = 200, FileDownloadName="" });
return new TestResult(fileContent1.FileContents, ExportImportService.ContentType) { FileDownloadName = "Kitting导入文件" };
// return new JsonResult(new { Code = 200, FileDownloadName="" });
}

Loading…
Cancel
Save