add:强制完成

This commit is contained in:
zhangzq
2024-07-17 09:47:06 +08:00
parent c882993f9e
commit 5a64f76080
2 changed files with 10 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ public enum StatusEnum {
/** /**
* 单据状态 * 单据状态
*/ */
FORM_STATUS(ForkMap.of("生成", "10",null,"已分配", "13", null,"下发", "15", null,"执行中", "20",null,"暂停", "30",null,"完成", "80",null,"取消", "90",null)), FORM_STATUS(ForkMap.of("生成", "10",null,"已分配", "13", null,"下发", "15", null,"执行中", "20",null,"暂停", "30",null,"完成", "80",null,"强制完成", "82",null,"取消", "90",null)),
/** /**
* 出入库单据类型 * 出入库单据类型

View File

@@ -173,6 +173,13 @@
:disabled="scope.row.status==='5' || scope.row.status==='6'" :disabled="scope.row.status==='5' || scope.row.status==='6'"
>完成 >完成
</el-button> </el-button>
<el-button
type="text"
icon="el-icon-success"
@click="doOperate(scope.row, 'e')"
:disabled="scope.row.status==='5' || scope.row.status==='6'"
>强制完成
</el-button>
<el-button <el-button
type="text" type="text"
icon="el-icon-error" icon="el-icon-error"
@@ -284,6 +291,8 @@ export default {
break break
case 'd':// 详情 case 'd':// 详情
status = 'view' status = 'view'
case 'e':// 详情
status = '82'
break break
} }
if (status === 'view') { if (status === 'view') {