diff --git a/src/views/material/back/component/dialogFormByCq.vue b/src/views/material/back/component/dialogFormByCq.vue
index c5303ad3..5ee1dfbd 100644
--- a/src/views/material/back/component/dialogFormByCq.vue
+++ b/src/views/material/back/component/dialogFormByCq.vue
@@ -6,15 +6,16 @@
:title="dialogTitle"
:visible.sync="dialogShowFlag"
append-to-body
- width="1000px"
+ width="1090px"
>
-
+
+
机具设备退料单
-
-
+
+
工程名称:{{ rowObj.proName }}
@@ -22,7 +23,7 @@
退料时间:{{ rowObj.createTime }}
-
+
退料单位:{{ rowObj.unitName }}
@@ -31,12 +32,13 @@
-
-
+
+
制单:
-
+
+
打印
-
+
+
-
-
+
+
工程名称:{{ rowObj.proName }}
@@ -123,7 +127,7 @@
退料时间:{{ rowObj.createTime }}
-
+
退料单位:{{ rowObj.unitName }}
@@ -132,8 +136,8 @@
-
-
+
+
@@ -159,7 +163,8 @@
制单:
-
+
+
打印
@@ -242,7 +247,14 @@ export default {
this.dialogShowFlag = false;
},
print() {
- this.$refs.printRef.print();
+ // this.$refs.printRef.print();
+ printJS({
+ printable: 'checkId',
+ type: 'html',
+ targetStyles: ['*'],
+ maxWidth:'1400'
+ // 其他配置选项
+ });
console.log(this.rowObj)
updatePrintStatus(this.rowObj.id).then(response => {
if (response.code === 200) {
@@ -261,27 +273,34 @@ export default {
this.open = true
},
remarksPrint() {
- this.$refs.remarksPrintRef.print();
+ // this.$refs.remarksPrintRef.print();
+ printJS({
+ printable: 'checkIdTwo',
+ type: 'html',
+ targetStyles: ['*'],
+ maxWidth:'1400'
+ // 其他配置选项
+ });
},
}
};