LiFan
2024-07-08 97e2acb59314e2ca4bee55abc9571c1c5045f73d
jrj/project/business/AR/ExchangeSignFast.cpp
@@ -75,7 +75,7 @@
         dw_list.DwUpdateAllToEx(x);
         //trace(x.xml());
         xml x0 = ViewObject::MakeXml();
         xml x0 ;
         x0.loadXML(L"<data/>");
         KXMLDOMNodeList t = x.selectNodes(L"data/Item[@update.modify or @update.delete]");
@@ -85,7 +85,7 @@
         {
            e1.appendChild(t.item(i));
         }
         xaserverarg arg = ViewObject::MakeArg();
         xaserverarg arg ;
         arg.AddArg(L"content", x0.xml());
         if (xurl::get(L"/sale/data/AR/update/item", arg.GetString(), x) != 1)
@@ -127,14 +127,14 @@
         return 0;
      }
      int OnCombboChanged(ref TCommandEvent evt, int lParam)
      int OnCombboChanged(TEvent* evt, int lParam)
      {
         xstring id = L"";
         xstring name = L"";
         int h = xcombobox::GetCurSel(evt.hCtrl);
         int h = xcombobox::GetCurSel(evt->command.hCtrl);
         if (h > -1)
         {
            xstring txt = xcombobox::GetLBText(evt.hCtrl, h);
            xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h);
            if (txt == L"限定客户")
            {
               OnRetrieve(1);
@@ -152,7 +152,7 @@
         dw_unexch.AcceptText();
         int row = dw_unexch.GetRow();
         int hCursor = xutil::SetCursorWait();
         HCURSOR hCursor = xutil::SetCursorWait();
         double AdjustAmount = dw_unexch.GetItemDouble(row, L"AdjustAmount");//调整数
         double amted = dw_unexch.GetItemDouble(row, L"实收汇金额");//往次
         double samt = dw_unexch.GetItemDouble(row, L"应收汇金额");//应收汇金额
@@ -348,9 +348,9 @@
         xstring path1 = L"/sale/data/AR/item/exch/listwithcustomer";
         if (customer == 0)  path1 = L"/sale/data/AR/item/exch/list";
         arg.AddArg(L"QueryTxt", GetControl(L"sle_search").GetText());
         arg.AddArg(L"QueryTxt", xcontrol(GetControl(L"sle_search")).GetText());
         arg.AddArg(L"QueryArg", GetQueryArg());
         trace(L"SEID+++L" + SEID + L"+++QueryTxt+++L" + GetControl(L"sle_search").GetText() + L"+++QueryArg+++L" + GetQueryArg());
         trace(L"SEID+++L" + SEID + L"+++QueryTxt+++L" + xcontrol(GetControl(L"sle_search")).GetText() + L"+++QueryArg+++L" + GetQueryArg());
         if (getUrl(path, arg.GetString(), x) != 1)
         {
            trace(L"错误信息1=L" + xstring(x.text()));