From 4a561154572dd16621e2a54e79c14c1fe905189d Mon Sep 17 00:00:00 2001
From: lishihai <dslsh@dscom>
Date: 星期四, 25 七月 2024 14:40:53 +0800
Subject: [PATCH] 导入物料/产品->规格/型号部分不显示
---
service/material.go | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/service/material.go b/service/material.go
index 61d5786..bd1a62e 100644
--- a/service/material.go
+++ b/service/material.go
@@ -158,10 +158,10 @@
}
material.MoreUnitList = append(material.MoreUnitList, ut)
}
- if len(insert) > 9 && insert[8] != "" {
+ if len(insert) > 8 && insert[8] != "" {
material.Specs = insert[8] //瑙勬牸
}
- if len(insert) > 10 && insert[9] != "" {
+ if len(insert) > 9 && insert[9] != "" {
material.Type = insert[9] //鍨嬪彿
}
--
Gitblit v1.8.0