完善请购单的明细导入excel逻辑

This commit is contained in:
jishenghua
2024-04-21 23:28:01 +08:00
parent 5bee16c60b
commit 46db957f87
4 changed files with 12 additions and 7 deletions

View File

@@ -921,6 +921,11 @@ public class DepotItemController {
List<Map<String, String>> detailList = new ArrayList<>();
for (int i = 2; i < src.getRows(); i++) {
String depotName = "", barCode = "", num = "", unitPrice = "", taxRate = "", remark = "";
if("QGD".equals(prefixNo)) {
barCode = ExcelUtils.getContent(src, i, 0);
num = ExcelUtils.getContent(src, i, 2);
remark = ExcelUtils.getContent(src, i, 3);
}
if("CGDD".equals(prefixNo) || "XSDD".equals(prefixNo)) {
barCode = ExcelUtils.getContent(src, i, 0);
num = ExcelUtils.getContent(src, i, 2);