|
|
@ -3,7 +3,7 @@
|
|
|
|
<div class="title">创建申请</div>
|
|
|
|
<div class="title">创建申请</div>
|
|
|
|
<div class="header">
|
|
|
|
<div class="header">
|
|
|
|
<el-button type="primary" plain @click="openDialogTableVisible"><i class="el-icon-edit" />申请</el-button>
|
|
|
|
<el-button type="primary" plain @click="openDialogTableVisible"><i class="el-icon-edit" />申请</el-button>
|
|
|
|
<el-button type="primary" plain @click="handleCheck"><i class="el-icon-edit" />详情查看</el-button>
|
|
|
|
<!-- <el-button type="primary" plain @click="handleCheck"><i class="el-icon-edit" />详情查看</el-button> -->
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog :close-on-click-modal="false" :visible.sync="dialogHistoryVisible" width="60%" title="申请详情">
|
|
|
|
<el-dialog :close-on-click-modal="false" :visible.sync="dialogHistoryVisible" width="60%" title="申请详情">
|
|
|
|
<div class="box">
|
|
|
|
<div class="box">
|
|
|
@ -20,7 +20,6 @@
|
|
|
|
<el-table-column align="center" property="name" label="试剂名称" />
|
|
|
|
<el-table-column align="center" property="name" label="试剂名称" />
|
|
|
|
<el-table-column align="center" property="purity" label="纯度" />
|
|
|
|
<el-table-column align="center" property="purity" label="纯度" />
|
|
|
|
<el-table-column align="center" property="speci" label="规格" />
|
|
|
|
<el-table-column align="center" property="speci" label="规格" />
|
|
|
|
<el-table-column align="center" property="num" label="数量" />
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</el-scrollbar>
|
|
|
|
</el-scrollbar>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -108,7 +107,7 @@
|
|
|
|
<el-table-column align="center" type="index" width="50" label="序号" />
|
|
|
|
<el-table-column align="center" type="index" width="50" label="序号" />
|
|
|
|
<el-table-column prop="user_name" show-overflow-tooltip label="用户名称" align="center" />
|
|
|
|
<el-table-column prop="user_name" show-overflow-tooltip label="用户名称" align="center" />
|
|
|
|
<el-table-column prop="user_name_pt" show-overflow-tooltip label="陪同用户名称" align="center" />
|
|
|
|
<el-table-column prop="user_name_pt" show-overflow-tooltip label="陪同用户名称" align="center" />
|
|
|
|
<el-table-column prop="use_content" show-overflow-tooltip label="试剂详情" align="center" />
|
|
|
|
<!-- <el-table-column prop="use_content" show-overflow-tooltip label="试剂详情" align="center" /> -->
|
|
|
|
<el-table-column prop="create_date" show-overflow-tooltip label="申请时间" align="center" />
|
|
|
|
<el-table-column prop="create_date" show-overflow-tooltip label="申请时间" align="center" />
|
|
|
|
<el-table-column prop="is_solve" show-overflow-tooltip label="状态" align="center">
|
|
|
|
<el-table-column prop="is_solve" show-overflow-tooltip label="状态" align="center">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
@ -119,6 +118,15 @@
|
|
|
|
<el-table-column prop="solve_user_pt_name" show-overflow-tooltip label="审批人2" align="center" />
|
|
|
|
<el-table-column prop="solve_user_pt_name" show-overflow-tooltip label="审批人2" align="center" />
|
|
|
|
<el-table-column prop="solve_date" show-overflow-tooltip label="审批时间" align="center" />
|
|
|
|
<el-table-column prop="solve_date" show-overflow-tooltip label="审批时间" align="center" />
|
|
|
|
<el-table-column prop="information" show-overflow-tooltip label="备注" align="center" />
|
|
|
|
<el-table-column prop="information" show-overflow-tooltip label="备注" align="center" />
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
fixed="right"
|
|
|
|
|
|
|
|
label="操作"
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
width="100">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<el-button @click="handleCheck(scope.row)" type="text" size="small">查看</el-button>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
<div class="my-pagination" style="text-align: center">
|
|
|
|
<div class="my-pagination" style="text-align: center">
|
|
|
|
<el-pagination
|
|
|
|
<el-pagination
|
|
|
@ -197,13 +205,15 @@ export default {
|
|
|
|
that.handleSelectionSelection =selection
|
|
|
|
that.handleSelectionSelection =selection
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 查看详情
|
|
|
|
// 查看详情
|
|
|
|
handleCheck() {
|
|
|
|
handleCheck(row) {
|
|
|
|
if (this.handleSelectionSelection.length === 1) {
|
|
|
|
this.dialogHistoryVisible = true
|
|
|
|
this.dialogHistoryVisible = true
|
|
|
|
this.historyData = JSON.parse(row.use_content)
|
|
|
|
this.historyData = JSON.parse(this.handleSelectionSelection[0].use_content)
|
|
|
|
// if (this.handleSelectionSelection.length === 1) {
|
|
|
|
} else {
|
|
|
|
// this.dialogHistoryVisible = true
|
|
|
|
this.$message.warning("选择一条记录操作!")
|
|
|
|
// this.historyData = JSON.parse(this.handleSelectionSelection[0].use_content)
|
|
|
|
}
|
|
|
|
// } else {
|
|
|
|
|
|
|
|
// this.$message.warning("选择一条记录操作!")
|
|
|
|
|
|
|
|
// }
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//查看详情关闭
|
|
|
|
//查看详情关闭
|
|
|
|
dialogHistoryClose() {
|
|
|
|
dialogHistoryClose() {
|
|
|
|