306159908cc8cadf008bb844b798ab437c46e4fd..cf8dba7748cc9826d744069b5063a14e3fcd2fa8
2025-03-13 xj qian
Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj
cf8dba 对比 | 目录
2025-03-13 xj qian
update
8101de 对比 | 目录
已修改1个文件
9 ■■■■ 文件已修改
jrj/project/business/SystemSettings/CommentaryEx.dialog.cpp 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SystemSettings/CommentaryEx.dialog.cpp
@@ -92,6 +92,7 @@
            xstring guid = publiccode::GetGuid();
            xstring str = guid.left(2);
            xstring ret = xaserver::UploadFile(L"attachment" + str, guid + L".jpg", GetHWND(), L"", false);
            int nIndex = m_cb.AddItem(ret.c_str(true), (guid + L".jpg").c_str(true));
            showAtt();
            return 1;
        }
@@ -135,8 +136,12 @@
                xstring value = m_Edit.GetText();
                if (value == L"")
                {
                    alert(L"请填写批注!");
                    return 1;
                    int s = m_cb.GetCount();
                    if (s < 1)
                    {
                        alert(L"请填写批注!");
                        return 1;
                    }
                }
                x.loadXML(L"<Commentary update.new='1' update.modify='1'/>");