|
|
|
@ -37,8 +37,6 @@ |
|
|
|
<el-button icon="el-icon-refresh" @click="resetQuery">{{ $t('form.reset') }}</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list"> |
|
|
|
<el-table-column :label="$t('page.business.resource.gyzj.mc')" align="left" prop="mc" |
|
|
|
:show-overflow-tooltip="true" /> |
|
|
|
@ -72,23 +70,27 @@ |
|
|
|
<el-button type="text" @click="handleXq(scope.row)" |
|
|
|
v-hasPermi="['business:studyGyzj:xq', 'business:nonTrialGyzj:xq', 'business:drugGyzj:xq']">{{ |
|
|
|
$t('page.business.resource.gyzj.detail') }}</el-button> |
|
|
|
<template v-if="scope.row.zjzt == 3"> |
|
|
|
<!-- 处置药剂 --> |
|
|
|
<el-button type="text" @click="handleCzyj(scope.row)" |
|
|
|
v-hasPermi="['business:studyGyzj:czyj', 'business:nonTrialGyzj:czyj', 'business:drugGyzj:czyj']">{{ |
|
|
|
$t('page.business.resource.gyzj.czyj') }}</el-button> |
|
|
|
<!-- 编辑 --> |
|
|
|
<el-button v-if="scope.row.bjzt == 1" type="text" @click="handleBj(scope.row)" |
|
|
|
v-hasPermi="['business:studyGyzj:bj', 'business:nonTrialGyzj:bj', 'business:drugGyzj:bj']">{{ |
|
|
|
$t('form.edit') }}</el-button> |
|
|
|
<!-- 修改库存 --> |
|
|
|
<el-button v-if="scope.row.kcbjzt == 1" type="text" @click="handleXgkc(scope.row)" |
|
|
|
v-hasPermi="['business:studyGyzj:xgkc', 'business:nonTrialGyzj:xgkc', 'business:drugGyzj:xgkc']">{{ |
|
|
|
$t('page.business.resource.gyzj.xgkc') }}</el-button> |
|
|
|
<!-- 归还 --> |
|
|
|
<el-button type="text" v-if="scope.row.ghzt == 1" @click="handleGh(scope.row)" |
|
|
|
v-hasPermi="['business:studyGyzj:gh', 'business:nonTrialGyzj:gh', 'business:drugGyzj:gh']">{{ |
|
|
|
$t('page.business.resource.gyzj.guihuan') }}</el-button> |
|
|
|
<template v-if="scope.row.syghzt == 1"> |
|
|
|
<template v-if="scope.row.ghzt == 1"> |
|
|
|
<!-- 归还 --> |
|
|
|
<el-button type="text" @click="handleGh(scope.row)" |
|
|
|
v-hasPermi="['business:studyGyzj:gh', 'business:nonTrialGyzj:gh', 'business:drugGyzj:gh']">{{ |
|
|
|
$t('page.business.resource.gyzj.guihuan') }}</el-button> |
|
|
|
</template> |
|
|
|
<template> |
|
|
|
<!-- 处置药剂 --> |
|
|
|
<el-button type="text" @click="handleCzyj(scope.row)" |
|
|
|
v-hasPermi="['business:studyGyzj:czyj', 'business:nonTrialGyzj:czyj', 'business:drugGyzj:czyj']">{{ |
|
|
|
$t('page.business.resource.gyzj.czyj') }}</el-button> |
|
|
|
<!-- 编辑 --> |
|
|
|
<el-button type="text" @click="handleBj(scope.row)" |
|
|
|
v-hasPermi="['business:studyGyzj:bj', 'business:nonTrialGyzj:bj', 'business:drugGyzj:bj']">{{ |
|
|
|
$t('form.edit') }}</el-button> |
|
|
|
<!-- 修改库存 --> |
|
|
|
<el-button type="text" @click="handleXgkc(scope.row)" |
|
|
|
v-hasPermi="['business:studyGyzj:xgkc', 'business:nonTrialGyzj:xgkc', 'business:drugGyzj:xgkc']">{{ |
|
|
|
$t('page.business.resource.gyzj.xgkc') }}</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
|