diff --git a/src/utils/enum.js b/src/utils/enum.js
index c7acbd90..81881aa8 100644
--- a/src/utils/enum.js
+++ b/src/utils/enum.js
@@ -201,14 +201,20 @@ export const schedulePeriodEnum = new EnumFactory({
})
export const wmState = new EnumFactory({
- 10: { text: '合格', type: 'success' },
- 20: { text: '不合格', type: 'warning' },
- 30: { text: '返工', type: 'warning' },
- 34: { text: '返工完成', type: 'warning' },
- 40: { text: '检验', type: 'primary' },
+ 10: { text: '正常', type: 'success' },
+ 20: { text: '不合格品', type: 'warning' },
+ 30: { text: '返修', type: 'warning' },
+ 34: { text: '返修完成', type: 'warning' },
+ 40: { text: '待检验', type: 'primary' },
50: { text: '报废', type: 'danger' },
}, parseInt)
+export const defectGrade = new EnumFactory({
+ 10: { text: '合格', type: 'success' },
+ 20: { text: '合格B类', type: 'warning' },
+ 30: { text: '不合格', type: 'danger' },
+}, parseInt)
+
export const certStateEnum = new EnumFactory({
10: { text: '正常', type: 'success' },
20: { text: '临期', type: 'warning' },
diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue
index 05250c9c..505a42c6 100644
--- a/src/views/wpm_bx/handover_form.vue
+++ b/src/views/wpm_bx/handover_form.vue
@@ -55,6 +55,7 @@
{{ item.batch }}
({{ item.material_.process_name }})
(原料棒)
+