浏览代码

签约清单,列识别调整

MaiXinRong 9 年之前
父节点
当前提交
4f8477b43d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Units/DealBillsExcelImport.pas

+ 2 - 2
Units/DealBillsExcelImport.pas

@@ -133,7 +133,7 @@ begin
       sColName := GetCellValue(Excel.XlsFile, FCurRow, iCol);
       sColName := StringReplace(sColName, ' ', '', [rfReplaceAll]);
 
-      if SameText(sColName, '헌데긍뵀') or SameText(sColName, '綾커뵀') then
+      if SameText(sColName, '헌데긍뵀') or (Pos('綾커뵀', sColName) > 0) then
         FB_CodeCol := iCol
       else if Pos('츰냔', sColName) > 0 then
         FNameCol := iCol
@@ -143,7 +143,7 @@ begin
         FPriceCol := iCol
       else if Pos('鑒좆', sColName) > 0 then
         FQuantityCol := iCol
-      else if SameText(sColName, '쏜띨') or SameText(sColName, '북송') then
+      else if (Pos('쏜띨', sColName) > 0) or (Pos('북송', sColName) > 0) then
         FTotalPriceCol := iCol;
     end;