| | |
| | | |
| | | xml x ; |
| | | xaserverarg arg; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | |
| | | xstring str = L"<Item update.modify='1' update.delete='1' guid='" + id + L"'/>"; |
| | | arg.AddArg(L"content", str); |
| | | if (xurl::get(L"/sale/data/ProductLibrary/image/update", arg.GetString(), x) != 1) |
| | |
| | | xstring guid = e.getAttribute(L"guid"); |
| | | if (guid == L"") return 1; |
| | | xaserverarg arg; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | |
| | | arg.AddArg(L"guid", e.getAttribute(L"guid")); |
| | | if (name == L"个人产品") |
| | | arg.AddArg(L"FolderID", e.getAttribute(L"guid")); |
| | |
| | | } |
| | | content += L"</data>"; |
| | | xaserverarg carg; |
| | | carg.setNativePointer(carg.CreateInstance()); |
| | | |
| | | carg.AddArg(L"content", content); |
| | | OpenWindow(L"dev:xpage[SO.Simulation.Import.vx]", (LPARAM) & carg); |
| | | OpenWindow(L"dev:xpage[SO.Simulation.Import.vx]", carg); |
| | | return 1; |
| | | } |
| | | else if (comdid == L"xmEnquiry") |
| | |
| | | } |
| | | content += L"</data>"; |
| | | xaserverarg carg; |
| | | carg.setNativePointer(carg.CreateInstance()); |
| | | |
| | | carg.AddArg(L"content", content); |
| | | OpenWindow(L"dev:xpage[Enquiry.Import.vx]", (LPARAM)&carg); |
| | | OpenWindow(L"dev:xpage[Enquiry.Import.vx]", carg); |
| | | return 1; |
| | | } |
| | | else if (comdid == L"xmPurchar") |