From 858d5b84cb2f9311d6e00d90c6f9527e2e6f57b4 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期四, 04 九月 2025 17:50:13 +0800
Subject: [PATCH] update
---
jrj/project/business/SO3.maint.cpp | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/jrj/project/business/SO3.maint.cpp b/jrj/project/business/SO3.maint.cpp
index 8704028..9d831f5 100644
--- a/jrj/project/business/SO3.maint.cpp
+++ b/jrj/project/business/SO3.maint.cpp
@@ -377,7 +377,7 @@
{
xstring CustomerID = dw_base.GetItemString(1, L"CustomerID");
//KXMLDOMDocument x = QuoteView::LookupProductsByText(str,CustomerID);
- //trace(str+L"--" + CustomerID);
+ //alert(str+L"--" + CustomerID);
KXMLDOMDocument x = ViewObject::RetrieveData(GetServerUrl(),L"/sale/data/SaleOrder/lookup/productsex", L"str", str, L"CustomerID", CustomerID);
if (!x) return 1;
KXMLDOMNodeList items = x.selectNodes(L"/Items/Item");
@@ -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