Ver Fonte

小高薪

cqp há 2 meses atrás
pai
commit
19fa651eb9
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Service/ImportService.php

+ 1 - 1
app/Service/ImportService.php

@@ -974,7 +974,7 @@ class ImportService extends Service
         foreach ($array as $rowIndex => $rowValue) {
         foreach ($array as $rowIndex => $rowValue) {
             $displayLine = $rowIndex + 1;
             $displayLine = $rowIndex + 1;
             $valCode = trim($rowValue[$codeIdx] ?? '');
             $valCode = trim($rowValue[$codeIdx] ?? '');
-            $valEmp = trim($row[$empIdx] ?? '');
+            $valEmp = trim($rowValue[$empIdx] ?? '');
             if ($valCode === '') continue;
             if ($valCode === '') continue;
 
 
             // --- A. 主表一致性校验 ---
             // --- A. 主表一致性校验 ---