wangfei
2024-08-22 b0c65d5e7c74e45a4d2099fd81a8dbc7c98a546d
UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
@@ -303,10 +303,10 @@
printFlowCardId.value = row.flowCardId;
printLayer.value = row.layer
dialogTableVisible1.value = true;
// setTimeout(() => {
//   printFlowCard1(); // 替换成你要执行的函数名
//   //dialogTableVisible1.value = false;
// }, 1000);
setTimeout(() => {
  printFlowCard1(); // 替换成你要执行的函数名
  //dialogTableVisible1.value = false;
}, 1000);
}
const printFlowCard = () => {
@@ -320,6 +320,8 @@
  let content = doc.createElement("div");
  content.id = printId;
  alert(/Chrome/.test(userAgent) && !/Edge/.test(userAgent));
  // 样式控制与打印无关的元素隐藏
  let style = doc.createElement("style");
  console.log("style1:"+style.innerHTML)