|
|
@ -1295,8 +1295,15 @@ Page({ |
|
|
console.log('【saveEdit】获取用户名异常,使用默认operatorName:', operatorName); |
|
|
console.log('【saveEdit】获取用户名异常,使用默认operatorName:', operatorName); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 获取当前时间
|
|
|
// 获取当前时间并格式化为统一格式:yyyy-MM-dd HH:mm:ss
|
|
|
const currentTime = new Date().toLocaleString('zh-CN'); |
|
|
const now = new Date(); |
|
|
|
|
|
const year = now.getFullYear(); |
|
|
|
|
|
const month = (now.getMonth() + 1).toString().padStart(2, '0'); |
|
|
|
|
|
const day = now.getDate().toString().padStart(2, '0'); |
|
|
|
|
|
const hours = now.getHours().toString().padStart(2, '0'); |
|
|
|
|
|
const minutes = now.getMinutes().toString().padStart(2, '0'); |
|
|
|
|
|
const seconds = now.getSeconds().toString().padStart(2, '0'); |
|
|
|
|
|
const currentTime = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; |
|
|
|
|
|
|
|
|
// 获取当前产品日志
|
|
|
// 获取当前产品日志
|
|
|
let productLog = []; |
|
|
let productLog = []; |
|
|
|