lifan
9 小时以前 391cec0976eb1c2307630aed2445f1609be405be
jrj/project/business/Customer3.maint.cpp
@@ -51,7 +51,7 @@
      return publiccode::GetGuid();         
   }   
   
   int ViewUpdate(int pr,xstring updateItem,xaserverarg  arg)
   int ViewUpdate(LPARAM  pr,xstring updateItem,xaserverarg  arg)
   {
      if(updateItem==L"update")
      {
@@ -483,6 +483,13 @@
         alert(L"客户简称不能为空!");
         return 0;
      }
      xstring Status = dw_detail.GetItemString(1, L"Status");
      if (sShortName == L"")
      {
         alert(L"客户状况不能为空!");
         return 0;
      }
      xstring Level = dw_detail.GetItemString(1,L"Level");
      /*if (Level == L"")
      {
@@ -885,7 +892,7 @@
      if(value == L"客户资料附件")
      {   
         
         if(userno == L"admin" || userno == L"00601" || userno == L"00701")
         if(userno == L"admin" || userno == L"00601" || userno == L"00618" || userno == L"00701")
          {
            //alert(dw_detail.GetGuid(1));
            arg.AddArg(L"entityid",dw_detail.GetGuid(1));
@@ -913,7 +920,7 @@
      return 1;
   }      
   
   int OnItemClickEx(TEvent* evt, int pr)
   int OnItemClickEx(TEvent* evt, LPARAM  pr)
   {
      xdwtable dw = dw_visit.FindDwTable(L"item",0);
   
@@ -1202,7 +1209,7 @@
      {
         //xstring userno = publiccode::getUserNo();
         userno = xaserver::GetUserNo();
         if(userno !=L"00601" && userno !=L"admin" && userno !=L"00701")
         if(userno !=L"00601" && userno !=L"admin" && userno !=L"00701" && userno != L"00618")
         {
            dw_detail.SetColumnProp(L"SalesPersonID",L"cellprotect",L"1");
            
@@ -1241,7 +1248,7 @@
         
         ApplyStatus=dw_detail.GetItemString(1,L"ApplyStatus");
         
         if(userno !=L"00601" && userno !=L"admin" && userno !=L"00701")
         if(userno !=L"00601" && userno !=L"admin" && userno !=L"00701" && userno != L"00618")
         {
            if(ApplyStatus ==L"财务已审核")
            {