From 12c78e7dd7aa0371d046310de2c96c64a0dcd3bb Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期五, 28 八月 2026 11:06:59 +0800
Subject: [PATCH] update
---
jrj/project/business/Enquiry/Quick.Input.NewProductEx.cpp | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/jrj/project/business/Enquiry/Quick.Input.NewProductEx.cpp b/jrj/project/business/Enquiry/Quick.Input.NewProductEx.cpp
index 14f1a12..0cfa3ae 100644
--- a/jrj/project/business/Enquiry/Quick.Input.NewProductEx.cpp
+++ b/jrj/project/business/Enquiry/Quick.Input.NewProductEx.cpp
@@ -59,7 +59,7 @@
xml x ;
xaserverarg arg ;
- arg.setNativePointer(arg.CreateInstance());
+
arg.AddArg(L"no",sno);
if(xurl::get(L"/sale/data/SO/goods/goodslib/ChildFolderList", arg.GetString(),x)!=1)
{
@@ -111,7 +111,7 @@
xml x;
xaserverarg arg ;
- arg.setNativePointer(arg.CreateInstance());
+
arg.AddArg(L"count", L"1" );
arg.AddArg(L"type", typ );
if(xurl::get(L"/sale/data/SO/goods/usegoods/goodslib/asknos", arg.GetString(),x)!=1)return L"";
@@ -126,6 +126,11 @@
if(dw_list.GetItemString(row,L"Cname") == L"")
{
alert(L"第"+xstring(row)+L"行请输入中文名称");
+ return 0;
+ }
+ if (dw_list.GetItemString(row, L"Ename") == L"")
+ {
+ alert(L"第" + xstring(row) + L"行请输入英文名称");
return 0;
}
if(dw_list.GetItemString(row,L"PackingRate") == L"")
@@ -169,7 +174,7 @@
dw_list.AcceptText();
dw_list.DwUpdateAllToEx(x);
xaserverarg arg ;
- arg.setNativePointer(arg.CreateInstance());
+
arg.AddArg(L"content",x.xml());
if(xurl::get(L"/sale/data/ProductLibrary3/update/newestproduct", arg.GetString(),x)!=1)
{
@@ -284,6 +289,7 @@
OnAddItem();
return 1;
}
+
int onload()
{
SetArg();
--
Gitblit v1.9.3