This commit is contained in:
parent
8c40879895
commit
dd7a2a6be3
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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"/>
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue