优化新购页面按钮不显示问题
This commit is contained in:
parent
c57c539f51
commit
300c85c369
|
|
@ -0,0 +1,28 @@
|
||||||
|
<template>
|
||||||
|
<!-- 页头提示 -->
|
||||||
|
<el-page-header @back="goBack" :content="pageContent"> </el-page-header>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
pageContent: {
|
||||||
|
type: String,
|
||||||
|
default: '详情',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
goBack() {
|
||||||
|
this.$emit('goBack')
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.el-page-header {
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
@ -180,7 +180,7 @@
|
||||||
v-if="
|
v-if="
|
||||||
scope.row.purchasingStatus != '已入库' &&
|
scope.row.purchasingStatus != '已入库' &&
|
||||||
scope.row.purchasingStatus != '已审核' &&
|
scope.row.purchasingStatus != '已审核' &&
|
||||||
scope.row.purchasingStatus != '已验收合格' &&
|
scope.row.purchasingStatus != '验收合格' &&
|
||||||
scope.row.purchasingStatus != '待审核' &&
|
scope.row.purchasingStatus != '待审核' &&
|
||||||
scope.row.purchasingStatus != '验收不通过' &&
|
scope.row.purchasingStatus != '验收不通过' &&
|
||||||
scope.row.purchasingStatus != '驳回'
|
scope.row.purchasingStatus != '驳回'
|
||||||
|
|
@ -194,9 +194,8 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
v-if="
|
v-if="
|
||||||
(scope.row.purchasingStatus == '已验收合格' ||
|
scope.row.purchasingId == 26 &&
|
||||||
scope.row.purchasingStatus == '待审核') &&
|
scope.row.manageType == 0
|
||||||
scope.row.manageType != '1'
|
|
||||||
"
|
"
|
||||||
@click="handleCode(scope.row)"
|
@click="handleCode(scope.row)"
|
||||||
v-hasPermi="['newPurchase:tools:coding']"
|
v-hasPermi="['newPurchase:tools:coding']"
|
||||||
|
|
@ -207,10 +206,8 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
v-if="
|
v-if="
|
||||||
scope.row.purchasingStatus == '已验收合格' ||
|
scope.row.purchasingId == 26 ||
|
||||||
scope.row.purchasingStatus == '已入库' ||
|
scope.row.purchasingId == 28
|
||||||
scope.row.purchasingStatus == '已审核' ||
|
|
||||||
scope.row.purchasingStatus == '待审核'
|
|
||||||
"
|
"
|
||||||
@click="handlePrint(scope.row)"
|
@click="handlePrint(scope.row)"
|
||||||
>验收单</el-button
|
>验收单</el-button
|
||||||
|
|
@ -220,12 +217,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
v-if="
|
v-if="scope.row.purchasingId == 25"
|
||||||
scope.row.purchasingStatus != '已入库' &&
|
|
||||||
scope.row.purchasingStatus != '已审核' &&
|
|
||||||
scope.row.purchasingStatus != '已验收合格' &&
|
|
||||||
scope.row.purchasingStatus != '待审核'
|
|
||||||
"
|
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['newPurchase:tools:del']"
|
v-hasPermi="['newPurchase:tools:del']"
|
||||||
>删除</el-button
|
>删除</el-button
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container" id="newDevicesAccept">
|
<div>
|
||||||
<el-form
|
<el-form
|
||||||
:model="queryParams"
|
:model="queryParams"
|
||||||
ref="queryForm"
|
ref="queryForm"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue