diff --git a/src/views/modules/qc/inboundNotification.vue b/src/views/modules/qc/inboundNotification.vue
index edbd3b7..a0cfcd3 100644
--- a/src/views/modules/qc/inboundNotification.vue
+++ b/src/views/modules/qc/inboundNotification.vue
@@ -2245,10 +2245,10 @@
// 标签导入
labelImportModal (row) {
// 权限检查:与批量编辑按钮相同的权限控制
- if (this.currentRow.orderStatus !== '草稿' && this.currentRow.orderStatus !== '编辑中') {
- this.$message.warning('只有草稿或编辑中状态的单据才能导入标签!')
- return
- }
+ // if (this.currentRow.orderStatus !== '草稿' && this.currentRow.orderStatus !== '编辑中') {
+ // this.$message.warning('只有草稿或编辑中状态的单据才能导入标签!')
+ // return
+ // }
// 准备传递给组件的数据
let currentData = {
site: this.currentRow.site,
diff --git a/src/views/modules/shopOrder/productionReport/searchSfdcRollsReport.vue b/src/views/modules/shopOrder/productionReport/searchSfdcRollsReport.vue
index 43a5c35..9e68af2 100644
--- a/src/views/modules/shopOrder/productionReport/searchSfdcRollsReport.vue
+++ b/src/views/modules/shopOrder/productionReport/searchSfdcRollsReport.vue
@@ -141,6 +141,14 @@
打印
属性变动
+
+ 卷数量:{{ summaryData.rollQty }}
+ 良品数:{{ summaryData.goodQty }}
+ 面损:{{ summaryData.surfaceLossQty }}
+ 性能不良:{{ summaryData.poorPerformanceQty }}
+ 不良数:{{ summaryData.defectQty }}
+ 总数:{{ summaryData.totalQty }}
+
@@ -539,6 +547,14 @@ import labelPrintTemplates from '@/mixins/labelPrintTemplates.js';
pageIndex: 1,
pageSize: 50,
totalPage: 0,
+ summaryData: {
+ rollQty: 0,
+ goodQty: 0,
+ surfaceLossQty: 0,
+ poorPerformanceQty: 0,
+ defectQty: 0,
+ totalQty: 0
+ },
// 标签打印相关
printDialogVisible: false,
printDialogData: {
@@ -1091,6 +1107,16 @@ import labelPrintTemplates from '@/mixins/labelPrintTemplates.js';
searchSfdcRollsReport(params).then(({data}) => {
this.dataList = data.rows || [];
this.totalPage = data.total || 0;
+ if (data.summary) {
+ this.summaryData = {
+ rollQty: data.summary.rollQty || 0,
+ goodQty: data.summary.goodQty || 0,
+ surfaceLossQty: data.summary.surfaceLossQty || 0,
+ poorPerformanceQty: data.summary.poorPerformanceQty || 0,
+ defectQty: data.summary.defectQty || 0,
+ totalQty: data.summary.totalQty || 0
+ };
+ }
this.dataListLoading = false;
}).catch(err => {
console.error('查询失败:', err);
@@ -1682,6 +1708,37 @@ import labelPrintTemplates from '@/mixins/labelPrintTemplates.js';
gap: 8px;
}
+/* 汇总数据栏 */
+.summary-bar {
+ margin-left: auto;
+ display: flex;
+ align-items: center;
+ gap: 16px;
+ background: #f2f6fa;
+ border: 1px solid #c8dff0;
+ border-radius: 6px;
+ padding: 5px 14px;
+ font-size: 13px;
+}
+
+.summary-item-inline {
+ display: flex;
+ align-items: center;
+ white-space: nowrap;
+}
+
+.summary-label-inline {
+ color: #5a7a8f;
+ font-weight: 500;
+ margin-right: 2px;
+}
+
+.summary-value-inline {
+ color: #3a7ba8;
+ font-weight: bold;
+ font-size: 13px;
+}
+
/* 展开时显示上边框 */
.search-card:not(.collapsed) .search-actions {
border-top: 1px solid #f0f0f0;