代码更新

This commit is contained in:
2022-11-01 16:18:27 +08:00
parent b1dd30e61c
commit e4df9e20af
19 changed files with 556 additions and 287 deletions

View File

@@ -162,6 +162,8 @@
<udOperation
:data="scope.row"
:permission="permission"
:disabled-dle="scope.row.status !== '01'"
:disabled-edit="scope.row.status !== '01'"
/>
</template>
</el-table-column>
@@ -254,8 +256,8 @@ export default {
compelEnd() {
const _selectData = this.$refs.table.selection
const data = _selectData[0]
if (data.status !== '01') {
return this.crud.notify('能对开始状态的工单结束', CRUD.NOTIFICATION_TYPE.INFO)
if (data.status === '09') {
return this.crud.notify('能对完成状态的工单强制结束', CRUD.NOTIFICATION_TYPE.INFO)
}
crudRawfoilworkorder.compelEnd(data).then(res => {
this.crud.toQuery()