bug: 提交申请成功后的动作
All checks were successful
Release / lint (push) Successful in 28s
Release / Release (push) Successful in 1m20s

This commit is contained in:
my_ong 2024-12-11 10:52:06 +08:00
parent bb97d4ecb0
commit 2899f7f857
2 changed files with 17 additions and 3 deletions

View File

@ -18,7 +18,7 @@
<apply-confirm ref="applyConfirmRef" :table-data="conformData"></apply-confirm>
</div>
<div v-show="current === 3" class="step-4">
<successResult></successResult>
<successResult :apply-type="applyType"></successResult>
</div>
<!-- 按钮 -->

View File

@ -14,11 +14,25 @@
<script lang="ts" setup>
import router from '@/router'
//
const props = defineProps(
{
applyType: {
type: String,
default: '',
},
}, // applyType使121: 2:
)
const select = () => {
router.push({ path: '/statistic/inbound' }) //
if (props.applyType === '1') {
router.push({ path: '/statistic/inbound' })
} else {
router.push({ path: '/statistic/outbound' })
}
}
const again = () => {
router.push({ path: '/stock/inbound' })
router.go(0)
}
</script>