Commit fbe92a53 by linjinhong

fix:添加直接打印功能

parent a327daff
......@@ -363,6 +363,7 @@ export default {
imageResList.forEach((el) => {
el.isCut = true;
});
this.detail.isCut = true;
}
// 延迟后强制激活窗口
......
......@@ -931,6 +931,8 @@ export default {
this.getBackFile({ files: [this.selectImgList[0]] });
} catch (error) {
console.error("错误", error);
} finally {
this.detail.isCut = true;
}
},
// startLoading,
......@@ -1588,21 +1590,22 @@ export default {
</div>
</div>
</div>
<!-- <div
<div
class="print-tip"
:style="{ left: isView ? '' : '22%' }"
v-if="
detail &&
detail.mssWidth &&
detail.mssHeight &&
selectImgList.length
selectImgList.length &&
!detail.isCut
"
>
<b style="color: green" v-if="hasSize"
>该生产单无需拖动设计,直接打印</b
>
<b style="color: red" v-else>该生产单需要拖动设计打印</b>
</div> -->
<!-- <b style="color: red" v-else>该生产单需要拖动设计打印</b> -->
</div>
</div>
<img
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment