xj qian
2024-10-29 bb4dc0fab56e542e784311f95ae6d7e7dd785a8f
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;