| | |
| | | return 1; |
| | | } |
| | | |
| | | xstring GetEntityName(int pr) |
| | | xstring GetEntityName(LPARAM pr) |
| | | { |
| | | return L"VATInvoice3"; |
| | | } |
| | | |
| | | xstring GetEntityIDName(int /*param*/ pr) |
| | | xstring GetEntityIDName(LPARAM /*param*/ pr) |
| | | { |
| | | return L"VTAInvoiceID"; |
| | | } |
| | |
| | | int h = xcombobox::GetCurSel(evt->command.hCtrl); |
| | | if(h > -1) |
| | | { |
| | | xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h); |
| | | xstring txt = (string)xcombobox::GetLBText(evt->command.hCtrl, h); |
| | | if(txt==L"增值税票") |
| | | { |
| | | dw_list.openUrl(L"/sale/view/VATNotify/template/VATInvoice/list"); |
| | |
| | | int h = xcombobox::GetCurSel(evt->command.hCtrl); |
| | | if(h > -1) |
| | | { |
| | | xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h); |
| | | xstring txt = (string)xcombobox::GetLBText(evt->command.hCtrl, h); |
| | | if(txt==L"出运日期") |
| | | { |
| | | |
| | |
| | | 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); |