diff --git a/src/components/PrintDom.vue b/src/components/PrintDom.vue
index dcd5c84..22b8b1e 100644
--- a/src/components/PrintDom.vue
+++ b/src/components/PrintDom.vue
@@ -64,11 +64,12 @@
- {{
+ {{ new Date(dataForm.deliveryTime).toLocaleDateString() }}
+
{
this.jobId = Value;
// this.$nextTick(() => {
- // this.getPrintStatus(resolve, reject);
- // });
- console.log('this.lodop.On_Return', this.lodop.On_Return, this.jobId)
+ // this.getPrintStatus(resolve, reject);
+ // });
+ console.log("this.lodop.On_Return", this.lodop.On_Return, this.jobId);
resolve();
};
}
@@ -266,14 +267,14 @@ export default {
this.lodop.PRINT();
});
},
-
+
getPrintStatus(id) {
return new Promise((resolve, reject) => {
if (!this.jobId || !this.lodop) reject(-1);
this.lodop.SET_PRINT_MODE("CATCH_PRINT_STATUS", true);
if (this.lodop.CVERSION) {
this.lodop.On_Return = (TaskID, Value) => {
- console.log('this.lodop.On_Return', this.lodop.On_Return, this.jobId, Value)
+ console.log("this.lodop.On_Return", this.lodop.On_Return, this.jobId, Value);
if (Value.toString() == "1") {
// 打印成功
this.sendSuccess()