| | |
| | | } |
| | | 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++; |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | 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; |
| | | } |
| | |
| | | if (0 == 1)OnUpdateEntityFile(); |
| | | OnUpdate(); |
| | | |
| | | if (finished == L"1") |
| | | { |
| | | OnUpdateProcessed(); |
| | | alert(L"xxxxx"); |
| | | } |
| | | if (finished == L"1")OnUpdateProcessed(); |
| | | |
| | | //OnSaveEx(true); |
| | | //alert(L"询价信息已发送给:"+purchors); |