LiFan
2025-04-24 9b3b2eb20b09e13da837a28f16e552ba70a090c4
jrj/project/business/SO/Product.FetchNo.cpp
@@ -73,16 +73,15 @@
      int SendNotice()
      {
         xaserverarg arg;
         if (dw_list.GetRowCount() < 1) return 1;
         xstring Subject = L"编号:" + dw_list.GetItemString(dw_list.GetRow(), L"SKUNo") + L"   品名:" + dw_list.GetItemString(dw_list.GetRow(), L"CName") + L",申请货号";
         xstring EntityID = dw_list.GetItemString(dw_list.GetRow(), L"SKUID");
         xstring EntityNo = dw_list.GetItemString(dw_list.GetRow(), L"SKUNo");
         xstring Category = L"货号申请";
         xstring Reciever = L"00908";
         xstring Reciever = L"00914";
         xstring Content = L"";
         //alert(L"EntityID:"+EntityID);
         xml x = ViewObject::AddMessage( Category, Reciever, EntityNo, EntityID, Subject, Content);
         ViewObject::AddMessage( GetServerUrl(),Category, Reciever, EntityNo, EntityID, Subject, Content);
         return 1;
      }
@@ -95,7 +94,6 @@
         dw_list.DwUpdateAllToEx(x);
         xstring error = L"";
         xaserverarg arg;
         arg.AddArg(L"content", x.xml());
         if (xurl::get(L"/sale/data/ProductLibrary3/update/product/askgoodsno", arg.GetString(), x) != 1)
         {
@@ -301,15 +299,16 @@
      int onload()
      {
         SetArg();
         dw_list = GetControl(L"dw_list");
         dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(L"").xml());
         dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(L""));
         dw_list.SetColumnState(L"SKUID", false);
         dw_list.SetColumnState(L"category1", false);
         dw_list.SetColumnState(L"Submitter1", false);
         if (GetWinParam())
         {
            xaserverarg arg;
            xaserverarg arg=GetArg();
            xml x;
            
            if (xurl::get(L"/sale/data/ProductLibrary3/data/list/skunolist", arg.GetString(), x) != 1)
@@ -319,8 +318,9 @@
            }
            else
            {
               //alert(x.GetXml());
               dw_list.Retrieve(x);
               dw_list.Redraw();
            }
         }
         OnAttachEvent();