Commit a0e454b5 by wusiyi

fix: 添加日志以处理线上问题

parent ee6404ae
......@@ -531,6 +531,9 @@ const podBoxList = computed(() => {
return orderStore.podBoxList
})
const coverImage = ref<string>('')
watch(coverImage, (value) => {
console.log('🍉🍉🍉🍉🍉🍉🍉coverImage changed:', value)
})
let currentCode = ''
const tableRef = ref()
watch(visible, async (value: boolean) => {
......@@ -746,12 +749,17 @@ const renderItemBox = (bool: boolean) => {
renderLock = false
return
}
console.log('=======⭐⭐⭐打印=======')
print(data, false, () => {
console.log('⭐⭐⭐打印结果data.printResult', data.printResult)
if (
((props.wallType === 'sort' && isAutoPrint.value) ||
props.wallType !== 'sort') &&
data.printResult === 'printSuccess'
) {
console.log('⭐⭐⭐提交打单')
submitInspection(() => {
renderLock = false
})
......@@ -1043,6 +1051,7 @@ const getPackingData = async (code: string) => {
// 提交打单
const submitInspection = async (callback: () => void) => {
const factoryNo = userStore.user?.factory.id
console.log('⭐⭐⭐提交打单factoryNo', factoryNo)
if (!factoryNo) {
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment