-
-
— No opinion yet · 暂无意见 —
+
+
+
+
+
+ — No opinion yet · 暂无意见 —
+
@@ -35,10 +40,11 @@
+
+
diff --git a/klp-ui/src/views/wms/post/objection/components/DeptOpinionPreview.vue b/klp-ui/src/views/wms/post/objection/components/DeptOpinionPreview.vue
new file mode 100644
index 000000000..1c238dee9
--- /dev/null
+++ b/klp-ui/src/views/wms/post/objection/components/DeptOpinionPreview.vue
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+ 内部调查情况
+ {{ parsedData.internalInvestigation }}
+
+
+ 内部确认
+ {{ parsedData.internalConfirmer || '-' }} / {{ parsedData.internalConfirmDate || '-' }}
+
+
+ 外部调查情况
+ {{ parsedData.externalInvestigation }}
+
+
+ 外部确认
+ {{ parsedData.externalConfirmer || '-' }} / {{ parsedData.externalConfirmDate || '-' }}
+
+
+ 责任单位
+ {{ parsedData.responsibleUnit }}
+
+
+ 接收
+ {{ parsedData.receiver || '-' }} / {{ parsedData.acceptDate || '-' }}
+
+
+
+
+
+
+ 产生原因
+ {{ parsedData.cause }}
+
+
+ 流出原因
+ {{ parsedData.escapeReason }}
+
+
+ 纠正措施
+ {{ parsedData.correctiveAction }}
+
+
+ 预计整改日期
+ {{ parsedData.rectifyDate }}
+
+
+ 主管意见
+ {{ parsedData.supervisorOpinion }}
+
+
+
+
+
+
+ 处理意见
+ {{ parsedData.handlingOpinion }}
+
+
+ 领导意见
+ {{ parsedData.leaderOpinion }}
+
+
+
+
— No data · 暂无数据 —
+
+
+
+
+
+
diff --git a/klp-ui/src/views/wms/post/objection/components/ExportPdfDialog.vue b/klp-ui/src/views/wms/post/objection/components/ExportPdfDialog.vue
new file mode 100644
index 000000000..232a4f8d2
--- /dev/null
+++ b/klp-ui/src/views/wms/post/objection/components/ExportPdfDialog.vue
@@ -0,0 +1,621 @@
+
+
+
+
+
+
+
质量异议反馈单
+
+
+
+
+
+
+
产品异议描述:(缺陷描述、缺陷程度、缺陷部位、缺陷数量、发生缺陷的生产/使用工序、特殊说明等等)
+
{{ detail.complaintContent || '' }}
+
+
+
+
+
+
+
+
+
+
+
附件 2
+
质量投诉立案、确认及处置单
+
+
+
+
+
问题描述:(产品卷号、产品生产日期、缺陷名称、缺陷描述、缺陷程度、缺陷数量、发生问题的生产工序等以及附加缺陷照片)
+
客户反馈:{{ detail.complaintContent || '' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
附缺陷照片:
+
+
+
![]()
+
+
+
暂无缺陷照片
+
+
+
+
+
+
+
+
+
+
+
diff --git a/klp-ui/src/views/wms/post/objection/components/FlowOverviewSection.vue b/klp-ui/src/views/wms/post/objection/components/FlowOverviewSection.vue
index ae2223740..7c100866e 100644
--- a/klp-ui/src/views/wms/post/objection/components/FlowOverviewSection.vue
+++ b/klp-ui/src/views/wms/post/objection/components/FlowOverviewSection.vue
@@ -8,8 +8,6 @@
-
-
@@ -34,15 +32,13 @@ export default {
},
computed: {
/**
- * el-steps 的 active 属性是从 0 开始索引的。
- * 当 status=1 时 active=0(待审核高亮),
- * status=2 时 active=1(已完成待审核+意见填写中高亮),依此类推。
- * status=5(执行完成)和 status=6(全部办结)共享第5步作为已完成状态。
+ * el-steps active 从 0 开始。
+ * 1=待审核→0, 2=意见填写→1, 3=汇总方案→2, 4=全部办结→3
*/
activeStep() {
if (this.flowStatus == null) return -1;
const v = Number(this.flowStatus);
- if (v >= 6) return 5; // 全部办结 -> 第5步已完成
+ if (v >= 4) return 3;
return v - 1;
},
flowStatusText() {
@@ -50,9 +46,7 @@ export default {
1: '待审核',
2: '意见填写中',
3: '待汇总方案',
- 4: '执行反馈中',
- 5: '执行完成',
- 6: '全部办结'
+ 4: '全部办结'
};
return map[this.flowStatus] || '未知';
},
@@ -61,9 +55,7 @@ export default {
1: 'info',
2: 'warning',
3: '',
- 4: 'warning',
- 5: 'success',
- 6: 'success'
+ 4: 'success'
};
return map[this.flowStatus] || '';
}
diff --git a/klp-ui/src/views/wms/post/objection/components/HeaderControlSection.vue b/klp-ui/src/views/wms/post/objection/components/HeaderControlSection.vue
index 411771d92..60d7dd74c 100644
--- a/klp-ui/src/views/wms/post/objection/components/HeaderControlSection.vue
+++ b/klp-ui/src/views/wms/post/objection/components/HeaderControlSection.vue
@@ -26,6 +26,8 @@
投诉日期:{{ parseTime(meta.complaintDate, '{y}-{m}-{d}') }}
+
+
@@ -58,9 +60,7 @@ export default {
1: '待审核',
2: '意见填写中',
3: '待汇总方案',
- 4: '执行反馈中',
- 5: '执行完成',
- 6: '全部办结'
+ 4: '全部办结'
};
return map[this.flowStatus] || '未知';
},
@@ -69,9 +69,7 @@ export default {
1: 'info',
2: 'warning',
3: '',
- 4: 'warning',
- 5: 'success',
- 6: 'success'
+ 4: 'success'
};
return map[this.flowStatus] || '';
}
diff --git a/klp-ui/src/views/wms/post/objection/index.vue b/klp-ui/src/views/wms/post/objection/index.vue
index 4ed32b027..e0ce6bf17 100644
--- a/klp-ui/src/views/wms/post/objection/index.vue
+++ b/klp-ui/src/views/wms/post/objection/index.vue
@@ -15,11 +15,9 @@