LiFan
2024-08-16 05e5a33b2102cd562e8503121bef4ad8bc29a1e6
update
已修改24个文件
130 ■■■■■ 文件已修改
jrj/ext-jrj/ext-jrj.vcxproj 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/Expense/APNew.cpp 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/Expense/APOther.cpp 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/Expense/VATInvoiceAdd.cpp 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/Supplier/list.Owner.Supplier.cpp 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/Supplier/maint.Document.Supplier.cpp 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/Flow3.cpp 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/FlowTermImport.cpp 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/FlowTermSelect.cpp 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/LogList.cpp 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/ProcessManagement.cpp 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/UserImport.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/UserPassDlg.cpp 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/level.Customer.v3.cpp 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/view.assignadjust.cpp 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/VATNotify/del.vatinvoice.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/VATNotify/import.vatnotify.cpp 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/VATNotify/list.vatinvoice.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/VATNotify/list.vatnotify.cpp 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/VATNotify/simple.maint.vatnotify.cpp 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/printview/Template.Print.Dialog.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/printview/Template.Print.ViewEx.cpp 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/total3/ProductNewList.cpp 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/ext-jrj/ext-jrj.vcxproj
@@ -1049,7 +1049,7 @@
    <ClCompile Include="..\project\total3\FactoryPayment.cpp" />
    <ClCompile Include="..\project\total3\GDNItem.GDN.cpp" />
    <ClCompile Include="..\project\total3\ProductNewList.cpp">
      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
    </ClCompile>
    <ClCompile Include="..\project\total3\ProductNoOut.SO.cpp" />
jrj/project/business/Expense/APNew.cpp
Binary files differ
jrj/project/business/Expense/APOther.cpp
Binary files differ
jrj/project/business/Expense/VATInvoiceAdd.cpp
Binary files differ
jrj/project/business/Supplier/list.Owner.Supplier.cpp
Binary files differ
jrj/project/business/Supplier/maint.Document.Supplier.cpp
Binary files differ
jrj/project/business/SystemSettings/Flow3.cpp
@@ -142,7 +142,6 @@
            }
                
            xaserverarg arg ;
            ;
            arg.AddArg(L"content",x.xml());
            arg.AddArg(L"sdbmap",sdbmap);
            trace(x.xml());
@@ -206,7 +205,6 @@
            //trace(colname);
            
            xaserverarg arg ;
            ;
            xstring comdid =L"";
            xstring data=L"";
@@ -285,7 +283,6 @@
            xdwgrid dw_list = GetSheetDwgrid(i);
            
            xaserverarg arg ;
            ;
            arg.SetArg(L"stype",GetSheetType(i),L"xstring");
            arg.SetArg(L"sdata",L"ddd",L"xstring");
            arg.SetArg(L"flowID",flowid,L"xstring");
@@ -300,10 +297,9 @@
        {
            if(flowid==L"") return 1;
            
            xml x ;
            xml x;
            
            xaserverarg arg ;
            ;
            xaserverarg arg;
            
            //int i = tab_1.GetSheetIndex();
            for(int i=0;i<7;i++)
jrj/project/business/SystemSettings/FlowTermImport.cpp
@@ -120,10 +120,8 @@
        
        int  OnRetrieve()
        {
            xml x ;
            xml x;
            xaserverarg arg ;
            ;
            
            arg.AddArg(L"stype",stype);
            arg.AddArg(L"sdata",sdata);
jrj/project/business/SystemSettings/FlowTermSelect.cpp
@@ -60,8 +60,7 @@
        int OnOK(xstring comdid)
        {
            xaserverarg arg ;
            arg = GetArg();
            xaserverarg arg = GetArg();
            arg.AddArg(L"comdid",comdid);    
@@ -119,10 +118,8 @@
        
        int  OnRetrieve()
        {
            xml x ;
            xaserverarg arg ;
            ;
            xml x;
            xaserverarg arg;
            
            arg.AddArg(L"stype",stype);
            arg.AddArg(L"sdata",sdata);
jrj/project/business/SystemSettings/LogList.cpp
@@ -94,7 +94,7 @@
                hCursor = xutil::SetCursorWait();
                xstring str = dw_list.DataAnalysis(L"");
                xaserverarg arg;
                ;
                arg.AddArg(L"html", str);
                
                OpenWindow(L"dev:xpage[data.vanalysis.vx]", arg);
@@ -108,7 +108,7 @@
        int OnSearch()
        {
            xaserverarg arg;
            ;
            arg.AddArg(L"text", searchStr);
            OpenWindow(L"dev:xpage[search.dialog.vx]", arg);
            xstring str = arg.GetArgString(L"text");
@@ -176,7 +176,7 @@
            xml x ;
            
            xaserverarg arg ;
            ;
            arg.AddArg(L"arg",argstr);
            //alert(argstr);
                
jrj/project/business/SystemSettings/ProcessManagement.cpp
@@ -177,8 +177,6 @@
        {
            SetAgent();
            return 1;
        }
    };
jrj/project/business/SystemSettings/UserImport.cpp
@@ -311,7 +311,7 @@
    int OnInitial()
    {
        SetAgent();
        OnAttachEvent();
        OnAttachEvent();
        return 1;
    }
jrj/project/business/SystemSettings/UserPassDlg.cpp
@@ -85,9 +85,8 @@
                xstring newpass = xutil::MD5(str1);
                
                xml x;
                xaserverarg arg ;
                ;
                xaserverarg arg;
                arg.AddArg(L"old_password",oldpass);
                arg.AddArg(L"new_password",newpass);
                
jrj/project/business/SystemSettings/level.Customer.v3.cpp
@@ -35,10 +35,9 @@
    }
    int OnPreRetrieve()
    {
        xml x ;
        xaserverarg arg ;
        ;
        xml x;
        xaserverarg arg;
        arg.AddArg(L"pageindex", xstring(PIndex)); //第几页
        arg.AddArg(L"pagenumber", xstring(m_pageNumber)); //每页数量
        arg.AddArg(L"QueryTxt",m_QueryTxt );
@@ -132,10 +131,9 @@
        while (tv_1.GetRootItem())
            tv_1.DeleteItem(tv_1.GetRootItem());
        
        xml x ;
        xaserverarg arg ;
        ;
        xml x;
        xaserverarg arg;
        arg.AddArg(L"sType",sType);
        if(getUrl(L"/sale/data/"+GetEntityName(1)+L"/pref/list/tree",arg.GetString(),x)!=1)
        {
@@ -195,10 +193,9 @@
        int  MB_YESNO = 0x00000004;
        int  IDYES =  6;    
        if(MessageBox(GetHWND(),L"确认要删除客户 "+sName+L" 的信息吗?",L"提示",MB_YESNO)!=IDYES) return 1;
        xml x ;
        xml x;
        xaserverarg arg;
        
        xaserverarg arg ;
        ;
        arg.AddArg(L"guid",sguid);
        if (xurl::post(L"/sale/data/"+GetEntityName(1)+L"/entity/delete",arg.GetString(),x) != 1)
        {
@@ -232,8 +229,8 @@
    //设置层级弹出窗与保存
    int OnLevelCustomer()
    {
        xaserverarg arg ;
        ;
        xaserverarg arg;
        OpenWindow(L"dev:xpage[maint.Level.Customer3.vx]", arg);
        
        xml ux ;
@@ -243,7 +240,7 @@
        if(arg.GetArgString(L"ok")==L"true")
        {
            xml x ;
            xml x;
            
            x.loadXML(arg.GetArgString(L"arg"));
            KXMLDOMElement uele = x.documentElement(); 
@@ -305,10 +302,9 @@
        int row = hdr.row;
        KXMLDOMElement ele = listwin::dw_list.GetRowElement(row);
        xstring entity = ele.selectSingleNode(L"CustomerID").text();
        xml x ;
        xml x;
        xaserverarg arg;
        
        xaserverarg arg ;
        ;
        arg.AddArg(L"EntityID",entity);
        if (getUrl(L"/sale/data/CustomerV3/entity/customeritem",arg.GetString(),x)!=1)
        {
jrj/project/business/SystemSettings/view.assignadjust.cpp
@@ -51,13 +51,11 @@
                
        int OnSave()
        {
            xml x ;
            xml x;
            
            dw_list.AcceptText();
            dw_list.DwUpdateAllToEx(x);
            xaserverarg arg ;
            xaserverarg arg;
            xml x0;
            x0.loadXML(L"<data/>");
            KXMLDOMNodeList t = x.selectNodes(L"data/node()[(@update.new='1') or (@update.modify='1') or (@update.delete='1') ]");
@@ -113,7 +111,7 @@
        int OnSearch()
        {
            xaserverarg arg;
            ;
            arg.AddArg(L"text", searchStr);
            OpenWindow(L"dev:xpage[search.dialog.vx]", arg);
            xstring str = arg.GetArgString(L"text");
@@ -217,13 +215,14 @@
            return 1;
        }
                int ShowRetrieveingTip()
        int ShowRetrieveingTip()
        {
            dataretrieveing = true;
            xwin* pwin = OpenWindow(L"dev:xpage[TestRetrieveing.vx]");
            hWndRetrieveTip = pwin->GetHWND();
            return 1;
        }
        int CloseRetrieveTip()
        {
            dataretrieveing = false;
@@ -238,10 +237,9 @@
            if(!rptEle) return 0;
            dw_list.Reset();
            
            xml x ;
            xaserverarg arg ;
            ;
            xml x;
            xaserverarg arg;
            arg.AddArg(L"arg",argstr);
            if (xurl::get(dataurl,arg.GetString(),x)!=1)
            {
jrj/project/business/VATNotify/del.vatinvoice.cpp
@@ -84,7 +84,7 @@
            {    
                int row = dw_list.GetRow();
                xstring VATInvoiceID = dw_list.GetItemString(row,L"VATInvoiceID");
                alert(VATInvoiceID);
                //alert(VATInvoiceID);
                int MB_OKCANCEL = 1;
                int IDOK  = 1;
                int ret = MessageBox(GetHWND(),L"确认恢复?",L"提示",MB_OKCANCEL);
jrj/project/business/VATNotify/import.vatnotify.cpp
@@ -77,9 +77,9 @@
        int OnImport2()
        {
            xml x;
            xaserverarg arg;    
            for(int row=1; row<= dw_list.GetRowCount();row++){
            for(int row=1; row<= dw_list.GetRowCount();row++)
            {
                KXMLDOMElement ele = dw_list.GetRowElement(row);
                xstring invno = ele.selectSingleNode(L"InvoiceNo").text(); 
                arg.AddArg(L"InvoiceNo",invno);
@@ -95,9 +95,8 @@
            }
            return 1;
        }
        //命令发布函数
        int OnCmdDispatch(xstring comdid)
        {
jrj/project/business/VATNotify/list.vatinvoice.cpp
@@ -283,7 +283,7 @@
            xml x ;
            
            xaserverarg arg ;
            arg.setNativePointer(arg.CreateInstance());
            arg.AddArg(L"QueryTxt",xcontrol(GetControl(L"sle_search")).GetText());
            arg.AddArg(L"QueryArg",GetQueryArg());
            arg.AddArg(L"DatePicker",DatePicker);
jrj/project/business/VATNotify/list.vatnotify.cpp
@@ -70,7 +70,6 @@
            if (colname == L"SONo")
            {
                xstring SONo = dw_list.GetItemString(row, colname.c_str());
                ;
                
                arg.AddArg(L"EntityNo", SONo);
                arg.AddArg(L"ReadOnly", L"true");
@@ -79,7 +78,6 @@
            if (colname == L"InvoiceNo")
            {
                xstring InvoiceNo = dw_list.GetItemString(row, colname.c_str());
                ;
                
                arg.AddArg(L"EntityNo", InvoiceNo);
                arg.AddArg(L"ReadOnly", L"true");
@@ -90,7 +88,7 @@
        int OnPrint()
        {
            xaserverarg& arg = *new xaserverarg;
            xaserverarg arg ;
            
            arg.AddArg(L"EntityName", L"VATNotify");
            arg.AddArg(L"EntityID", L"", L"");
@@ -110,13 +108,13 @@
            arg.AddArg(L"VATNotifyID", L"");
            trace(InvoiceNo + L"==1" + NInvoiceNoEx + L"==2" + SupplierID + L"==3" + dw_list.GetGuid(dw_list.GetRow()));
            
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg);
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg);
            return 1;
        }
        int OnPrintItem()
        {
            xaserverarg& arg = *new xaserverarg;
            xaserverarg arg;
            
            arg.AddArg(L"EntityName", L"VATNotify");
            arg.AddArg(L"EntityID", L"", L"");
@@ -136,7 +134,7 @@
            arg.AddArg(L"VATNotifyID", dw_list.GetGuid(dw_list.GetRow()));
            trace(L"=====L" + InvoiceNo + L"=====L" + SupplierID + L"=====L" + dw_list.GetGuid(dw_list.GetRow()));
            
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg);
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg);
            return 1;
        }
jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp
@@ -56,25 +56,25 @@
        int OnPrint()
        {
            xaserverarg& arg = *new xaserverarg;
            xaserverarg arg;
            
            arg.AddArg(L"EntityName", L"VATNotify", L"");
            arg.AddArg(L"EntityID", L"", L"");
            arg.AddArg(L"EntityNo", dw_item.GetItemString(1, L"InvoiceNo"), L"");
            
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg);
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg);
            return 1;
        }
        int OnPrintItem()
        {
            xaserverarg& arg = *new xaserverarg;
            xaserverarg arg ;
            
            arg.AddArg(L"EntityName", L"VATNotify", L"");
            arg.AddArg(L"EntityID", L"", L"");
            arg.AddArg(L"EntityNo", dw_item.GetItemString(1, L"InvoiceNo"), L"");
            
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg);
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg);
            return 1;
        }
jrj/project/business/VATNotify/simple.maint.vatnotify.cpp
@@ -63,7 +63,7 @@
        int OnPrint()
        {
            xaserverarg& arg = *new xaserverarg;
            xaserverarg  arg;
            
            arg.AddArg(L"EntityName", L"VATNotify");
            arg.AddArg(L"EntityID", L"", L"");
@@ -74,13 +74,13 @@
            arg.AddArg(L"SupplierID", SupplierID);
            arg.AddArg(L"VATNotifyID", L"");
            
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg);
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg);
            return 1;
        }
        int OnPrintItem()
        {
            xaserverarg& arg = *new xaserverarg;
            xaserverarg arg;
            
            arg.AddArg(L"EntityName", L"VATNotify", L"");
            arg.AddArg(L"EntityID", L"", L"");
@@ -92,7 +92,7 @@
            arg.AddArg(L"VATNotifyID", dw_item.GetGuid(dw_item.GetRow()));
            trace(InvoiceNo + L"====L" + dw_item.GetGuid(dw_item.GetRow()));
            
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg);
            openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg);
            return 1;
        }
jrj/project/printview/Template.Print.Dialog.cpp
@@ -375,7 +375,7 @@
        xml x;
        xaserverarg arg;
        arg.setNativePointer(arg.CreateInstance());
        arg.AddArg(L"EntityName", m_EntityName, L"");
        arg.AddArg(L"EntityID", m_EntityID, L"");
        arg.AddArg(L"susername", susername, L""); //
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;
jrj/project/total3/ProductNewList.cpp
@@ -88,6 +88,7 @@
                    dw_list.SetReadOnlyColumn(i);
            }
            dw_list.Redraw();
            return 1;
        }
        int OnRetrieveEx()
@@ -121,6 +122,7 @@
                    dw_list.SetReadOnlyColumn(i);
            }
            dw_list.Redraw();
            return 1;
        }
        xml  GetGoodsPropList(xstring guid)