update print dom

This commit is contained in:
lb 2023-08-25 11:04:27 +08:00
parent 807766f83f
commit 7de3355106

View File

@ -64,11 +64,12 @@
</h2> </h2>
<!-- 销售订单发货时间 --> <!-- 销售订单发货时间 -->
<h2 class="delivery-time" style="font-size: 18px; margin: 10px 0"> <h2 class="delivery-time" style="font-size: 18px; margin: 10px 0">
{{ {{ new Date(dataForm.deliveryTime).toLocaleDateString() }}
<!-- {{
new Date(dataForm.deliveryTime).toLocaleDateString() + new Date(dataForm.deliveryTime).toLocaleDateString() +
" " + " " +
new Date(dataForm.deliveryTime).toLocaleTimeString() new Date(dataForm.deliveryTime).toLocaleTimeString()
}} }} -->
</h2> </h2>
<!-- 托盘类型 满托 尾托 余托 --> <!-- 托盘类型 满托 尾托 余托 -->
<h2 <h2
@ -256,7 +257,7 @@ export default {
// this.$nextTick(() => { // this.$nextTick(() => {
// this.getPrintStatus(resolve, reject); // this.getPrintStatus(resolve, reject);
// }); // });
console.log('this.lodop.On_Return', this.lodop.On_Return, this.jobId) console.log("this.lodop.On_Return", this.lodop.On_Return, this.jobId);
resolve(); resolve();
}; };
} }
@ -273,7 +274,7 @@ export default {
this.lodop.SET_PRINT_MODE("CATCH_PRINT_STATUS", true); this.lodop.SET_PRINT_MODE("CATCH_PRINT_STATUS", true);
if (this.lodop.CVERSION) { if (this.lodop.CVERSION) {
this.lodop.On_Return = (TaskID, Value) => { 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") { if (Value.toString() == "1") {
// //
this.sendSuccess() this.sendSuccess()