Commit ae482473 authored by 李驰骋's avatar 李驰骋

工单新增、修改按钮删除

parent d19f69cc
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
</el-form> </el-form>
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<!--
<el-col :span="1.5"> <el-col :span="1.5">
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
v-hasPermi="['mes:pro:workorder:add']">{{$t('新增')}}</el-button> v-hasPermi="['mes:pro:workorder:add']">{{$t('新增')}}</el-button>
...@@ -89,7 +90,7 @@ ...@@ -89,7 +90,7 @@
v-hasPermi="['mes:pro:workorder:edit']">{{$t('修改')}}</el-button> v-hasPermi="['mes:pro:workorder:edit']">{{$t('修改')}}</el-button>
</el-col> </el-col>
<!-- <el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="danger" type="danger"
plain plain
...@@ -251,8 +252,10 @@ ...@@ -251,8 +252,10 @@
<el-table-column :label="$t('common.option')" width="220px" align="center" fixed="right" class-name="small-padding fixed-width"> <el-table-column :label="$t('common.option')" width="220px" align="center" fixed="right" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<!--
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.status == 'PUBLISHED'" <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.status == 'PUBLISHED'"
@click="handleUpdate(scope.row)" v-hasPermi="['mes:pro:workorder:edit']">{{$t('修改')}}</el-button> @click="handleUpdate(scope.row)" v-hasPermi="['mes:pro:workorder:edit']">{{$t('修改')}}</el-button>
-->
<el-button size="mini" type="text" icon="el-icon-search" @click="handleViewRecord(scope.row)">{{$t('查看更新记录')}}</el-button> <el-button size="mini" type="text" icon="el-icon-search" @click="handleViewRecord(scope.row)">{{$t('查看更新记录')}}</el-button>
<el-button size="mini" type="text" icon="el-icon-delete" v-if="scope.row.status == 'PREPARE'" <el-button size="mini" type="text" icon="el-icon-delete" v-if="scope.row.status == 'PREPARE'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment