|
|
@@ -469,35 +469,35 @@ const ClickParams = (val: any) => {
|
|
|
if (name == 'Container') {
|
|
|
if (type == 'ETA') {
|
|
|
if (startyear.value) {
|
|
|
- reportList.eta_start = startyear.value + '-' + startmonth.value + '-01'
|
|
|
+ reportList.eta_start = startmonth.value + '/01/' + startyear.value
|
|
|
reportList.eta_end =
|
|
|
- endyear.value +
|
|
|
- '-' +
|
|
|
endmonth.value +
|
|
|
- '-' +
|
|
|
- new Date(endyear.value, endmonth.value, 0).getDate()
|
|
|
+ '/' +
|
|
|
+ new Date(endyear.value, endmonth.value, 0).getDate() +
|
|
|
+ '/' +
|
|
|
+ endyear.value
|
|
|
}
|
|
|
} else {
|
|
|
if (startyear.value) {
|
|
|
- reportList.etd_start = startyear.value + '-' + startmonth.value + '-01'
|
|
|
+ reportList.etd_start = startmonth.value + '/01/' + startyear.value
|
|
|
reportList.etd_end =
|
|
|
- endyear.value +
|
|
|
- '-' +
|
|
|
endmonth.value +
|
|
|
- '-' +
|
|
|
- new Date(endyear.value, endmonth.value, 0).getDate()
|
|
|
+ '/' +
|
|
|
+ new Date(endyear.value, endmonth.value, 0).getDate() +
|
|
|
+ '/' +
|
|
|
+ endyear.value
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
if (type == 'ETA') {
|
|
|
if (startyear.value) {
|
|
|
- reportList.eta_start = startyear.value + '-' + startmonth.value + startday.value
|
|
|
- reportList.eta_end = endyear.value + '-' + endmonth.value + '-' + endday.value
|
|
|
+ reportList.eta_start = startmonth.value + '/' + startday.value + '/' + startyear.value
|
|
|
+ reportList.eta_end = endmonth.value + '/' + endday.value + '/' + endyear.value
|
|
|
}
|
|
|
} else {
|
|
|
if (startyear.value) {
|
|
|
- reportList.etd_start = startyear.value + '-' + startmonth.value + startday.value
|
|
|
- reportList.etd_end = endyear.value + '-' + endmonth.value + '-' + endday.value
|
|
|
+ reportList.etd_start = startmonth.value + '/' + startday.value + '/' + startyear.value
|
|
|
+ reportList.etd_end = endmonth.value + '/' + endday.value + '/' + endyear.value
|
|
|
}
|
|
|
}
|
|
|
}
|