xj qian
2025-02-25 b9518767a995feb7533bb4a03a67ae1911976904
jrj/project/business/QuoteFile.cpp
@@ -1858,7 +1858,7 @@
                  }
                  dw_cell.SetRowColumn(lastrow, 1);
                  dw_cell.SetAnchorRowColumn(lastrow, 1);
                  //SendCtrlCmd(dw_cell, L"xmFormatCellDeleteRow");
                  //SendCtrlCmd(dw_cell, L"xmFormatCellDeleteRow");  //now not direct delete purch next
                  drow++;
               }
            }
@@ -1867,12 +1867,16 @@
      }
      xstring finished = L"1";
      PUser& user = publiccode::GetUser();
      xstring myname = user.name;
      for (row = startRow; row <= rowCount; row++)
      {
         if (getRowID(dw_cell, row) == L"") continue;
         if (dw_cell.GetItemString(row, colItemName) == L"")continue;
         if (dw_cell.GetItemString(row, colSalebackDate) == L"")
         {
            xstring purchor = dw_cell.GetItemString(row, purchercol);
            if (purchor != L"" && purchor != myname) continue; //purchnext
            finished = L"0";
            break;
         }
@@ -1881,11 +1885,7 @@
      if (0 == 1)OnUpdateEntityFile();
      OnUpdate();
      if (finished == L"1")
      {
         OnUpdateProcessed();
         alert(L"xxxxx");
      }
      if (finished == L"1")OnUpdateProcessed();
      //OnSaveEx(true);
      //alert(L"询价信息已发送给:"+purchors);