国内外时间格式不同导致的bug解决

This commit is contained in:
wuteng 2025-11-26 09:44:09 +08:00
parent 975ffe7473
commit e803c63099
2 changed files with 2 additions and 2 deletions

View File

@ -2414,7 +2414,7 @@ methods: {
customsClear:this.form.customsClear, customsClear:this.form.customsClear,
customsEclaration:this.form.customsEclaration, customsEclaration:this.form.customsEclaration,
startSiteCode:this.form.startSiteCode, startSiteCode:this.form.startSiteCode,
sendDate:new Date().toLocaleString().replace(/\//g, "-") sendDate:parseTime(new Date())
} }

View File

@ -2390,7 +2390,7 @@ methods: {
customsClear:this.form.customsClear, customsClear:this.form.customsClear,
customsEclaration:this.form.customsEclaration, customsEclaration:this.form.customsEclaration,
startSiteCode:this.form.startSiteCode, startSiteCode:this.form.startSiteCode,
sendDate:new Date().toLocaleString().replace(/\//g, "-") sendDate:parseTime(new Date()),
} }