admin/src/views/index.vue
@@ -88,7 +88,7 @@ label="处理" width="80"> <template slot-scope="scope"> <el-button type="text" @click="departure(scope.row.id)">离场</el-button> <el-button type="text" @click="departure(scope.row.id)" v-if="scope.row.outStatus === 1">离厂</el-button> </template> </el-table-column> </el-table>