feat:归库时间格式化

This commit is contained in:
houjunxiang
2026-01-08 16:12:10 +08:00
parent 1747a03826
commit 351c66086b
3 changed files with 3 additions and 1 deletions

View File

@@ -124,6 +124,7 @@ async function getSampleDetail() {
let btnLoading = ref(false)
function handlePrint() {
btnLoading.value = true
sampleData.value.returnTime = nx.$dayjs(sampleData.value.returnTime).format('YYYY-MM-DD')
nx.$print.print({ ...sampleData.value, printTemplate: 'returnLabel' })
btnLoading.value = false
}