Parcourir la source

公司营运下载PDF样式

master
Lxf il y a 2 ans
Parent
révision
8f07273808
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1
    1
      src/views/tongji/gongshiyingyun.vue
  2. 1
    1
      src/views/tongji/yingyun.vue

+ 1
- 1
src/views/tongji/gongshiyingyun.vue Voir le fichier

@@ -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');

+ 1
- 1
src/views/tongji/yingyun.vue Voir le fichier

@@ -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');

Chargement…
Annuler
Enregistrer