This commit is contained in:
USER-20220102CG\noblelift
2022-07-10 16:50:52 +08:00
parent 2f537a0a5e
commit 6855a36b57
13 changed files with 205 additions and 57 deletions

View File

@@ -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 => {