From 126b5007751a7ec8c9933aad37fd6f1f3e6be110 Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Wed, 3 Apr 2024 14:55:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E9=87=8F=E7=9B=98=E7=82=B9=E5=85=A5?= =?UTF-8?q?=E5=BA=93-=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/views/store/warehousing/putInStore.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sgzb-ui/src/views/store/warehousing/putInStore.vue b/sgzb-ui/src/views/store/warehousing/putInStore.vue index 761052fe..d94213f6 100644 --- a/sgzb-ui/src/views/store/warehousing/putInStore.vue +++ b/sgzb-ui/src/views/store/warehousing/putInStore.vue @@ -853,9 +853,13 @@ export default { this.codeTableList.forEach(item => { if (item.thisCheckTime) { item.thisCheckTime = new Date(item.thisCheckTime).toLocaleDateString('zh-CN', {year: 'numeric', month: '2-digit', day: '2-digit'}).replace(/\//g, '-') + } else { + item.thisCheckTime = '' } if (item.nextCheckTime) { item.nextCheckTime = new Date(item.nextCheckTime).toLocaleDateString('zh-CN', {year: 'numeric', month: '2-digit', day: '2-digit'}).replace(/\//g, '-') + } else { + item.nextCheckTime = '' } }) // 提交数据