|
@@ -175,16 +175,16 @@
|
|
|
<el-table-column label="操作" width="130" align="center" prop="">
|
|
|
<template #default="scope">
|
|
|
|
|
|
- <el-button v-show="scope.row.record != null && scope.row.record.status == 1" size="small" type="primary" link
|
|
|
+ <el-button v-if="scope.row.record != null && scope.row.record.status == 1" size="small" type="primary" link
|
|
|
v-hasPermi="['business:production:onceWork:finished']" @click="finishedHandle(scope.row)">
|
|
|
完成
|
|
|
</el-button>
|
|
|
- <el-button v-show="scope.row.record == null || scope.row.record.status == 0" size="small" type="primary" link
|
|
|
+ <el-button v-if="scope.row.record == null || scope.row.record.status == 0" size="small" type="primary" link
|
|
|
v-hasPermi="['business:production:onceWork:finished']" @click="finishedHandle2(scope.row)">
|
|
|
领取
|
|
|
</el-button>
|
|
|
|
|
|
- <el-button v-show="scope.row.record !== undefined && scope.row.record.status == 1" size="small" type="primary"
|
|
|
+ <el-button v-if="scope.row.record !== undefined && scope.row.record.status == 1 && scope.row.record.handlerId === useUserStore().user.userId" size="small" type="primary"
|
|
|
link v-hasPermi="['business:production:onceWork:finished']" @click="finishedHandle3(scope.row)">
|
|
|
取消领取
|
|
|
</el-button>
|