20250704 委托单退回

This commit is contained in:
2025-07-04 15:41:55 +08:00
parent 2fe06c242f
commit 4b878c2c08
3 changed files with 30 additions and 9 deletions
@@ -1,4 +1,5 @@
using BLL;
using Aspose.Words.Lists;
using BLL;
using MiniExcelLibs;
using Model;
using NPOI.SS.Util;
@@ -202,6 +203,8 @@ namespace FineUIPro.Web.HJGL.NDT
//设置生成下拉框的行和列
SetCellDropdownList(sheet, 6, 6, new List<string>() { "合格", "不合格" }.ToArray());//是否合格
SetCellDropdownList(sheet, 7, 7, new List<string>() { "", "Ⅱ", "Ⅲ", "Ⅳ", "" }.ToArray());//评定级别
var defects = from x in Funs.DB.Base_Defect select x.DefectName;//缺陷
SetCellDropdownList(sheet, 8, 8, new List<string>() { string.Join(",", defects.ToList())}.ToArray());
//添加数据
cell = row.CreateCell(7);