|
|
@@ -340,6 +340,19 @@
|
|
|
- (void)updateCellWithModel:(SideSlipModel *__autoreleasing *)model
|
|
|
indexPath:(NSIndexPath *)indexPath{
|
|
|
self.regionModel = *model;
|
|
|
+
|
|
|
+ _mutDict = [NSMutableDictionary dictionaryWithDictionary:_regionModel.customDict];
|
|
|
+ SalesSlipSearchModel *searchModel = [[SalesSlipSearchModel alloc] init];
|
|
|
+ NSString *startDateStr= [DateFormat getDateBefore:7];
|
|
|
+ NSString *endDataStr=[DateFormat getCurrentDate];
|
|
|
+ [_startDateBtn setTitle:startDateStr forState:UIControlStateNormal];
|
|
|
+ _startDate= _startDateBtn.titleLabel.text;
|
|
|
+ [_endDateBtn setTitle:endDataStr forState:UIControlStateNormal];
|
|
|
+ _endDate= _endDateBtn.titleLabel.text;
|
|
|
+ searchModel.startDate=_startDate;
|
|
|
+ searchModel.endDate=_endDate;
|
|
|
+ [_mutDict setValue:searchModel forKey:SEARCH_RANGE_MODEL];
|
|
|
+ self.regionModel.customDict = _mutDict;
|
|
|
}
|
|
|
|
|
|
|