From 6131814bc90be94feb1eabeb41be845f55082e02 Mon Sep 17 00:00:00 2001
From: qianxj2004 <qianxj15@sina.com>
Date: 星期一, 09 六月 2025 17:31:49 +0800
Subject: [PATCH] update

---
 jrj/project/business/SO3.maint.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/jrj/project/business/SO3.maint.cpp b/jrj/project/business/SO3.maint.cpp
index 8704028..588633e 100644
--- a/jrj/project/business/SO3.maint.cpp
+++ b/jrj/project/business/SO3.maint.cpp
@@ -567,7 +567,7 @@
 		{
 			xstring sSalespersonID = dw_base.GetItemString(1, L"SalespersonID");
 			//alert(sSalespersonID);
-			hdr->data = sSalespersonID;
+			hdr->data = sSalespersonID.c_str(true);
 		}
 
 
@@ -592,7 +592,7 @@
 				if (skunos == L"")
 					skunos = dw_item.GetItemString(i, L"SKUNo");
 				else
-					skunos += L",L" + dw_item.GetItemString(i, L"SKUNo");
+					skunos += L"," + dw_item.GetItemString(i, L"SKUNo");
 			}
 		}
 		xaserverarg& arg = *new xaserverarg();
@@ -852,7 +852,7 @@
 		return 1;
 	}
 
-	int OnImgDBClicked(TEvent* evt, int pr)
+	int OnImgDBClicked(TEvent* evt, LPARAM  pr)
 	{
 		IMGNNMHDR* nmtv = (IMGNNMHDR *)evt->notify.pnmh;
 		xstring src = nmtv->path;
@@ -861,13 +861,13 @@
 		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);
+		openUrl(L"/sale/view/ProductLibrary/xpage/bigpictureview", arg);
 		/*
 		xwin x = new xwin;
 		x.setNativePointer(h);
@@ -936,7 +936,7 @@
 				for (int ip = 0; ip < lenp; ip++)
 				{
 					auto xitem = nlistp.item(ip);
-					string picname = xitem.selectSingleNode(L"PicPath").text();
+					xstring picname = xitem.selectSingleNode(L"PicPath").text();
 					string goodno = xitem.selectSingleNode(L"GoodsNo").text();
 					if (picname == L"/business/products/Thumbs//")
 						picname = L"/business/products/Thumbs/00/00000000-0000-0000-0000-000000000000.jpg";

--
Gitblit v1.9.3