|
@@ -343,7 +343,11 @@ void CZhengcanPageUI::DoRefreshTable()
|
|
|
|
|
|
|
|
UpdateTablePos();
|
|
UpdateTablePos();
|
|
|
|
|
|
|
|
- if (m_nModel == 2)
|
|
|
|
|
|
|
+ if (m_nModel == 1)
|
|
|
|
|
+ {
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+ else if (m_nModel == 2)
|
|
|
{
|
|
{
|
|
|
ShowZhuanTai();
|
|
ShowZhuanTai();
|
|
|
}
|
|
}
|
|
@@ -585,6 +589,7 @@ void CZhengcanPageUI::ShowZhuanTai()
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ //展示转出标记
|
|
|
for (std::vector<CZhengcanTableItemUI*>::iterator it = m_table_items.begin(); it != m_table_items.end(); it++)
|
|
for (std::vector<CZhengcanTableItemUI*>::iterator it = m_table_items.begin(); it != m_table_items.end(); it++)
|
|
|
{
|
|
{
|
|
|
if ((*it)->GetTableId() == m_HuantaiTableId)
|
|
if ((*it)->GetTableId() == m_HuantaiTableId)
|
|
@@ -595,14 +600,16 @@ void CZhengcanPageUI::ShowZhuanTai()
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ //展示转出悬浮条
|
|
|
CHorizontalLayoutUI* pZhuantaiLayout = static_cast<CHorizontalLayoutUI*>(this->FindSubControl(_T("zhengcan_zhuantai_layout")));
|
|
CHorizontalLayoutUI* pZhuantaiLayout = static_cast<CHorizontalLayoutUI*>(this->FindSubControl(_T("zhengcan_zhuantai_layout")));
|
|
|
pZhuantaiLayout->SetVisible(true);
|
|
pZhuantaiLayout->SetVisible(true);
|
|
|
|
|
|
|
|
- //初始化转出没选中
|
|
|
|
|
- m_cur_zhuanru_item = NULL;
|
|
|
|
|
-
|
|
|
|
|
|
|
+ //禁用转入悬浮条的确认按钮
|
|
|
CButtonUI* zhuantaiQuerenBtn = static_cast<CButtonUI*>(this->FindSubControl(L"zhengcan_zhuantai_queding"));
|
|
CButtonUI* zhuantaiQuerenBtn = static_cast<CButtonUI*>(this->FindSubControl(L"zhengcan_zhuantai_queding"));
|
|
|
zhuantaiQuerenBtn->SetEnabled(false);
|
|
zhuantaiQuerenBtn->SetEnabled(false);
|
|
|
|
|
+
|
|
|
|
|
+ //初始化转入没选中
|
|
|
|
|
+ m_cur_zhuanru_item = NULL;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
void CZhengcanPageUI::CancelZhuanTai()
|
|
void CZhengcanPageUI::CancelZhuanTai()
|
|
@@ -625,6 +632,8 @@ void CZhengcanPageUI::CancelZhuanTai()
|
|
|
if (m_cur_zhuanru_item != NULL)
|
|
if (m_cur_zhuanru_item != NULL)
|
|
|
{
|
|
{
|
|
|
m_cur_zhuanru_item->ShowZhuanru(false);
|
|
m_cur_zhuanru_item->ShowZhuanru(false);
|
|
|
|
|
+
|
|
|
|
|
+ m_cur_zhuanru_item = NULL;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -691,5 +700,8 @@ void CZhengcanPageUI::QurenZhuantai()
|
|
|
|
|
|
|
|
m_nModel = 1;
|
|
m_nModel = 1;
|
|
|
|
|
|
|
|
|
|
+ CHorizontalLayoutUI* pZhuantaiLayout = static_cast<CHorizontalLayoutUI*>(this->FindSubControl(_T("zhengcan_zhuantai_layout")));
|
|
|
|
|
+ pZhuantaiLayout->SetVisible(false);
|
|
|
|
|
+
|
|
|
InitShow();
|
|
InitShow();
|
|
|
}
|
|
}
|