xj qian
2024-09-05 89c226a7da5ffc6748ff3ef70aacad7625bafa3e
jrj/project/business/SO/paymentterm.base.maint.so.cpp
@@ -1,4 +1,4 @@
#include <wobject/xstring.hpp>
#include <wobject/xstring.hpp>
#include <xcontrol/xtreeview.hpp>
#include <xcontrol/xdwgrid.hpp>
#include <xcontrol/xcell.hpp>
@@ -16,8 +16,6 @@
      xdwtable   dw_p;
      xcell dw_cell;
      vcontrol vc;
      xstring sCryno;
   public:
@@ -187,6 +185,11 @@
         xstring sTxt = OnCreateTxt();
         dw_1.SetItemString(1, L"PaymentTermEx", sTxt);
         xml x;
         dw_1.DwUpdateAllTo(x);
         GetArg().SetArg(L"content", x.xml());
         GetArg().SetArg(L"process", L"ok");
         CloseWindow();
         return 1;
@@ -347,8 +350,8 @@
      int OnInit()
      {
         xaserver Args = GetArg();
         xaserverarg Args = GetArg();
         /*
         XXmlContentSvr xdoc = new XXmlContentSvr;
         xdoc.setNativePointer(Args);
         vc = new vcontrol;
@@ -356,13 +359,13 @@
         vbind bind = new vbind;
         bind.bind(dw_1, vc);
         xml x;
         x.loadXML(vc.GetContent());
         */
         //alert(x.GetXml());
         xml x;
         xstring xs = GetArg().GetArgString(L"content");
         x.loadXML(xs.c_str());
         dw_1.Retrieve(x);
         //if (x.GetXmlDoc().documentElement.selectSingleNode(L"CurrencyCode"))