Browse Source

fix: 封仓时间和储存超限时间只需要精确到年月日

maopixin 2 years ago
parent
commit
1811bf4b60

+ 2 - 2
src/main/resources/static/app/supervise/views/storeWarningThreshold.html

@@ -49,10 +49,10 @@
49
 												<td style="text-align:center;">{{ warning.level }}</td>
49
 												<td style="text-align:center;">{{ warning.level }}</td>
50
 												<td style="text-align:center;">{{ warning.inventoryQuantity }}</td>
50
 												<td style="text-align:center;">{{ warning.inventoryQuantity }}</td>
51
 												<td style="text-align:center;">
51
 												<td style="text-align:center;">
52
-													{{ warning.fcTime | date:'yyyy-MM-dd HH:mm:ss' }}
52
+													{{ warning.fcTime.split(' ')[0] }}
53
 												</td>
53
 												</td>
54
 												<td style="text-align:center;">{{ warning.limitYear }}</td>
54
 												<td style="text-align:center;">{{ warning.limitYear }}</td>
55
-												<td style="text-align:center;">{{ warning.cznx | date:'yyyy-MM-dd HH:mm:ss' }}</td>
55
+												<td style="text-align:center;">{{ warning.cznx | date:'yyyy-MM-dd' }}</td>
56
 											</tr>
56
 											</tr>
57
 										</tbody>
57
 										</tbody>
58
 									</table>
58
 									</table>