This commit is contained in:
bb_pan 2025-09-01 22:52:43 +08:00
parent 8c40879895
commit dd7a2a6be3
3 changed files with 34 additions and 22 deletions

View File

@ -426,6 +426,12 @@ const onHandleOutbound = async () => {
})
}
})
uni.showModal({
title: '提示',
content: '是否确定入库?',
success: async (req) => {
if (req.confirm) {
try {
let param = {
taskId: queryParams.value.taskId,
typeId: queryParams.value.typeId,
@ -444,6 +450,12 @@ const onHandleOutbound = async () => {
queryParams.value.inputNum = Number(queryParams.value.inputNum) + paramsList.length
}, 800)
}
} catch (error) {
console.log('🚀 ~ onHandleOutbound ~ error:', error)
}
}
}
})
}
</script>

View File

@ -50,7 +50,7 @@
<div class="title">
<div class="title-left">
<span class="code">{{ item.repairCode }}</span>
<span class="sub-code">{{ `${item.backCode}-${item.level}` }}</span>
<span class="sub-code" v-if="item.backCode">{{ `${item.backCode}-${item.level}` }}</span>
</div>
<div class="title-right">
<uni-tag v-if="item.dataStatus == 3" text="修饰后入库驳回" type="error" style="margin-right: 5px" custom-style="errorStyle"/>

View File

@ -124,7 +124,7 @@
import { ref, computed } from 'vue'
import { getListScrapExamineApply } from '@/services/repair/scrapExamine.js'
import { onLoad } from '@dcloudio/uni-app'
import { onShow } from '@dcloudio/uni-app'
import { debounce } from 'lodash-es'
const total = ref(0) //
@ -233,11 +233,11 @@ const getTableList = async (isTap = false) => {
}
// //
// onLoad(() => {
// onShow(() => {
// getTableList()
// })
onLoad(() => {
onShow(() => {
tableList.value = []
total.value = 0
getTableList()