牌位報名與列印

This commit is contained in:
2026-04-14 15:45:42 +08:00
parent a81967ddbd
commit 08b339e0cd
2 changed files with 108 additions and 78 deletions
@@ -480,7 +480,7 @@
if (newFontSize < 10) {
newFontSize = 10;
}
console.log("乎哈:", d.elementID, d.textWidth, newFontSize)
let content = $(`<div class="tablet-element vertical-text ">${element.sampleContent}</div>`)
.css({
position: "absolute", left: d.startX + "mm", top: d.startY + "mm", fontSize: newFontSize + 'px',
@@ -1136,7 +1136,7 @@
return Number.parseFloat(val).toFixed(2);
},
renderNormal(mid, d) {
console.log("renderNormal:", d)
//console.log("renderNormal:", d)
let self = this;
let txt = $(`<div class='${d.elementID}'>${mid}</div>`).css({
"z-index": 9999, visibility: d.visibility,
@@ -1394,7 +1394,7 @@
mid_right: designer.family_right_title,
addr_items: designer.family_address
}
console.log(JSON.stringify(tablet));
//console.log(JSON.stringify(tablet));
var pro_order_detail =
{
num: designer.tabletItem.num <= 0 ? null : designer.tabletItem.num,