|  |  | 
 |  |  |          xml xp ; | 
 |  |  |           | 
 |  |  |          xaserverarg arg_pic; | 
 |  |  |          arg_pic.setNativePointer(arg_pic.CreateInstance()); | 
 |  |  | 			 | 
 |  |  |          arg_pic.AddArg(L"SKUID", skuid); | 
 |  |  |          if (xurl::get(L"/sale/data/ProductLibrary3/pref/picture/imagelistSKU", arg_pic.GetString(), xp) != 1) | 
 |  |  |          { | 
 |  |  | 
 |  |  |          xml xp ; | 
 |  |  |           | 
 |  |  |          xaserverarg arg_pic; | 
 |  |  |          arg_pic.setNativePointer(arg_pic.CreateInstance()); | 
 |  |  | 			 | 
 |  |  |          arg_pic.AddArg(L"SKUID", skuid); | 
 |  |  |          arg_pic.AddArg(L"CustomerID", m_customer); | 
 |  |  |          arg_pic.AddArg(L"CustomerItemNo", customerItemNo); | 
 |  |  | 
 |  |  |          xaserverarg arg; | 
 |  |  |           | 
 |  |  |          arg.AddArg(L"content", x.xml()); | 
 |  |  |          //alert(x.xml()); | 
 |  |  |          if (xurl::get(L"/sale/data/ProductLibrary/image/update", arg.GetString(), x) != 1) | 
 |  |  |          { | 
 |  |  |             alert(x.text()); | 
 |  |  | 
 |  |  |          dw_list.Redraw(); | 
 |  |  |          impStr = L""; | 
 |  |  |  | 
 |  |  |          SendMessage(hObject, 0x401, (LPARAM)ls_nos, 0); | 
 |  |  |          SendMessage(hObject, 0x401, (LPARAM)ls_nos.c_str(), 0); | 
 |  |  |          alert(L"转入完成!"); | 
 |  |  |  | 
 |  |  |          return 1; | 
 |  |  | 
 |  |  |          HTREEITEM hItem = tv_folder.GetSelectedItem(); | 
 |  |  |          HTREEITEM hTopItem = LookupTopFolder(hItem); | 
 |  |  |          xstring name = tv_folder.GetItemLabel(hTopItem); | 
 |  |  |  | 
 |  |  |          if(name==L"") return 1; | 
 |  |  |          KXMLDOMElement e = tv_folder.GetItemData(hItem); | 
 |  |  |          xstring guid = e.getAttribute(L"guid"); | 
 |  |  |          if (guid == L"") return 1; | 
 |  |  | 
 |  |  |          if (Name == L"") Name = e.getAttribute(L"cname"); | 
 |  |  |          arg.AddArg(L"No", No); | 
 |  |  |          arg.AddArg(L"CName", Name); | 
 |  |  |          int p = arg; | 
 |  |  |          OpenWindow(L"dev:xpage[Quick.Input.NewProductEx.vx]", p); | 
 |  |  | 			 | 
 |  |  |          OpenWindow(L"dev:xpage[Quick.Input.NewProductEx.vx]", arg); | 
 |  |  |          if (arg.GetArgString(L"data.modify") == L"1")RetrieveItem(hItem); | 
 |  |  |          return 1; | 
 |  |  |       } | 
 |  |  | 
 |  |  |             OpenWindow(L"dev:xpage[PackSchemaMaint.goodslib.vx]"); | 
 |  |  |          }else | 
 |  |  |          { | 
 |  |  |             int pr = dw_list; | 
 |  |  |             OpenWindow(L"dev:xpage[ProductLibraryItemMaint.vx]",pr); | 
 |  |  |             OpenWindow(L"dev:xpage[ProductLibraryItemMaint.vx]",dw_list); | 
 |  |  |          } | 
 |  |  |          */ | 
 |  |  |          //KXMLDOMElement ele = dw_list.getRowElement(L"data/Item", 1); | 
 |  |  |          //alert(ele.xml); | 
 |  |  |  | 
 |  |  |          int pr = dw_list; | 
 |  |  |          OpenWindow(L"dev:xpage[ProductLibraryItemMaint3.vx]", pr); | 
 |  |  |          OpenWindow(L"dev:xpage[ProductLibraryItemMaint3.vx]", dw_list); | 
 |  |  |  | 
 |  |  |          return 1; | 
 |  |  |       } | 
 |  |  | 
 |  |  |       } | 
 |  |  |       int MakeGoodCarFolderItem(HTREEITEM hItem) | 
 |  |  |       { | 
 |  |  |          xml x = ShoppingCartView::GetRoleList(); | 
 |  |  |          xml x = ShoppingCartView::GetSupplierRoleList(SupplierID); | 
 |  |  |          if (!x) return 0; | 
 |  |  |          KXMLDOMNodeList nlist = x.selectNodes(L"/data/item"); | 
 |  |  |          int len = nlist.length(); | 
 |  |  | 
 |  |  |          dw_list.Redraw(); | 
 |  |  |          dwc_list.Redraw(); | 
 |  |  |          impStr = L""; | 
 |  |  |          SendMessage(hObject, 0x401, (LPARAM)ls_nos, 0); | 
 |  |  |          SendMessage(hObject, 0x401, (LPARAM)ls_nos.c_str(), 0); | 
 |  |  |          xutil::RestoreCursor(hCursor); | 
 |  |  |          CloseWindow(); | 
 |  |  |          return 1; | 
 |  |  | 
 |  |  |          dw_list.Redraw(); | 
 |  |  |          dwc_list.Redraw(); | 
 |  |  |          impStr = L""; | 
 |  |  |          SendMessage(hObject, 0x401, (LPARAM)ls_nos, 0); | 
 |  |  |          SendMessage(hObject, 0x401, (LPARAM)ls_nos.c_str(), 0); | 
 |  |  |          xutil::RestoreCursor(hCursor); | 
 |  |  |          CloseWindow(); | 
 |  |  |          return 1; |