art: 修改控制打印条形码的条件和成功页面的跳转条件
This commit is contained in:
parent
1b6fb9968e
commit
d96b8f4329
@ -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页面传值的使用1和2,1: 采购入库 和 归还入库 2: 出库外借
|
}, // 申请类型 applyType页面传值的使用PURCHASE_RECEIPT和LOAN_OUT,PURCHASE_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' })
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user