lifan
7 天以前 a21d1c038507ff23b51c4159889bd291d603a79c
jrj/project/business/Enquiry/Quick.Input.NewProductEx.cpp
@@ -59,7 +59,7 @@
         xml x ;
               
         xaserverarg arg ;
         arg.setNativePointer(arg.CreateInstance());
         arg.AddArg(L"no",sno);
         if(xurl::get(L"/sale/data/SO/goods/goodslib/ChildFolderList", arg.GetString(),x)!=1)
         {
@@ -111,7 +111,7 @@
         xml x;
         
         xaserverarg arg ;
         arg.setNativePointer(arg.CreateInstance());
         arg.AddArg(L"count", L"1" );   
         arg.AddArg(L"type", typ );   
         if(xurl::get(L"/sale/data/SO/goods/usegoods/goodslib/asknos", arg.GetString(),x)!=1)return L"";
@@ -126,6 +126,11 @@
            if(dw_list.GetItemString(row,L"Cname") == L"")
            {
               alert(L"第"+xstring(row)+L"行请输入中文名称");
               return 0;
            }
            if (dw_list.GetItemString(row, L"Ename") == L"")
            {
               alert(L"第" + xstring(row) + L"行请输入英文名称");
               return 0;
            }
            if(dw_list.GetItemString(row,L"PackingRate") == L"")
@@ -169,7 +174,7 @@
         dw_list.AcceptText();
         dw_list.DwUpdateAllToEx(x);
         xaserverarg arg ;
         arg.setNativePointer(arg.CreateInstance());
         arg.AddArg(L"content",x.xml());   
         if(xurl::get(L"/sale/data/ProductLibrary3/update/newestproduct", arg.GetString(),x)!=1)
         {
@@ -284,6 +289,7 @@
         OnAddItem();
         return 1;
      }
      int onload()
      {
         SetArg();