在 `ExportModel.cs` 文件中: - 添加了 `MiniExcelLibs.Attributes` 和 `System` 的引用。 - 将 `OrderDate` 和 `DeliveryDate` 属性的数据类型从 `string` 改为 `DateTime`,并添加了 `ExcelColumn` 属性以指定日期格式为 "MM月dd日"。 在 `MainViewModel.cs` 文件中: - 修改了 `data.Model` 的格式字符串,将 "1x" 改为 "1×"。 - 将 `nowDateStr` 和 `nowDeliveryDateStr` 的初始化从字符串格式的日期改为 `DateTime` 类型,并注释掉了 `.ToString("yyyy-MM-dd")` 部分。 |
||
---|---|---|
.. | ||
LectotypeViewModel.cs | ||
MainViewModel.Check.cs | ||
MainViewModel.cs |