@@ -520,7 +520,7 @@ export default { | |||
boxIndex++ | |||
mrtjson.Pages[0].Components[0].Components[0].ClientRectangle = `0,0,${boxIndex*28},10` | |||
mrtjson.Pages[0].PageWidth = Math.max(boxIndex * 28,297) | |||
mrtjson.Pages[0].PageWidth = Math.max(boxIndex * 28,297)+10 | |||
console.log(boxIndex* 28,'curstart'); | |||
let lf = (297-(boxIndex* 28))/2 | |||
console.log(lf,'curstart lf'); |
@@ -574,7 +574,7 @@ setTimeout(()=>{ | |||
mrtjson.Pages[0].Components[2].Components[2].ClientRectangle = `${boxIndex * 28},0,28,10` //制表人 | |||
boxIndex++ | |||
mrtjson.Pages[0].Components[0].Components[0].ClientRectangle = `0,0,${boxIndex * 28},10` | |||
mrtjson.Pages[0].PageWidth = Math.max(boxIndex * 28,300) | |||
mrtjson.Pages[0].PageWidth = Math.max(boxIndex * 28,300)+10 | |||
console.log(boxIndex* 28,'curstart'); | |||
let lf = (300-(boxIndex* 28))/2 | |||
console.log(lf,'curstart lf'); |