This commit is contained in:
陈向学 2024-12-20 10:31:24 +08:00
parent 364b1a81cd
commit f6e6f77a3e
1 changed files with 7 additions and 0 deletions

View File

@ -127,6 +127,13 @@ public class UIManager : Singleton<UIManager>
/// </summary>
void Search()
{
if(string.IsNullOrEmpty(m_SearchShipName) && string.IsNullOrEmpty(m_SearchVoyage) && string.IsNullOrEmpty(m_SearchGoodsName) && string.IsNullOrEmpty(m_SearchDischargeLocation) && string.IsNullOrEmpty(m_BillNo))
{
//提示
Debug.Log("请填写搜索条件");
return;
}
ClaerSearch(false);
//搜索场景内的物体,并高亮展示
StartCoroutine(ApiManager.Instance.PostCheckYard<T_BAS_SILO>(_SHIP_NAME_EN: m_SearchShipName, _VOYAGE_NO: m_SearchVoyage, _STANDARD_NAME: m_SearchGoodsName, _SILO_NAME: m_SearchDischargeLocation,_BILL_NO:m_BillNo, (_T_BAS_SILO_List) =>