| | |
| | | return 1; |
| | | } |
| | | |
| | | xstring GetEntityData(int pr) |
| | | xstring GetEntityData(LPARAM pr) |
| | | { |
| | | xml x ; |
| | | dw_item.AcceptText(); |
| | |
| | | |
| | | int OnPrint() |
| | | { |
| | | xaserverarg& arg = *new xaserverarg; |
| | | xaserverarg arg; |
| | | |
| | | arg.AddArg(L"EntityName", L"VATNotify"); |
| | | arg.AddArg(L"EntityID", L"", L""); |
| | |
| | | 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""); |
| | |
| | | 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; |
| | | } |
| | | |
| | |
| | | if (x == L"userInvoiceNo") //下拉 |
| | | { |
| | | xstring sInvoiceNo = dw_item.GetItemString(row, L"NInvoiceNo"); |
| | | hdr.data = sInvoiceNo; |
| | | hdr.data = sInvoiceNo.c_str(true); |
| | | } |
| | | |
| | | return 1; |