Browse Source

单机版导入算量xml,调整状态是先替换商品砼再勾选附注条件的,人工消耗量计算结果不对。

chenshilong 2 tháng trước cách đây
mục cha
commit
8929933191

+ 2 - 2
DPRs/CSL/SmartCost.dof

@@ -115,7 +115,7 @@ AutoIncBuild=1
 MajorVer=10
 MinorVer=1
 Release=4
-Build=483
+Build=484
 Debug=0
 PreRelease=0
 Special=0
@@ -126,7 +126,7 @@ CodePage=936
 [Version Info Keys]
 CompanyName=珠海纵横创新软件有限公司
 FileDescription=SmartCost 2008专业版
-FileVersion=10.1.4.483
+FileVersion=10.1.4.484
 InternalName=SmartCost
 LegalCopyright=版权所有(C) 珠海纵横创新软件有限公司 2003-2016。保留所有权利。
 LegalTrademarks=SmartCost

BIN
DPRs/CSL/SmartCost.res


+ 2 - 2
DPRs/CSL/SmartCost_GuangDong.dof

@@ -115,7 +115,7 @@ AutoIncBuild=1
 MajorVer=10
 MinorVer=2
 Release=613
-Build=115
+Build=116
 Debug=0
 PreRelease=0
 Special=0
@@ -126,7 +126,7 @@ CodePage=936
 [Version Info Keys]
 CompanyName=珠海纵横创新软件有限公司
 FileDescription=广东公路造价编审系统
-FileVersion=10.2.613.115
+FileVersion=10.2.613.116
 InternalName=SmartCost
 LegalCopyright=版权所有(C) 珠海纵横创新软件有限公司 2003-2014。保留所有权利。
 LegalTrademarks=SmartCost

BIN
DPRs/CSL/SmartCost_GuangDong.res


+ 11 - 1
MainModule/Model/ScRAdjusts.pas

@@ -3380,6 +3380,7 @@ var
   strAdjust: string;
   strRCode: string;
   pRecord: TResiveInfo;
+  bFZTJ: Boolean;
 begin
   Result := '';
   FCacheCoe := -1;
@@ -3387,6 +3388,7 @@ begin
   iBID := TScRationRecord(ARation).BillsItemID.AsInteger;
   dRQty := TScRationRecord(ARation).Quantity.AsFloat;
   strRCode := TScRationRecord(ARation).Code.AsString;
+  bFZTJ := False;
   for I := 0 to aList.Count - 1 do
   begin
     FGLJList := TList.Create;
@@ -3401,7 +3403,12 @@ begin
       raCementReplace : strAdjust := ResiveCemmentReplace(pRecord, iRID, iBID, aLibID, dRQty, ARation); // ok
       raCementPB      : strAdjust := ResiveCemmentPB(pRecord, iRID);                                    // ok
       raSimplePB      : strAdjust := ResiveSimplePB(pRecord, iRID);                                     // ok
-      raFZCondition   : strAdjust := ResiveFZCondition(pRecord, iRID, aLibID, strRCode, IsDrawingData); // ok
+      raFZCondition   :
+      begin
+        strAdjust := ResiveFZCondition(pRecord, iRID, aLibID, strRCode, IsDrawingData); // ok
+        bFZTJ := True;
+      end;
+
       raYS            : strAdjust := ResiveYS(pRecord, iRID);
       raNone          : strAdjust := '';
     end;
@@ -3417,6 +3424,9 @@ begin
     FreeAndNil(FGLJList);
   end;
   ReCalculateBasePrice(iRID);
+
+  if bFZTJ then
+    Execute(TScRationRecord(ARation));
 end;
 
 function TScRAdjustData.ResiveCemmentPB(const aRecord: TResiveInfo;