From 6c8c9ddaeb2bc6245a374c9354296bcfc2d96c06 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期二, 29 四月 2025 14:10:22 +0800 Subject: [PATCH] update --- jrj/project/business/QuoteFile.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jrj/project/business/QuoteFile.cpp b/jrj/project/business/QuoteFile.cpp index bb78ecd..7131f1e 100644 --- a/jrj/project/business/QuoteFile.cpp +++ b/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); -- Gitblit v1.9.3