LiFan
2024-10-23 9f2becd15f9ec5aff1b8c1e7a618df2dc543288d
jrj/project/business/AR/CustomerTran.AR.cpp
@@ -99,12 +99,12 @@
            if (str.length() != 36)
            {
               hdr.mask = DMS_CSSSTYLE;
               hdr.cssstyle = L"color:#ff0000";
               hdr.pCssStyle = (LPTSTR)L"color:#ff0000";
            }
            else if (str.find(L"-") != 8)
            {
               hdr.mask = DMS_CSSSTYLE;
               hdr.cssstyle = L"color:#ff0000";
               hdr.pCssStyle = (LPTSTR)L"color:#ff0000";
            }
         }
         return 1;
@@ -132,7 +132,7 @@
         xml x;
         
         xaserverarg arg ;
         arg.setNativePointer(arg.CreateInstance());
         dw_list.DwUpdateAllToEx(x);
         arg.AddArg(L"content", x.xml());
         if (getUrl(L"/sale/data/AR/update/tran/customer", arg.GetString(), x) != 1)
@@ -152,8 +152,8 @@
      {
         xml x;
         
         xaserverarg arg ;
         arg.setNativePointer(arg.CreateInstance());
         xaserverarg arg =GetArg();
         if (getUrl(L"/sale/data/AR/tran/customer", arg.GetString(), x) != 1)
         {
            trace(x.text());
@@ -169,6 +169,7 @@
      int onload()
      {
         SetArg();
         dw_list = GetControl(L"dw_list");
         dw_list.openUrl(L"/sale/view/AR/template/customertran");
         dw_list.SetAskStyle(true);