From a89df9d6d8e9821a0c3c41b7964f51762ce3cb84 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期六, 01 三月 2025 14:32:46 +0800 Subject: [PATCH] update --- jrj/project/printview/Template.Print.ViewEx.cpp | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/jrj/project/printview/Template.Print.ViewEx.cpp b/jrj/project/printview/Template.Print.ViewEx.cpp index 2c1e1ab..05da9f3 100644 --- a/jrj/project/printview/Template.Print.ViewEx.cpp +++ b/jrj/project/printview/Template.Print.ViewEx.cpp @@ -419,7 +419,6 @@ xstring DownLoadPaperPic(xstring guid) { - xstring path = xutil::GetModuleTmpPath(); xstring ext = L"jpg"; xstring filename = guid + L"." + ext; @@ -510,15 +509,15 @@ xstring skuno = tail.mid(spos,pos1 - spos ).trim(); xstring CustomerID=L""; xstring CustomerItemNo=L""; - if(skuno.find(L",L")>0) + if(skuno.find(L",")>0) { - CustomerID = skuno.left(skuno.find(L",L")).trim(); - skuno = skuno.mid(skuno.find(L",L")+1,256).trim(); + CustomerID = skuno.left(skuno.find(L",")).trim(); + skuno = skuno.mid(skuno.find(L",")+1,256).trim(); } - if(skuno.find(L",L")>0) + if(skuno.find(L",")>0) { - CustomerItemNo = skuno.left(skuno.find(L",L")).trim(); - skuno = skuno.mid(skuno.find(L",L")+1,256).trim(); + CustomerItemNo = skuno.left(skuno.find(L",")).trim(); + skuno = skuno.mid(skuno.find(L",")+1,256).trim(); } xstring src = DownLoadSKUNoPic(skuno,CustomerID,CustomerItemNo); head += tail.left(pos) + L"src=\"" + src; -- Gitblit v1.9.3