|
|
|
@ -116,6 +116,7 @@ |
|
|
|
<el-table-column :label="$t('page.business.resource.mjy.zjzt')" align="center" width="100px" fixed="right"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.zjzt == 1">{{ $t('page.business.resource.resource.zjzt.rk') }}</span> |
|
|
|
<span v-if="scope.row.zjzt == 2">{{ $t('page.business.resource.resource.zjzt.wrk') }}</span> |
|
|
|
<span v-if="scope.row.zjzt == 3">{{ $t('page.business.resource.resource.zjzt.yff') }}</span> |
|
|
|
<span v-if="scope.row.zjzt == 5">{{ $t('page.business.resource.resource.zjzt.ysd') }}</span> |
|
|
|
<span v-if="scope.row.zjzt == 7">{{ $t('page.business.resource.resource.zjzt.dgd') }}</span> |
|
|
|
@ -184,6 +185,11 @@ |
|
|
|
<el-button type="text" @click="handleGh(scope.row)" v-hasPermi="['business:resource:mjy:gh']">{{ |
|
|
|
$t('page.business.resource.mjy.guihuan') }}</el-button> |
|
|
|
</template> |
|
|
|
<template v-if="scope.row.zjzt == 2"> |
|
|
|
<!-- 入库 --> |
|
|
|
<el-button type="text" @click="handleRk(scope.row)" v-hasPermi="['business:resource:mjy:rk']">{{ |
|
|
|
$t('page.business.resource.mjy.ruku') }}</el-button> |
|
|
|
</template> |
|
|
|
<template v-if="scope.row.zjzt == 9"> |
|
|
|
<!-- 解档 --> |
|
|
|
<el-button type="text" @click="handleJd(scope.row)" v-hasPermi="['business:resource:mjy:jd']">{{ |
|
|
|
@ -219,6 +225,8 @@ |
|
|
|
<Jy key="Jy" ref="Jy" @callback="handleQuery" /> |
|
|
|
<!-- 归还 --> |
|
|
|
<Gh key="Gh" ref="Gh" @callback="handleQuery" /> |
|
|
|
<!-- 入库 --> |
|
|
|
<Rk key="Rk" ref="Rk" @callback="handleQuery" /> |
|
|
|
<!-- 发放 --> |
|
|
|
<Ff key="Ff" ref="Ff" @callback="handleQuery" /> |
|
|
|
<!-- 处置药剂 --> |
|
|
|
@ -246,6 +254,7 @@ import Xgkc from "./mjy/Xgkc"; |
|
|
|
import Shxgkc from "./mjy/Shxgkc"; |
|
|
|
import Jy from "./mjy/Jy"; |
|
|
|
import Gh from "./mjy/Gh"; |
|
|
|
import Rk from "./mjy/Rk"; |
|
|
|
import Ff from "./mjy/Ff"; |
|
|
|
import Czrq from "./mjy/Czrq"; |
|
|
|
import Czyj from "./mjy/Czyj"; |
|
|
|
@ -254,7 +263,7 @@ import moment from "moment"; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "MjyList", |
|
|
|
components: { Sd, Js, Gd, Xq, Jd, Bj, Shbj, Xgkc, Shxgkc, Jy, Gh, Czyj, Czrq, Ff, Ysff }, |
|
|
|
components: { Rk,Sd, Js, Gd, Xq, Jd, Bj, Shbj, Xgkc, Shxgkc, Jy, Gh, Czyj, Czrq, Ff, Ysff }, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
daterange: [], |
|
|
|
@ -339,6 +348,10 @@ export default { |
|
|
|
handleGh(row) { |
|
|
|
this.$refs.Gh.show(row) |
|
|
|
}, |
|
|
|
//入库 |
|
|
|
handleRk(row) { |
|
|
|
this.$refs.Rk.show(row) |
|
|
|
}, |
|
|
|
//是否可勾选 |
|
|
|
checkSelectable(row) { |
|
|
|
return true; |
|
|
|
|