From b0e4638bc1780bbc007e9055895db0c511b68fd6 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期二, 01 九月 2026 16:48:26 +0800
Subject: [PATCH] update

---
 jrj/project/business/Enquiry/Quick.Input.NewProductEx.cpp |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/jrj/project/business/Enquiry/Quick.Input.NewProductEx.cpp b/jrj/project/business/Enquiry/Quick.Input.NewProductEx.cpp
index 54afd28..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)
 			{

--
Gitblit v1.9.3