From 7c6aafab5bcdf45d75c3af10874884f0839072b2 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期三, 24 七月 2024 19:15:43 +0800 Subject: [PATCH] update --- jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp | 10 ++++------ jrj/project/business/Enquiry/ViewPictures.cpp | 4 +--- jrj/project/business/EnquiryEx3.list.cpp | 0 jrj/project/business/Enquiry/PriceList.PurcharItemSelectEx.cpp | 2 +- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/jrj/project/business/Enquiry/PriceList.PurcharItemSelectEx.cpp b/jrj/project/business/Enquiry/PriceList.PurcharItemSelectEx.cpp index fa1369a..ddc94d2 100644 --- a/jrj/project/business/Enquiry/PriceList.PurcharItemSelectEx.cpp +++ b/jrj/project/business/Enquiry/PriceList.PurcharItemSelectEx.cpp @@ -119,7 +119,7 @@ int OnRetrieve() { xml x ; - xaserverarg arg; + xaserverarg arg=GetArg(); if (getUrl(L"/sale/data/Enquiry/folder/listitems", arg.GetString(), x) != 1) { trace(x.text()); diff --git a/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp b/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp index 01123d4..fca596d 100644 --- a/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp +++ b/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp @@ -50,14 +50,14 @@ else src=src.mid(src.find(L"Thumbs", 0)+6, 50); */ - xaserverarg& arg = *new xaserverarg; + xaserverarg arg; //arg.AddArg(L"src",L"/business/products/chanpin"+src); arg.AddArg(L"src", src); //win::OpenWindow(L"dev:xpage[BigPicture.vx]",arg); - int h = openUrl(L"/sale/view/ProductLibrary/xpage/bigpictureview", &arg); + int h = openUrl(L"/sale/view/ProductLibrary/xpage/bigpictureview", arg); return 1; /*xwin x = new xwin; @@ -175,9 +175,7 @@ if (GetWinParam()) { - xaserverarg arg; - // - arg = GetArg(); + xaserverarg arg = GetArg(); ParentHWND = (HWND)arg.GetParam(L"ParentHWND"); xstring openflag = arg.GetArgString(L"OpenFlag"); //alert(openflag); @@ -193,7 +191,7 @@ return 0; } doc = x; - //alert(x.GetXml()); + //alert(x.xml()); KXMLDOMElement e = x.selectSingleNode(L"ImageList"); KXMLDOMNodeList nlist = e.selectNodes(L"image"); int i; diff --git a/jrj/project/business/Enquiry/ViewPictures.cpp b/jrj/project/business/Enquiry/ViewPictures.cpp index 55b3b0c..677bffd 100644 --- a/jrj/project/business/Enquiry/ViewPictures.cpp +++ b/jrj/project/business/Enquiry/ViewPictures.cpp @@ -86,9 +86,7 @@ { SetArg(); OnAttachEvent(); - xaserverarg arg; - - int p = GetArg(); + xaserverarg arg= GetArg(); xstring skuid = arg.GetArgString(L"guid"); xstring customerItemNo = arg.GetArgString(L"CustomerItemNo"); diff --git a/jrj/project/business/EnquiryEx3.list.cpp b/jrj/project/business/EnquiryEx3.list.cpp index c9f0589..92cf413 100644 --- a/jrj/project/business/EnquiryEx3.list.cpp +++ b/jrj/project/business/EnquiryEx3.list.cpp Binary files differ -- Gitblit v1.9.3