From 3c42a475e218e9feb793e93563c8d5dede6fcb5d Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期五, 13 九月 2024 10:06:54 +0800 Subject: [PATCH] update --- jrj/project/business/Enquiry/Entity.Product.Select.cpp | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/jrj/project/business/Enquiry/Entity.Product.Select.cpp b/jrj/project/business/Enquiry/Entity.Product.Select.cpp index 99ce155..4e3cacf 100644 --- a/jrj/project/business/Enquiry/Entity.Product.Select.cpp +++ b/jrj/project/business/Enquiry/Entity.Product.Select.cpp @@ -114,7 +114,7 @@ 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) { @@ -151,7 +151,7 @@ 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); @@ -318,6 +318,7 @@ 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()); @@ -848,8 +849,8 @@ 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; } -- Gitblit v1.9.3