diff --git a/apps/l2/src/views/l2/pdo/components/LabelPrint.vue b/apps/l2/src/views/l2/pdo/components/LabelPrint.vue
index 59af56b..85c90e6 100644
--- a/apps/l2/src/views/l2/pdo/components/LabelPrint.vue
+++ b/apps/l2/src/views/l2/pdo/components/LabelPrint.vue
@@ -182,8 +182,8 @@ export default {
type: 'html',
header: null, // 不显示默认页眉
footer: null, // 不显示默认页脚
- style: printStyle, // 应用打印样式
- scanStyles: false, // 不扫描页面现有样式
+ // style: printStyle, // 应用打印样式
+ scanStyles: true, // 不扫描页面现有样式
targetStyles: ['*'], // 允许所有目标样式
documentTitle: '标签打印', // 打印文档标题
onPrintDialogClose: () => {
diff --git a/apps/l2/src/views/l2/pdo/index.vue b/apps/l2/src/views/l2/pdo/index.vue
index cfbf4e4..187bb89 100644
--- a/apps/l2/src/views/l2/pdo/index.vue
+++ b/apps/l2/src/views/l2/pdo/index.vue
@@ -106,6 +106,7 @@
-
-
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -190,6 +197,7 @@ export default {
return {
activeTab: 'basicInfo',
queryForm: { coilid: '', startDate: '', endDate: '' },
+ printOpen: false,
tableData: [],
tableLoading: false,
btnLoading: false,
@@ -283,6 +291,11 @@ export default {
this.formData = JSON.parse(JSON.stringify(row));
this.dialogVisible = true
},
+ handlePrint(row) {
+ // 深拷贝行数据(避免直接修改表格数据)
+ this.formData = JSON.parse(JSON.stringify(row));
+ this.printOpen = true
+ },
// 删除(保持不变)
handleDelete(row) {
this.$confirm(`确定删除成品卷 ${row.exitMatId}?`, '确认删除', { type: 'danger' }).then(() => {
diff --git a/apps/l2/src/views/l2/setup/panels/T.vue b/apps/l2/src/views/l2/setup/panels/T.vue
index d7229c1..d53d7ec 100644
--- a/apps/l2/src/views/l2/setup/panels/T.vue
+++ b/apps/l2/src/views/l2/setup/panels/T.vue
@@ -41,7 +41,7 @@
:xs="24"
:sm="12"
:md="8"
- :lg="5"
+ :lg="6"
:xl="4"
class="card-col"
>
@@ -152,6 +152,7 @@