Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
| | | <LocalDebuggerCommand>d:\xclient64\xexplorer64.exe</LocalDebuggerCommand> |
| | | <LocalDebuggerWorkingDirectory>d:\xclient64</LocalDebuggerWorkingDirectory> |
| | | <LocalDebuggerCommand>D:\xclient64\xexplorer64.exe</LocalDebuggerCommand> |
| | | <LocalDebuggerWorkingDirectory>D:\xclient64</LocalDebuggerWorkingDirectory> |
| | | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> |
| | | <LocalDebuggerCommandArguments>-noupdate</LocalDebuggerCommandArguments> |
| | | </PropertyGroup> |
| | |
| | | |
| | | xstring NInvoiceNoEx = dw_list.GetItemString(dw_list.GetRow(), L"NInvoiceNo"); |
| | | xstring InvoiceNoEx = dw_list.GetItemString(dw_list.GetRow(), L"InvoiceNo"); |
| | | xstring SupplierName = dw_list.GetItemString(dw_list.GetRow(), L"ShortName"); |
| | | if (NInvoiceNoEx != InvoiceNoEx) |
| | | { |
| | | NInvoiceNoEx = InvoiceNoEx; |
| | |
| | | arg.AddArg(L"EntityNoEx", NInvoiceNoEx, L""); |
| | | arg.AddArg(L"SupplierID", SupplierID); |
| | | arg.AddArg(L"VATNotifyID", L""); |
| | | arg.AddArg(L"SupplierName", SupplierName); |
| | | 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); |
| | |
| | | NInvoiceNoEx = InvoiceNoEx; |
| | | } |
| | | xstring SupplierID = dw_list.GetItemString(dw_list.GetRow(), L"SupplierID"); |
| | | xstring SupplierName = dw_list.GetItemString(dw_list.GetRow(), L"ShortName"); |
| | | arg.AddArg(L"EntityNo", InvoiceNo, L""); |
| | | arg.AddArg(L"EntityNoEx", NInvoiceNoEx, L""); |
| | | arg.AddArg(L"SupplierID", SupplierID); |
| | | arg.AddArg(L"VATNotifyID", dw_list.GetGuid(dw_list.GetRow())); |
| | | arg.AddArg(L"SupplierName", SupplierName); |
| | | 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); |
| | |
| | | { |
| | | dw_list = GetControl(L"dw_list"); |
| | | dw_list.openUrl(L"/sale/view/VATNotify/template/VATNotify/list"); |
| | | dw_list.SetColumnState(L"ShortName", false); |
| | | |
| | | dw_arg = GetControl(L"dw_arg"); |
| | | dw_arg.openUrl(L"/sale/view/AR/template/queryarg"); |
| | | dw_arg.SetColHeaderHeight(0); |
| | |
| | | xstring InvoiceNo = dw_item.GetItemString(dw_item.GetRow(), L"NInvoiceNo"); |
| | | if (InvoiceNo == L"") InvoiceNo = dw_item.GetItemString(dw_item.GetRow(), L"InvoiceNo"); |
| | | xstring SupplierID = dw_item.GetItemString(dw_item.GetRow(), L"SupplierID"); |
| | | xstring SupplierName = dw_item.GetItemString(dw_item.GetRow(), L"ShortName"); |
| | | arg.AddArg(L"EntityNo", InvoiceNo, L""); |
| | | arg.AddArg(L"EntityNoEx", InvoiceNo, L""); |
| | | arg.AddArg(L"SupplierID", SupplierID); |
| | | arg.AddArg(L"VATNotifyID", L""); |
| | | arg.AddArg(L"SupplierName", SupplierName); |
| | | |
| | | openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg); |
| | | return 1; |
| | |
| | | xstring InvoiceNo = dw_item.GetItemString(dw_item.GetRow(), L"NInvoiceNo"); |
| | | if (InvoiceNo == L"") InvoiceNo = dw_item.GetItemString(dw_item.GetRow(), L"InvoiceNo"); |
| | | xstring SupplierID = dw_item.GetItemString(dw_item.GetRow(), L"SupplierID"); |
| | | xstring SupplierName = dw_item.GetItemString(dw_item.GetRow(), L"ShortName"); |
| | | arg.AddArg(L"EntityNo", InvoiceNo, L""); |
| | | arg.AddArg(L"EntityNoEx", InvoiceNo, L""); |
| | | arg.AddArg(L"SupplierID", SupplierID); |
| | | arg.AddArg(L"VATNotifyID", dw_item.GetGuid(dw_item.GetRow())); |
| | | arg.AddArg(L"SupplierName", SupplierName); |
| | | trace(InvoiceNo + L"====L" + dw_item.GetGuid(dw_item.GetRow())); |
| | | |
| | | openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg); |
| | |
| | | dw_item.SetColumnState(L"QtyUnitName", false); |
| | | dw_item.SetColumnState(L"QtyUnit", false); |
| | | dw_item.SetColumnState(L"CQtyUnit", false); |
| | | dw_item.SetColumnState(L"ShortName", false); |
| | | |
| | | dw_fob = GetControl(L"dw_fob"); |
| | | dw_fob.openUrl(L"/sale/view/VATNotify/template/VATNotify/fob"); |
| | |
| | | public: |
| | | xhtml ole_print; |
| | | xcell cell; |
| | | xstring m_SupplierName; |
| | | xstring m_EntityName; |
| | | xstring m_EntityID; |
| | | xstring m_EntityNo; |
| | |
| | | if(m_EntityName==L"SaleOrder") pre=L"PI"; |
| | | if(m_EntityName==L"GDN3")pre=L"INV"; |
| | | } |
| | | if (m_EntityName == L"VATNotify")m_EntityNo = m_EntityNo + m_SupplierName; |
| | | xstring file1 = GetMySaveFileName(pre+m_EntityNo+L".xlsx", |
| | | L"Excel1文件(*.xlsx)\0*.xlsx;*.xls\0Excel97文件(*.xls)\0*.xls\0PDF文件(*.pdf)\0*.pdf\0", |
| | | L"xlsx"); |
| | |
| | | m_EntityID = arg.GetArgString(L"EntityID"); |
| | | m_EntityNo = arg.GetArgString(L"EntityNo"); |
| | | m_EntityName = arg.GetArgString(L"EntityName"); |
| | | m_SupplierName = arg.GetArgString(L"SupplierName"); |
| | | m_DocumentID = L""; |
| | | |
| | | OnHtml(arg); |
| | |
| | | m_EntityID = arg.GetArgString(L"EntityID"); |
| | | m_EntityNo = arg.GetArgString(L"EntityNo"); |
| | | m_EntityName = arg.GetArgString(L"EntityName"); |
| | | m_SupplierName = arg.GetArgString(L"SupplierName"); |
| | | m_DocumentID = L""; |
| | | OnHtml(arg); |
| | | } |
| | |
| | | m_EntityID = arg.GetArgString(L"EntityID"); |
| | | m_EntityNo = arg.GetArgString(L"EntityNo"); |
| | | m_EntityName = arg.GetArgString(L"EntityName"); |
| | | m_SupplierName = arg.GetArgString(L"SupplierName"); |
| | | m_DocumentID = L""; |
| | | return 1; |
| | | } |
| | |
| | | m_EntityID = arg.GetArgString(L"EntityID"); |
| | | m_EntityNo = arg.GetArgString(L"EntityNo"); |
| | | m_EntityName = arg.GetArgString(L"EntityName"); |
| | | m_SupplierName = arg.GetArgString(L"SupplierName"); |
| | | m_DocumentID = L""; |
| | | } |
| | | }else |