| | |
| | | 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"); |
| | |
| | | if(xcontrol(GetControl(L"cbx_type")).GetText() ==L"未开增值税票" ) return 1; |
| | | int row = dw_list.GetRow(); |
| | | xaserverarg arg; |
| | | xstring VatInvoiceID = dw_list.GetItemString(row,L"VATInvoiceID"); |
| | | xstring VATInvoiceID = dw_list.GetItemString(row,L"VATInvoiceID"); |
| | | arg.AddArg(L"VATInvoiceID", VATInvoiceID); |
| | | |
| | | OpenWindow(L"dev:xpage[maint.vatinvoice.vx]", arg); |
| | | return 1; |
| | | } |
| | |
| | | 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"出运日期") |
| | | { |
| | | |