更新
This commit is contained in:
@@ -174,7 +174,7 @@
|
||||
<template slot-scope="scope">
|
||||
<!-- <el-button v-if="scope.row.is_flag ==='1'" type="text" size="small" @click="handleClick(scope.row,'1')">暂停工单</el-button>-->
|
||||
<el-button v-if="scope.row.is_flag ==='1'" type="text" size="small" @click="handleClick(scope.row,'2')">强制完成工单</el-button>
|
||||
<!-- <el-button v-if="scope.row.is_flag ==='0'" type="text" size="small" @click="handleClick(scope.row,'3')">暂停明细</el-button>-->
|
||||
<el-button v-if="scope.row.is_flag ==='0'" type="text" size="small" @click="handleClick(scope.row,'3')">手动完成</el-button>
|
||||
<el-button v-if="scope.row.is_flag ==='0'" type="text" size="small" @click="handleClick(scope.row,'4')">强制完成明细</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -309,7 +309,7 @@ export default {
|
||||
}
|
||||
} else {
|
||||
if (flag === '3') {
|
||||
crudProduceshiftorder.detail_pause(row).then(res => {
|
||||
crudProduceshiftorder.manual_finish(row).then(res => {
|
||||
this.crud.toQuery()
|
||||
this.crud.notify(status + '成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
}).catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user