xj qian
2024-09-04 ca7bfcdac21b765d29d0045308d434dfd038b10c
jrj/project/business/Enquiry/PriceList.PurcharItemSelect.cpp
@@ -71,11 +71,12 @@
            rw = dw_list.GetNextSelectRow(rw + 1);
         }
         content += L"</data>";
         xaserverarg  arg ;
         xaserverarg arg =GetArg();
         arg.AddArg(L"process", L"ok");
         arg.AddArg(L"result", content);
         CloseWindow();
         return 1;
      }
      //命令发布函数
      int OnCmdDispatch(xstring comdid)
@@ -133,7 +134,7 @@
      {
         xml x ;
         
         xaserverarg  arg;
         xaserverarg  arg=GetArg();
         if (getUrl(L"/sale/data/Enquiry/PriceList/ItemSelect", arg.GetString(), x) != 1)
         {
            trace(x.text());
@@ -150,13 +151,14 @@
      int onload()
      {
         SetArg();
         dw_list = GetControl(L"dw_list");
         dw_list.openUrl(L"/sale/view/Enquiry3/template/purcharpricelist/item");
         dw_list.SetReadOnly(true);
         OnAttachEvent();
         OnRetrieve();
         dw_list.SetSelectionMode(3);
         xaserverarg  arg ;
         xaserverarg  arg =GetArg();
         arg.AddArg(L"process", L"");
         return 1;
      }