art: 修改控制打印条形码的条件和成功页面的跳转条件
This commit is contained in:
parent
1b6fb9968e
commit
d96b8f4329
@ -1,9 +1,5 @@
|
||||
<template>
|
||||
<a-result
|
||||
status="success"
|
||||
title="Successfully Purchased Cloud Server ECS!"
|
||||
sub-title="Order number: 2017182818828182881 Cloud server configuration takes 1-5 minutes, please wait."
|
||||
>
|
||||
<a-result status="success" title="操作成功!" sub-title="操作已完成,请仔细核对实物与清单,确保无误。">
|
||||
<template #extra>
|
||||
<a-button type="primary" @click="select">查询申请</a-button>
|
||||
<a-button @click="again">继续提交申请</a-button>
|
||||
@ -21,11 +17,11 @@
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
}, // 申请类型 applyType页面传值的使用1和2,1: 采购入库 和 归还入库 2: 出库外借
|
||||
}, // 申请类型 applyType页面传值的使用PURCHASE_RECEIPT和LOAN_OUT,PURCHASE_RECEIPT: 采购入库 和 归还入库 LOAN_OUT: 出库外借
|
||||
)
|
||||
|
||||
const select = () => {
|
||||
if (props.applyType === '1') {
|
||||
if (props.applyType === 'PURCHASE_RECEIPT') {
|
||||
router.push({ path: '/statistic/inbound' })
|
||||
} else {
|
||||
router.push({ path: '/statistic/outbound' })
|
||||
|
@ -46,7 +46,12 @@
|
||||
编辑
|
||||
</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>
|
||||
<icon-font type="icon-print" />
|
||||
</template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user