xj qian
2024-09-13 f945c112904dfe836621cc7005c53080826c3feb
jrj/project/business/GDN3.maint.cpp
@@ -2132,7 +2132,7 @@
               if (o.selectSingleNode(L"VATRates"))
               {
                  xstring str1 = o.selectSingleNode(L"VATRates").text();
                  if (str1.find(L",L") >= 0) str1 = str1.left(str1.find(L",L"));
                  if (str1.find(L",") >= 0) str1 = str1.left(str1.find(L","));
                  dw_custom.SetItemString(i, L"VATRates", str1);
               }
               if (o.selectSingleNode(L"CustEName"))
@@ -2185,7 +2185,7 @@
               if(o.selectSingleNode(L"VATRates"))
               {
                  xstring str1 = o.selectSingleNode(L"VATRates").text();
                  if(str1.find(L",L")) str1 = str1.left(str1.find(L",L"));
                  if(str1.find(L",")) str1 = str1.left(str1.find(L","));
                  dw_custom.SetItemString(i,L"VATRates",str1);
               }
               if(o.selectSingleNode(L"CustEName"))
@@ -2440,7 +2440,7 @@
               if (o.selectSingleNode(L"VATRates"))
               {
                  xstring str1 = o.selectSingleNode(L"VATRates").text();
                  if (str1.find(L",L")) str1 = str1.left(str1.find(L",L"));
                  if (str1.find(L",")) str1 = str1.left(str1.find(L","));
                  dw_custom.SetItemString(i, L"VATRates", str1);
                  dw_customex.SetItemString(i, L"VATRates", str1);
               }
@@ -2615,7 +2615,7 @@
               }
               else if (SONos.find(SONo) < 0)
               {
                  SONos += L",L" + SONo;
                  SONos += L"," + SONo;
                  costs += cost;
               }
            }
@@ -2625,7 +2625,7 @@
               xstring CustomerPONo = t.selectSingleNode(L"CustomerPONo").text();
               if (OrderNos == L"")
                  OrderNos = CustomerPONo;
               else if (OrderNos.find(CustomerPONo) < 0) OrderNos += L",L" + CustomerPONo;
               else if (OrderNos.find(CustomerPONo) < 0) OrderNos += L"," + CustomerPONo;
            }
            if (t.selectSingleNode(L"OperationTips"))
@@ -2909,7 +2909,7 @@
         }
         else if (SONo_s.find(SONo) < 0)
         {
            SONo_s += L",L" + SONo;
            SONo_s += L"," + SONo;
         }
         xstring PONo = dw_item.GetItemString(k, L"PONo");
         if (PONo_s == L"")
@@ -2918,7 +2918,7 @@
         }
         else if (PONo_s.find(PONo) < 0)
         {
            PONo_s += L",L" + PONo;
            PONo_s += L"," + PONo;
         }
      }
      dw_base.SetItemString(1, L"OrderNos", PONo_s);