|
@@ -148,14 +148,37 @@
|
|
|
>
|
|
|
查看
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- v-if=" scope.row.status !== 0 && scope.row.status !== 1 && scope.row.status !== 2 && scope.row.status !== 3 && scope.row.status !== 4 && scope.row.status !== 6 "
|
|
|
- link
|
|
|
- type="primary"
|
|
|
- @click="handleOutbound(scope.row.id)"
|
|
|
- >
|
|
|
- 出库
|
|
|
- </el-button>
|
|
|
+ <div v-if=" scope.row.status !== 0
|
|
|
+ && scope.row.status !== 1
|
|
|
+ && scope.row.status !== 2
|
|
|
+ && scope.row.status !== 3
|
|
|
+ && scope.row.status !== 4
|
|
|
+ && scope.row.status !== 6">
|
|
|
+ <el-button
|
|
|
+ link
|
|
|
+ type="primary"
|
|
|
+ @click="handleOutbound(scope.row.id)"
|
|
|
+ v-if="scope.row.operator == null"
|
|
|
+ >
|
|
|
+ 出库
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ link
|
|
|
+ type="danger"
|
|
|
+ v-else-if="scope.row.operator != null && scope.row.isFirstOut"
|
|
|
+ >
|
|
|
+ 待证明出库
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ link
|
|
|
+ type="primary"
|
|
|
+ @click="handleOutbound(scope.row.id)"
|
|
|
+ v-else
|
|
|
+ >
|
|
|
+ 证明出库
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+
|
|
|
<el-button
|
|
|
v-if="scope.row.status !== 0 && scope.row.status !== 1 && scope.row.status !== 2 && scope.row.status !== 4 && scope.row.status !== 5 && scope.row.status !== 6"
|
|
|
link
|