|
@@ -296,7 +296,7 @@
|
|
|
)
|
|
)
|
|
|
"
|
|
"
|
|
|
width="100%"
|
|
width="100%"
|
|
|
- height="50"
|
|
|
|
|
|
|
+ height="60"
|
|
|
:src="i.src"
|
|
:src="i.src"
|
|
|
/>
|
|
/>
|
|
|
</van-col>
|
|
</van-col>
|
|
@@ -382,6 +382,7 @@
|
|
|
v-model:show="returnedDetailDialog"
|
|
v-model:show="returnedDetailDialog"
|
|
|
title="商品详情"
|
|
title="商品详情"
|
|
|
show-cancel-button
|
|
show-cancel-button
|
|
|
|
|
+ :lazy-render="true"
|
|
|
:show-confirm-button="checkUploadImages()"
|
|
:show-confirm-button="checkUploadImages()"
|
|
|
@confirm="addDetails"
|
|
@confirm="addDetails"
|
|
|
>
|
|
>
|
|
@@ -690,7 +691,7 @@ import {
|
|
|
showLoadingToast,
|
|
showLoadingToast,
|
|
|
closeToast,
|
|
closeToast,
|
|
|
showConfirmDialog,
|
|
showConfirmDialog,
|
|
|
- showImagePreview,
|
|
|
|
|
|
|
+ showImagePreview
|
|
|
} from 'vant'
|
|
} from 'vant'
|
|
|
import { getHeader, goBack, scanError, scanSuccess } from '@/utils/android'
|
|
import { getHeader, goBack, scanError, scanSuccess } from '@/utils/android'
|
|
|
import {
|
|
import {
|
|
@@ -765,7 +766,9 @@ onMounted(() => {
|
|
|
const currentYear = now.getFullYear()
|
|
const currentYear = now.getFullYear()
|
|
|
const currentCentury = Math.floor(currentYear / 100) * 100
|
|
const currentCentury = Math.floor(currentYear / 100) * 100
|
|
|
const endOfCenturyYear = currentCentury + 99
|
|
const endOfCenturyYear = currentCentury + 99
|
|
|
|
|
+
|
|
|
maxDate.value = new Date(endOfCenturyYear, 0, 1)
|
|
maxDate.value = new Date(endOfCenturyYear, 0, 1)
|
|
|
|
|
+ minDate.value = new Date(currentCentury, 0, 1)
|
|
|
|
|
|
|
|
console.log(warehouse)
|
|
console.log(warehouse)
|
|
|
|
|
|
|
@@ -1402,6 +1405,7 @@ async function queryBarcodeBy(barcode) {
|
|
|
scanError()
|
|
scanError()
|
|
|
console.log(err.message)
|
|
console.log(err.message)
|
|
|
}
|
|
}
|
|
|
|
|
+ scanError()
|
|
|
return null
|
|
return null
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1871,6 +1875,7 @@ function submit() {
|
|
|
const { quality, taskCode } = accumulateTaskMap[i]
|
|
const { quality, taskCode } = accumulateTaskMap[i]
|
|
|
messages.push(`进入${ownerName}新的${quality}攒单任务号${taskCode}`)
|
|
messages.push(`进入${ownerName}新的${quality}攒单任务号${taskCode}`)
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
showConfirmDialog({
|
|
showConfirmDialog({
|
|
|
title: '提交成功',
|
|
title: '提交成功',
|
|
|
message: messages.join('\r\n'),
|
|
message: messages.join('\r\n'),
|