예제 #1
0
 void UpdateRecordInfo()
 {
     if (m_ctor_SellListScrollViewContent != null)
     {
         stItemSellLogConsignmentUserCmd_S sellLogInfo = SaleItemDataManager.GetItemSellLogInfo();
         if (sellLogInfo != null && sellLogInfo.log_list != null)
         {
             m_ctor_SellListScrollViewContent.CreateGrids(sellLogInfo.log_list.Count);
         }
     }
 }
예제 #2
0
 void OnUpdateGridData(UIGridBase grid, int index)
 {
     if (grid is UIConsignmentSalesRecordsGrid)
     {
         UIConsignmentSalesRecordsGrid     recordsGrid = grid as UIConsignmentSalesRecordsGrid;
         stItemSellLogConsignmentUserCmd_S sellLogInfo = SaleItemDataManager.GetItemSellLogInfo();
         if (sellLogInfo != null && sellLogInfo.log_list != null)
         {
             ItemTradeLog tradeLog = (sellLogInfo.log_list.Count > index) ? sellLogInfo.log_list[index] : null;
             recordsGrid.SetGridData(tradeLog);
         }
     }
 }
예제 #3
0
 /// <summary>
 /// 获取寄售日志
 /// </summary>
 /// <param name="cmd"></param>
 public void OnResponItemSellLog(stItemSellLogConsignmentUserCmd_S cmd)
 {
     needReqItemSellLog = false;
     itemTradeLogInfo   = cmd;
     DispatchValueUpdateEvent(new ValueUpdateEventArgs(SaleItemDispatchEvents.RefreshSaleRecord.ToString(), null, null));
 }
예제 #4
0
 public void OnResponItemSellLog(stItemSellLogConsignmentUserCmd_S cmd)
 {
     DataManager.Manager <ConsignmentManager>().OnResponItemSellLog(cmd);
 }