LiFan
2024-11-27 4f4999c627e2aa64e54a5026d3504a51c956378d
update
已添加1个文件
已修改4个文件
51 ■■■■■ 文件已修改
jrj/ext-jrj/ext-jrj.vcxproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/ext-jrj/ext-jrj.vcxproj.filters 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/Customer/TtlCfg.Customer.cpp 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/total3/ViewTotalWin.cpp 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/total3/viewex.total.cpp 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/ext-jrj/ext-jrj.vcxproj
@@ -520,6 +520,7 @@
      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
    </ClCompile>
    <ClCompile Include="..\project\business\Customer\maint.Document.Customer.v3.cpp" />
    <ClCompile Include="..\project\business\Customer\TtlCfg.Customer.cpp" />
    <ClCompile Include="..\project\business\Customer\XmShare.Custumer.v3.cpp" />
    <ClCompile Include="..\project\business\Enquiry.list.cpp">
      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
jrj/ext-jrj/ext-jrj.vcxproj.filters
@@ -1517,6 +1517,9 @@
    <ClCompile Include="..\project\business\Expense\maint.samplerequest2.cpp">
      <Filter>project\business\Expense</Filter>
    </ClCompile>
    <ClCompile Include="..\project\business\Customer\TtlCfg.Customer.cpp">
      <Filter>project\business\Customer</Filter>
    </ClCompile>
  </ItemGroup>
  <ItemGroup>
    <None Include="ext-jrj.def">
jrj/project/business/Customer/TtlCfg.Customer.cpp
Binary files differ
jrj/project/total3/ViewTotalWin.cpp
@@ -87,7 +87,7 @@
        int hCursor = 0;
        if (comdid == L"xmSearch") return OnSearch();
        if (comdid == L"xmOwner") return OnOwnerData();
        //if(UserNo !=L"00603")
        //{
        if (comdid == L"xmAnalysis")
@@ -258,6 +258,27 @@
        return 1;
    }
    int OnOwnerData()
    {
        int ret = MessageBox(GetHWND(), L"是否更新归属数据?\n更新过程预计需要些时间,如果中间弹出等待时间过长的提示,请点击中间重试按钮,或等待到一定时间再点击", L"提示", 0x4 /*yesno*/);
        if (ret != 6 /*IDYES */) return 1;
        xml x;
        HCURSOR hCursor = xutil::SetCursorWait();
        if (xurl::get(L"/sale/data/CustomerV3/owner/reload", L"", x) != 1)
        {
            xutil::RestoreCursor(hCursor);
            return 1;
        }
        else
        {
            xutil::RestoreCursor(hCursor);
            alert(x.text());
            return 1;
        }
        return 1;
    }
    //命令处理事件
    int OnXCommand(TEvent* evt, int param)
    {
jrj/project/total3/viewex.total.cpp
@@ -69,6 +69,8 @@
            HCURSOR hCursor = 0;
            //if(UserNo !=L"00603")
            //{
            if (comdid == L"xmOwner") return OnOwnerData();
            if (comdid == L"xmAnalysis")
            {
                hCursor = xutil::SetCursorWait();
@@ -217,6 +219,28 @@
            return 1;
        }
        int OnOwnerData()
        {
            int ret = MessageBox(GetHWND(), L"是否更新归属数据?\n更新过程预计需要些时间,如果中间弹出等待时间过长的提示,请点击中间重试按钮,或等待到一定时间再点击", L"提示", 0x4 /*yesno*/);
            if (ret != 6 /*IDYES */) return 1;
            xml x;
            HCURSOR hCursor = xutil::SetCursorWait();
            if (xurl::get(L"/sale/data/CustomerV3/owner/reload", L"", x) != 1)
            {
                xutil::RestoreCursor(hCursor);
                return 1;
            }
            else
            {
                xutil::RestoreCursor(hCursor);
                alert(x.text());
                return 1;
            }
            return 1;
        }
        //命令处理事件
        int OnXCommand(TEvent* evt, int param)
        {