From 67c0065492e33c9936f12f46f9e2ebcdfb4f98ab Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期五, 18 四月 2025 14:01:12 +0800
Subject: [PATCH] update

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

diff --git a/jrj/project/business/SO3.maint.cpp b/jrj/project/business/SO3.maint.cpp
index 2e168a0..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);
 		}
 
 
@@ -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