This commit is contained in:
bb_pan 2026-01-05 16:34:01 +08:00
parent a8605b3f63
commit a450969484
6 changed files with 11 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<!-- 基础页面 -->
<div class="app-container">
<el-card v-show="showSearch" style="margin-bottom: 20px">
<el-form :model="queryParams" ref="queryForm" size="small" inline label-width="100px">
<el-form :model="queryParams" ref="queryForm" size="small" inline label-width="110px">
<el-form-item label="需求单位" prop="useUnit">
<el-input v-model="queryParams.useUnit" style="width: 200px" placeholder="请输入需求单位"

View File

@ -237,6 +237,7 @@ style="min-height: 80px; width: 95%"
<el-button v-if="item.orderStatus == 20" @click="handleViewRepair(item)" type="primary" size="small">
检修详情
</el-button>
<el-button type="primary" plain size="small" @click="handleApprove(item)">查看 </el-button>
</div>
</el-col>
</el-row>
@ -571,6 +572,9 @@ export default {
this.addOrEditDialogCostVisible = true
})
},
handleApprove(item) {
this.$router.push({ path: '/equipmentShared/order/sharedOutList', query: { id: item.orderId } })
},
//
onViewFileImg(row, index) {

View File

@ -1,7 +1,7 @@
<template>
<!-- 基础页面 -->
<div class="app-container">
<GoBack :title="'自用申请'" @goBack="goBack" />
<GoBack :title="'出库申请'" @goBack="goBack" />
<el-card v-show="showSearch" style="margin-bottom: 20px">
<el-form :model="queryParams" ref="queryForm" :rules="outFormRules" inline label-width="120px">
@ -76,7 +76,7 @@
<el-card>
<el-row :gutter="10" class="mb8" justify="end">
<el-col :span="4">
<span style="font-size: 20px; font-weight: 800">自用申请设备</span>
<span style="font-size: 20px; font-weight: 800">出库申请设备</span>
</el-col>
<el-col v-if="!routerParams.isView" :span="20" style="display: flex; justify-content: flex-end">
<el-button type="primary" @click="handleDialog">添加</el-button>

View File

@ -1,7 +1,7 @@
<template>
<!-- 基础页面 -->
<div class="app-container">
<GoBack :title="'自用审核'" @goBack="goBack" />
<GoBack :title="'出库审核'" @goBack="goBack" />
<el-card v-show="showSearch" style="margin-bottom: 20px">
<el-form :model="queryParams" ref="queryForm" size="small" inline label-width="110px" >

View File

@ -1,7 +1,7 @@
<template>
<!-- 基础页面 -->
<div class="app-container">
<GoBack :title="'自用出库'" @goBack="goBack" />
<GoBack :title="'出库申请'" @goBack="goBack" />
<el-card v-show="showSearch" style="margin-bottom: 20px">
<el-form :model="queryParams" ref="queryForm" size="small" inline label-width="100px">
@ -273,7 +273,7 @@ export default {
},
created() {
this.routerParams = this.$route.query
let title = '自用出库详情'
let title = '出库申请详情'
if (this.routerParams.isView) {
title = '查看审核'
} else if (this.routerParams.isEdit) {

View File

@ -293,7 +293,7 @@ export default {
}
},
{
label: '自用数量',
label: '出库数量',
prop: 'inNum',
render: (h, { row }) => {
return row.inNum > 0