qianxj2004
昨天 3e154206139f2fc8aeeab61c12c38717e55b3fc6
jrj/project/business/VATNotify/list.vatinvoice.cpp
@@ -52,22 +52,22 @@
         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";
      }
      
      xstring GetEntityID(int /*param*/ pr)
      xstring GetEntityID(LPARAM /*param*/ pr)
      {
         return dw_list.GetItemString(dw_list.GetRow(),L"VATInvoiceID");
      }
      
      int ViewUpdate(int pr,xstring updateItem,xaserverarg  arg)
      int ViewUpdate(LPARAM pr,xstring updateItem,xaserverarg  arg)
      {
         if(   updateItem==L"del")
         {
@@ -98,7 +98,7 @@
         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");
@@ -140,7 +140,9 @@
            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;
         }
@@ -201,7 +203,7 @@
         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"出运日期")
            {
            
@@ -281,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);