|
@@ -995,8 +995,10 @@ export default {
|
|
edit: {
|
|
edit: {
|
|
btnType: 'text',
|
|
btnType: 'text',
|
|
conditions: ({ row, index, column }) => {
|
|
conditions: ({ row, index, column }) => {
|
|
- return ['OK', 'FAIL', 'STOP', 'QUIT'].includes(row.examineStatus)
|
|
|
|
- // WAIT_WORKER
|
|
|
|
|
|
+ return (
|
|
|
|
+ ['OK', 'FAIL', 'STOP', 'QUIT'].includes(row.examineStatus) ||
|
|
|
|
+ (['MAJOR', 'MERCHANT'].includes(row.attr) && ['WAIT_WORKER'].includes(row.examineStatus))
|
|
|
|
+ )
|
|
},
|
|
},
|
|
click: ({ row, index, column }) => {
|
|
click: ({ row, index, column }) => {
|
|
this.$refs.tabPage.addTab({
|
|
this.$refs.tabPage.addTab({
|