1、优化进销存报表,修改期初库存,期末库存计算规则(目前数量一致,金额还有差异);

2、其他出库人汇总,其他出入库明细excel调整,金额列调整宽一点,不然小数位显示不全;
This commit is contained in:
chenlin 2024-10-12 09:35:13 +08:00
parent 47adb34c2c
commit 1710712684
2 changed files with 578 additions and 237 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1510,6 +1510,7 @@ func reportOtherExport(req *InventoryReportByOtherResp) (string, error) {
file.SetColWidth("Sheet1", "B", "B", 28) file.SetColWidth("Sheet1", "B", "B", 28)
file.SetColWidth("Sheet1", "C", "C", 20) file.SetColWidth("Sheet1", "C", "C", 20)
file.SetColWidth("Sheet1", "D", "D", 20) file.SetColWidth("Sheet1", "D", "D", 20)
file.SetColWidth("Sheet1", "F", "F", 18)
endRow := fmt.Sprintf("F"+"%d", nExcelStartRow+2) endRow := fmt.Sprintf("F"+"%d", nExcelStartRow+2)
// 应用样式到整个表格 // 应用样式到整个表格
@ -1879,6 +1880,8 @@ func reportOtherDetailExport(req *InventoryReportOtherDetailResp) (string, error
file.SetColWidth("Sheet1", "E", "E", 28) file.SetColWidth("Sheet1", "E", "E", 28)
file.SetColWidth("Sheet1", "G", "G", 18) file.SetColWidth("Sheet1", "G", "G", 18)
file.SetColWidth("Sheet1", "I", "I", 18) file.SetColWidth("Sheet1", "I", "I", 18)
file.SetColWidth("Sheet1", "J", "J", 18)
file.SetColWidth("Sheet1", "K", "K", 18)
endRow := fmt.Sprintf("K"+"%d", nExcelStartRow+2) endRow := fmt.Sprintf("K"+"%d", nExcelStartRow+2)
// 应用样式到整个表格 // 应用样式到整个表格