art: 修改控制打印条形码的条件和成功页面的跳转条件
All checks were successful
Release / lint (push) Successful in 30s
Release / Release (push) Successful in 1m20s

This commit is contained in:
my_ong 2024-12-19 15:50:24 +08:00
parent 1b6fb9968e
commit d96b8f4329
2 changed files with 9 additions and 8 deletions

View File

@ -1,9 +1,5 @@
<template> <template>
<a-result <a-result status="success" title="操作成功!" sub-title="操作已完成请仔细核对实物与清单确保无误">
status="success"
title="Successfully Purchased Cloud Server ECS!"
sub-title="Order number: 2017182818828182881 Cloud server configuration takes 1-5 minutes, please wait."
>
<template #extra> <template #extra>
<a-button type="primary" @click="select">查询申请</a-button> <a-button type="primary" @click="select">查询申请</a-button>
<a-button @click="again">继续提交申请</a-button> <a-button @click="again">继续提交申请</a-button>
@ -21,11 +17,11 @@
type: String, type: String,
default: '', default: '',
}, },
}, // applyType使121: 2: }, // applyType使PURCHASE_RECEIPTLOAN_OUTPURCHASE_RECEIPT: LOAN_OUT:
) )
const select = () => { const select = () => {
if (props.applyType === '1') { if (props.applyType === 'PURCHASE_RECEIPT') {
router.push({ path: '/statistic/inbound' }) router.push({ path: '/statistic/inbound' })
} else { } else {
router.push({ path: '/statistic/outbound' }) router.push({ path: '/statistic/outbound' })

View File

@ -46,7 +46,12 @@
编辑 编辑
</a-button> </a-button>
<a-button type="link" :style="{ color: token.colorPrimary }" @click="showPrintModal(record.id)"> <a-button
v-if="record.assignRule === 'HIGH_VALUE'"
type="link"
:style="{ color: token.colorPrimary }"
@click="showPrintModal(record.id)"
>
<template #icon> <template #icon>
<icon-font type="icon-print" /> <icon-font type="icon-print" />
</template> </template>