From e3edb24ee6b15cb7e67abf6c0ebfe731fbcb4a4c Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 22 四月 2023 09:50:49 +0800
Subject: [PATCH] 1.采购收货单新增查看详情功能

---
 src/utils/global.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/utils/global.js b/src/utils/global.js
index dedc120..66c9e1c 100644
--- a/src/utils/global.js
+++ b/src/utils/global.js
@@ -1,4 +1,4 @@
-import { NewEncodingRules } from '@/api/xtsz'
+import { NewEncodingRules } from '@/api/systemSettings'
 
 // 鍏ㄥ眬涓昏棰滆壊
 export function getGlobalColor() {
@@ -50,6 +50,13 @@
   // return `${y}-${m}-${d}  ${hh}:${mm}:${ss}   ${week}`
   return `${y}-${m}-${d}  ${hh}:${mm}:${ss}`
 }
+// 鏃堕棿澶勭悊鍑芥暟   杩斿洖 鏃跺垎
+export function handleDatetime3(value) {
+  const dt = new Date(value)
+  const hh = (dt.getHours() + '').padStart(2, '0')
+  const mm = (dt.getMinutes() + '').padStart(2, '0')
+  return `${hh}:${mm}`
+}
 
 // 鑾峰彇瑙勫垯鐢熸垚鐨勭紪鐮�
 export async function getNewEncodingRules(encode) {

--
Gitblit v1.9.3