|
|
|
@ -271,7 +271,7 @@ export class OrderOilListComponent implements OnInit { |
|
|
|
|
* @param whereObject 条件 |
|
|
|
|
*/ |
|
|
|
|
search(whereObject: object) { |
|
|
|
|
if (whereObject['createTimeArray'] != null) { |
|
|
|
|
if (whereObject['createTimeArray'] != null && whereObject['createTimeArray'].length > 0) { |
|
|
|
|
whereObject['createTimeS'] = new Date(whereObject['createTimeArray'][0]).getTime(); |
|
|
|
|
whereObject['createTimeE'] = new Date(whereObject['createTimeArray'][1]).getTime(); |
|
|
|
|
} else { |
|
|
|
@ -279,7 +279,7 @@ export class OrderOilListComponent implements OnInit { |
|
|
|
|
whereObject['createTimeE'] = null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (whereObject['payTimeArray'] != null) { |
|
|
|
|
if (whereObject['payTimeArray'] != null && whereObject['payTimeArray'].length > 0) { |
|
|
|
|
whereObject['payTimeS'] = new Date(whereObject['payTimeArray'][0]).getTime(); |
|
|
|
|
whereObject['payTimeE'] = new Date(whereObject['payTimeArray'][1]).getTime(); |
|
|
|
|
} else { |
|
|
|
@ -287,7 +287,7 @@ export class OrderOilListComponent implements OnInit { |
|
|
|
|
whereObject['payTimeE'] = null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (whereObject['refundTimeArray'] != null) { |
|
|
|
|
if (whereObject['refundTimeArray'] != null && whereObject['refundTimeArray'].length > 0) { |
|
|
|
|
whereObject['refundTimeS'] = new Date(whereObject['refundTimeArray'][0]).getTime(); |
|
|
|
|
whereObject['refundTimeE'] = new Date(whereObject['refundTimeArray'][1]).getTime(); |
|
|
|
|
} else { |
|
|
|
|