add:停止过账状态

This commit is contained in:
zhaoyf
2026-09-02 15:02:08 +08:00
parent 2ca0392d1b
commit 797566b59a
3 changed files with 18 additions and 5 deletions

View File

@@ -88,7 +88,7 @@
<el-table-column prop="sn" label="序列码" min-width="110" />
<el-table-column prop="trackNo" label="跟踪号" min-width="110" />
<el-table-column prop="workArea" label="产线" min-width="60" />
<el-table-column prop="status" label="过账状态" width="80">
<el-table-column prop="status" label="过账状态" width="82">
<template slot-scope="scope">
<el-tag :type="statusTagType(scope.row.status)" size="mini">{{ statusLabel(scope.row.status) }}</el-tag>
</template>
@@ -269,7 +269,8 @@ export default {
{ value: '1', label: '过账完成' },
{ value: '2', label: '过账中' },
{ value: '3', label: '重新提交' },
{ value: '4', label: '忽略过账' }
{ value: '4', label: '忽略过账' },
{ value: '5', label: '停止过账' }
],
rules: {
orgno: [{ required: true, message: '请输入机构编号', trigger: 'blur' }],
@@ -469,7 +470,7 @@ export default {
// { value: '1', label: '回传成功' },
// { value: '2', label: '回传失败' },
// { value: '3', label: '回传异常' }
const map = { '0': 'primary', '2': 'info', '1': 'success', '3': 'danger' }
const map = { '0': 'primary', '2': 'info', '1': 'success', '3': 'danger', '5': 'info' }
return map[String(status)] || ''
},
statusFormat(row) {