feat(print): 添加 vue-plugin-hiprint 插件支持打印功能
- 在 package.json 中添加 vue-plugin-hiprint 依赖 - 更新 package-lock.json 中的相关依赖 - 修改 .env.development 文件中的 API 地址
This commit is contained in:
parent
af20ad3f6b
commit
452235e900
|
@ -6,6 +6,6 @@ VITE_NOW_TYPE = 'dist'
|
||||||
# VITE_APP_BASE_URL='http://192.168.1.10:8546'
|
# VITE_APP_BASE_URL='http://192.168.1.10:8546'
|
||||||
# VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn'
|
# VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn'
|
||||||
# VITE_APP_BASE_URL='https://multi-store.lihaink.cn'
|
# VITE_APP_BASE_URL='https://multi-store.lihaink.cn'
|
||||||
VITE_APP_BASE_URL='http://192.168.1.6:8545'
|
VITE_APP_BASE_URL='http://192.168.1.22:8545'
|
||||||
# VITE_APP_BASE_URL='https://ceshi-multi-store.lihaink.cn'
|
# VITE_APP_BASE_URL='https://ceshi-multi-store.lihaink.cn'
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
"vue": "^3.2.37",
|
"vue": "^3.2.37",
|
||||||
"vue-clipboard3": "^2.0.0",
|
"vue-clipboard3": "^2.0.0",
|
||||||
"vue-echarts": "^6.2.3",
|
"vue-echarts": "^6.2.3",
|
||||||
|
"vue-plugin-hiprint": "^0.0.56",
|
||||||
"vue-project": "file:",
|
"vue-project": "file:",
|
||||||
"vue-router": "^4.0.16",
|
"vue-router": "^4.0.16",
|
||||||
"vue3-video-play": "^1.3.2",
|
"vue3-video-play": "^1.3.2",
|
||||||
|
@ -567,6 +568,14 @@
|
||||||
"node": ">=6.9.0"
|
"node": ">=6.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@claviska/jquery-minicolors": {
|
||||||
|
"version": "2.3.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@claviska/jquery-minicolors/-/jquery-minicolors-2.3.6.tgz",
|
||||||
|
"integrity": "sha512-8Ro6D4GCrmOl41+6w4NFhEOpx8vjxwVRI69bulXsFDt49uVRKhLU5TnzEV7AmOJrylkVq+ugnYNMiGHBieeKUQ==",
|
||||||
|
"peerDependencies": {
|
||||||
|
"jquery": ">= 1.7.x"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@ctrl/tinycolor": {
|
"node_modules/@ctrl/tinycolor": {
|
||||||
"version": "3.6.1",
|
"version": "3.6.1",
|
||||||
"resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz",
|
||||||
|
@ -925,6 +934,11 @@
|
||||||
"integrity": "sha512-RbhOOTCNoCrbfkRyoXODZp75MlpiHMgbE5MEBZAnnnLyQNgrigEj4p0lzsMDyc1zVsJDLrivB58tgg3emX0eEA==",
|
"integrity": "sha512-RbhOOTCNoCrbfkRyoXODZp75MlpiHMgbE5MEBZAnnnLyQNgrigEj4p0lzsMDyc1zVsJDLrivB58tgg3emX0eEA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/@socket.io/component-emitter": {
|
||||||
|
"version": "3.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz",
|
||||||
|
"integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA=="
|
||||||
|
},
|
||||||
"node_modules/@tailwindcss/line-clamp": {
|
"node_modules/@tailwindcss/line-clamp": {
|
||||||
"version": "0.4.4",
|
"version": "0.4.4",
|
||||||
"resolved": "https://registry.npmjs.org/@tailwindcss/line-clamp/-/line-clamp-0.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@tailwindcss/line-clamp/-/line-clamp-0.4.4.tgz",
|
||||||
|
@ -984,6 +998,11 @@
|
||||||
"integrity": "sha512-k7kRA033QNtC+gLc4VPlfnue58CM1iQLgn1IMAU8VPHGOj7oIHPp9UlhedEnD/Gl8evoCjwkZjlBORtZ3JByUA==",
|
"integrity": "sha512-k7kRA033QNtC+gLc4VPlfnue58CM1iQLgn1IMAU8VPHGOj7oIHPp9UlhedEnD/Gl8evoCjwkZjlBORtZ3JByUA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/@types/raf": {
|
||||||
|
"version": "3.4.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/raf/-/raf-3.4.3.tgz",
|
||||||
|
"integrity": "sha512-c4YAvMedbPZ5tEyxzQdMoOhhJ4RD3rngZIdwC2/qDN3d7JpEhB6fiBRKVY1lg5B7Wk+uPBjn5f39j1/2MY1oOw=="
|
||||||
|
},
|
||||||
"node_modules/@types/semver": {
|
"node_modules/@types/semver": {
|
||||||
"version": "7.5.6",
|
"version": "7.5.6",
|
||||||
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz",
|
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz",
|
||||||
|
@ -2050,7 +2069,6 @@
|
||||||
"version": "2.1.2",
|
"version": "2.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
|
||||||
"integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
|
"integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
|
||||||
"dev": true,
|
|
||||||
"bin": {
|
"bin": {
|
||||||
"atob": "bin/atob.js"
|
"atob": "bin/atob.js"
|
||||||
},
|
},
|
||||||
|
@ -2136,6 +2154,14 @@
|
||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/base64-arraybuffer": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/big.js": {
|
"node_modules/big.js": {
|
||||||
"version": "5.2.2",
|
"version": "5.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
|
||||||
|
@ -2226,12 +2252,31 @@
|
||||||
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
|
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/btoa": {
|
||||||
|
"version": "1.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz",
|
||||||
|
"integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==",
|
||||||
|
"bin": {
|
||||||
|
"btoa": "bin/btoa.js"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/buffer-from": {
|
"node_modules/buffer-from": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
|
||||||
"integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
|
"integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/bwip-js": {
|
||||||
|
"version": "4.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/bwip-js/-/bwip-js-4.5.1.tgz",
|
||||||
|
"integrity": "sha512-83yQCKiIftz5YonnsTh6wIkFoHHWl+B/XaGWD1UdRw7aB6XP9JtyYP9n8sRy3m5rzL+Ch/RUPnu28UW0RrPZUA==",
|
||||||
|
"bin": {
|
||||||
|
"bwip-js": "bin/bwip-js.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/cache-base": {
|
"node_modules/cache-base": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
|
||||||
|
@ -2321,6 +2366,24 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"node_modules/canvg": {
|
||||||
|
"version": "3.0.10",
|
||||||
|
"resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.10.tgz",
|
||||||
|
"integrity": "sha512-qwR2FRNO9NlzTeKIPIKpnTY6fqwuYSequ8Ru8c0YkYU7U0oW+hLUvWadLvAu1Rl72OMNiFhoLu4f8eUjQ7l/+Q==",
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/runtime": "^7.12.5",
|
||||||
|
"@types/raf": "^3.4.0",
|
||||||
|
"core-js": "^3.8.3",
|
||||||
|
"raf": "^3.4.1",
|
||||||
|
"regenerator-runtime": "^0.13.7",
|
||||||
|
"rgbcolor": "^1.0.1",
|
||||||
|
"stackblur-canvas": "^2.0.0",
|
||||||
|
"svg-pathdata": "^6.0.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/capital-case": {
|
"node_modules/capital-case": {
|
||||||
"version": "1.0.4",
|
"version": "1.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/capital-case/-/capital-case-1.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/capital-case/-/capital-case-1.0.4.tgz",
|
||||||
|
@ -2610,7 +2673,6 @@
|
||||||
"version": "3.35.1",
|
"version": "3.35.1",
|
||||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.35.1.tgz",
|
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.35.1.tgz",
|
||||||
"integrity": "sha512-IgdsbxNyMskrTFxa9lWHyMwAJU5gXOPP+1yO+K59d50VLVAIDAbs7gIv705KzALModfK3ZrSZTPNpC0PQgIZuw==",
|
"integrity": "sha512-IgdsbxNyMskrTFxa9lWHyMwAJU5gXOPP+1yO+K59d50VLVAIDAbs7gIv705KzALModfK3ZrSZTPNpC0PQgIZuw==",
|
||||||
"dev": true,
|
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
|
@ -2663,6 +2725,14 @@
|
||||||
"ms": "^2.1.1"
|
"ms": "^2.1.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/css-line-break": {
|
||||||
|
"version": "2.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.1.0.tgz",
|
||||||
|
"integrity": "sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==",
|
||||||
|
"dependencies": {
|
||||||
|
"utrie": "^1.0.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/css-select": {
|
"node_modules/css-select": {
|
||||||
"version": "4.3.0",
|
"version": "4.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz",
|
||||||
|
@ -2820,7 +2890,6 @@
|
||||||
"version": "4.3.4",
|
"version": "4.3.4",
|
||||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
||||||
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ms": "2.1.2"
|
"ms": "2.1.2"
|
||||||
},
|
},
|
||||||
|
@ -2978,6 +3047,12 @@
|
||||||
"domelementtype": "1"
|
"domelementtype": "1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/dompurify": {
|
||||||
|
"version": "2.5.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.5.7.tgz",
|
||||||
|
"integrity": "sha512-2q4bEI+coQM8f5ez7kt2xclg1XsecaV9ASJk/54vwlfRRNQfDqJz2pzQ8t0Ix/ToBpXlVjrRIx7pFC/o8itG2Q==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
"node_modules/domutils": {
|
"node_modules/domutils": {
|
||||||
"version": "1.7.0",
|
"version": "1.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",
|
||||||
|
@ -3059,6 +3134,26 @@
|
||||||
"node": ">= 4"
|
"node": ">= 4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/engine.io-client": {
|
||||||
|
"version": "6.6.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.6.2.tgz",
|
||||||
|
"integrity": "sha512-TAr+NKeoVTjEVW8P3iHguO1LO6RlUz9O5Y8o7EY0fU+gY1NYqas7NN3slpFtbXEsLMHk0h90fJMfKjRkQ0qUIw==",
|
||||||
|
"dependencies": {
|
||||||
|
"@socket.io/component-emitter": "~3.1.0",
|
||||||
|
"debug": "~4.3.1",
|
||||||
|
"engine.io-parser": "~5.2.1",
|
||||||
|
"ws": "~8.17.1",
|
||||||
|
"xmlhttprequest-ssl": "~2.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/engine.io-parser": {
|
||||||
|
"version": "5.2.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz",
|
||||||
|
"integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/entities": {
|
"node_modules/entities": {
|
||||||
"version": "4.5.0",
|
"version": "4.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
|
||||||
|
@ -4069,6 +4164,11 @@
|
||||||
"reusify": "^1.0.4"
|
"reusify": "^1.0.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/fflate": {
|
||||||
|
"version": "0.8.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
|
||||||
|
"integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A=="
|
||||||
|
},
|
||||||
"node_modules/file-entry-cache": {
|
"node_modules/file-entry-cache": {
|
||||||
"version": "6.0.1",
|
"version": "6.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
|
||||||
|
@ -4543,6 +4643,18 @@
|
||||||
"url": "https://github.com/sponsors/wooorm"
|
"url": "https://github.com/sponsors/wooorm"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/html2canvas": {
|
||||||
|
"version": "1.4.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.4.1.tgz",
|
||||||
|
"integrity": "sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==",
|
||||||
|
"dependencies": {
|
||||||
|
"css-line-break": "^2.1.0",
|
||||||
|
"text-segmentation": "^1.0.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=8.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/htmlparser2": {
|
"node_modules/htmlparser2": {
|
||||||
"version": "3.10.1",
|
"version": "3.10.1",
|
||||||
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz",
|
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz",
|
||||||
|
@ -4885,6 +4997,11 @@
|
||||||
"jiti": "bin/jiti.js"
|
"jiti": "bin/jiti.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/jquery": {
|
||||||
|
"version": "3.7.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
|
||||||
|
"integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="
|
||||||
|
},
|
||||||
"node_modules/js-base64": {
|
"node_modules/js-base64": {
|
||||||
"version": "2.6.4",
|
"version": "2.6.4",
|
||||||
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz",
|
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz",
|
||||||
|
@ -4909,6 +5026,11 @@
|
||||||
"js-yaml": "bin/js-yaml.js"
|
"js-yaml": "bin/js-yaml.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/jsbarcode": {
|
||||||
|
"version": "3.11.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/jsbarcode/-/jsbarcode-3.11.6.tgz",
|
||||||
|
"integrity": "sha512-G5TKGyKY1zJo0ZQKFM1IIMfy0nF2rs92BLlCz+cU4/TazIc4ZH+X1GYeDRt7TKjrYqmPfTjwTBkU/QnQlsYiuA=="
|
||||||
|
},
|
||||||
"node_modules/jsesc": {
|
"node_modules/jsesc": {
|
||||||
"version": "2.5.2",
|
"version": "2.5.2",
|
||||||
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
|
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
|
||||||
|
@ -4969,6 +5091,23 @@
|
||||||
"graceful-fs": "^4.1.6"
|
"graceful-fs": "^4.1.6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/jspdf": {
|
||||||
|
"version": "2.5.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/jspdf/-/jspdf-2.5.2.tgz",
|
||||||
|
"integrity": "sha512-myeX9c+p7znDWPk0eTrujCzNjT+CXdXyk7YmJq5nD5V7uLLKmSXnlQ/Jn/kuo3X09Op70Apm0rQSnFWyGK8uEQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/runtime": "^7.23.2",
|
||||||
|
"atob": "^2.1.2",
|
||||||
|
"btoa": "^1.2.1",
|
||||||
|
"fflate": "^0.8.1"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"canvg": "^3.0.6",
|
||||||
|
"core-js": "^3.6.0",
|
||||||
|
"dompurify": "^2.5.4",
|
||||||
|
"html2canvas": "^1.0.0-rc.5"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/keyv": {
|
"node_modules/keyv": {
|
||||||
"version": "4.5.4",
|
"version": "4.5.4",
|
||||||
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
|
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
|
||||||
|
@ -5630,6 +5769,11 @@
|
||||||
"url": "https://github.com/fb55/nth-check?sponsor=1"
|
"url": "https://github.com/fb55/nth-check?sponsor=1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/nzh": {
|
||||||
|
"version": "1.0.14",
|
||||||
|
"resolved": "https://registry.npmjs.org/nzh/-/nzh-1.0.14.tgz",
|
||||||
|
"integrity": "sha512-wKgaqCSZdrySvB4RWop5g+v6IDv2IErsT6rjq06Bg0yiT9hiHYZO12GMGx/xweGVLcO2lDjX5RqWD0S/Jy9z5Q=="
|
||||||
|
},
|
||||||
"node_modules/object-assign": {
|
"node_modules/object-assign": {
|
||||||
"version": "4.1.1",
|
"version": "4.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
||||||
|
@ -5936,6 +6080,11 @@
|
||||||
"integrity": "sha512-6Y6s0vT112P3jD8dGfuS6r+lpa0qqNrLyHPOwvXMnyNTQaYiwgau2DP3aNDsR13xqtGj7rrPo+jFUATpU6/s+g==",
|
"integrity": "sha512-6Y6s0vT112P3jD8dGfuS6r+lpa0qqNrLyHPOwvXMnyNTQaYiwgau2DP3aNDsR13xqtGj7rrPo+jFUATpU6/s+g==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/performance-now": {
|
||||||
|
"version": "2.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
|
||||||
|
"integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow=="
|
||||||
|
},
|
||||||
"node_modules/picocolors": {
|
"node_modules/picocolors": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
||||||
|
@ -6361,6 +6510,14 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"node_modules/raf": {
|
||||||
|
"version": "3.4.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
|
||||||
|
"integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
|
||||||
|
"dependencies": {
|
||||||
|
"performance-now": "^2.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/read-cache": {
|
"node_modules/read-cache": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
|
||||||
|
@ -6399,8 +6556,7 @@
|
||||||
"node_modules/regenerator-runtime": {
|
"node_modules/regenerator-runtime": {
|
||||||
"version": "0.13.11",
|
"version": "0.13.11",
|
||||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
|
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
|
||||||
"integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==",
|
"integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"node_modules/regex-not": {
|
"node_modules/regex-not": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
|
@ -6544,6 +6700,14 @@
|
||||||
"rgb": "bin/rgb"
|
"rgb": "bin/rgb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/rgbcolor": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/rgbcolor/-/rgbcolor-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.8.15"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/rimraf": {
|
"node_modules/rimraf": {
|
||||||
"version": "3.0.2",
|
"version": "3.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
||||||
|
@ -6913,6 +7077,32 @@
|
||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/socket.io-client": {
|
||||||
|
"version": "4.8.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.8.1.tgz",
|
||||||
|
"integrity": "sha512-hJVXfu3E28NmzGk8o1sHhN3om52tRvwYeidbj7xKy2eIIse5IoKX3USlS6Tqt3BHAtflLIkCQBkzVrEEfWUyYQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"@socket.io/component-emitter": "~3.1.0",
|
||||||
|
"debug": "~4.3.2",
|
||||||
|
"engine.io-client": "~6.6.1",
|
||||||
|
"socket.io-parser": "~4.2.4"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/socket.io-parser": {
|
||||||
|
"version": "4.2.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz",
|
||||||
|
"integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==",
|
||||||
|
"dependencies": {
|
||||||
|
"@socket.io/component-emitter": "~3.1.0",
|
||||||
|
"debug": "~4.3.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/sortablejs": {
|
"node_modules/sortablejs": {
|
||||||
"version": "1.14.0",
|
"version": "1.14.0",
|
||||||
"resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.14.0.tgz",
|
"resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.14.0.tgz",
|
||||||
|
@ -7043,6 +7233,14 @@
|
||||||
"deprecated": "Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility",
|
"deprecated": "Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/stackblur-canvas": {
|
||||||
|
"version": "2.7.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/stackblur-canvas/-/stackblur-canvas-2.7.0.tgz",
|
||||||
|
"integrity": "sha512-yf7OENo23AGJhBriGx0QivY5JP6Y1HbrrDI6WLt6C5auYZXlQrheoY8hD4ibekFKz1HOfE48Ww8kMWMnJD/zcQ==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.1.14"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/static-extend": {
|
"node_modules/static-extend": {
|
||||||
"version": "0.1.2",
|
"version": "0.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
|
||||||
|
@ -7559,6 +7757,14 @@
|
||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/svg-pathdata": {
|
||||||
|
"version": "6.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/svg-pathdata/-/svg-pathdata-6.0.3.tgz",
|
||||||
|
"integrity": "sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/svg-tags": {
|
"node_modules/svg-tags": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz",
|
||||||
|
@ -7662,6 +7868,14 @@
|
||||||
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
|
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/text-segmentation": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==",
|
||||||
|
"dependencies": {
|
||||||
|
"utrie": "^1.0.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/text-table": {
|
"node_modules/text-table": {
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
|
||||||
|
@ -8240,6 +8454,14 @@
|
||||||
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
|
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/utrie": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/utrie/-/utrie-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==",
|
||||||
|
"dependencies": {
|
||||||
|
"base64-arraybuffer": "^1.0.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/vary": {
|
"node_modules/vary": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
|
||||||
|
@ -8548,6 +8770,22 @@
|
||||||
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
|
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/vue-plugin-hiprint": {
|
||||||
|
"version": "0.0.56",
|
||||||
|
"resolved": "https://registry.npmjs.org/vue-plugin-hiprint/-/vue-plugin-hiprint-0.0.56.tgz",
|
||||||
|
"integrity": "sha512-YbJHH/MwdwIV1urL8V86ea+E8ixX1RYp/u/8/giPt4vfREUak9s2KYw4JFzM/Z6th9BCCpWTLPC+SOeoggxBbw==",
|
||||||
|
"dependencies": {
|
||||||
|
"@claviska/jquery-minicolors": "^2.3.6",
|
||||||
|
"bwip-js": "^4.0.0",
|
||||||
|
"canvg": "^3.0.10",
|
||||||
|
"html2canvas": "^1.4.1",
|
||||||
|
"jquery": "^3.6.0",
|
||||||
|
"jsbarcode": "^3.11.5",
|
||||||
|
"jspdf": "^2.5.1",
|
||||||
|
"nzh": "^1.0.8",
|
||||||
|
"socket.io-client": "^4.5.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/vue-project": {
|
"node_modules/vue-project": {
|
||||||
"resolved": "",
|
"resolved": "",
|
||||||
"link": true
|
"link": true
|
||||||
|
@ -8786,6 +9024,26 @@
|
||||||
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
|
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/ws": {
|
||||||
|
"version": "8.17.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz",
|
||||||
|
"integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"bufferutil": "^4.0.1",
|
||||||
|
"utf-8-validate": ">=5.0.2"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"bufferutil": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"utf-8-validate": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/xe-utils": {
|
"node_modules/xe-utils": {
|
||||||
"version": "3.5.31",
|
"version": "3.5.31",
|
||||||
"resolved": "https://registry.npmjs.org/xe-utils/-/xe-utils-3.5.31.tgz",
|
"resolved": "https://registry.npmjs.org/xe-utils/-/xe-utils-3.5.31.tgz",
|
||||||
|
@ -8800,6 +9058,14 @@
|
||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/xmlhttprequest-ssl": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-TEU+nJVUUnA4CYJFLvK5X9AOeH4KvDvhIfm0vV1GaQRtchnG0hgK5p8hw/xjv8cunWYCsiPCSDzObPyhEwq3KQ==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.4.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/xss": {
|
"node_modules/xss": {
|
||||||
"version": "1.0.14",
|
"version": "1.0.14",
|
||||||
"resolved": "https://registry.npmjs.org/xss/-/xss-1.0.14.tgz",
|
"resolved": "https://registry.npmjs.org/xss/-/xss-1.0.14.tgz",
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
"vue": "^3.2.37",
|
"vue": "^3.2.37",
|
||||||
"vue-clipboard3": "^2.0.0",
|
"vue-clipboard3": "^2.0.0",
|
||||||
"vue-echarts": "^6.2.3",
|
"vue-echarts": "^6.2.3",
|
||||||
|
"vue-plugin-hiprint": "^0.0.56",
|
||||||
"vue-project": "file:",
|
"vue-project": "file:",
|
||||||
"vue-router": "^4.0.16",
|
"vue-router": "^4.0.16",
|
||||||
"vue3-video-play": "^1.3.2",
|
"vue3-video-play": "^1.3.2",
|
||||||
|
|
|
@ -0,0 +1,352 @@
|
||||||
|
@media print {
|
||||||
|
body {
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@page {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper * {
|
||||||
|
box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box; /* Firefox */
|
||||||
|
-webkit-box-sizing: border-box; /* Safari */
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper *:focus {
|
||||||
|
outline: -webkit-focus-ring-color auto 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper {
|
||||||
|
position: relative;
|
||||||
|
padding: 0 0 0 0;
|
||||||
|
page-break-after: always;
|
||||||
|
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
||||||
|
-moz-user-select: none; /* Firefox */
|
||||||
|
user-select: none;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper .hiprint-printPaper-content {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 火狐浏览器打印 第一页过后 重叠问题 */
|
||||||
|
@-moz-document url-prefix() {
|
||||||
|
.hiprint-printPaper .hiprint-printPaper-content {
|
||||||
|
position: relative;
|
||||||
|
margin-top: 20px;
|
||||||
|
top: -20px
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper.design {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.hiprint-printTemplate .hiprint-printPanel {
|
||||||
|
page-break-after: always;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper, hiprint-printPanel {
|
||||||
|
box-sizing: border-box;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPanel .hiprint-printPaper:last-child {
|
||||||
|
page-break-after: avoid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printTemplate .hiprint-printPanel:last-child {
|
||||||
|
page-break-after: avoid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper .hideheaderLinetarget {
|
||||||
|
border-top: 0px dashed rgb(201, 190, 190) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper .hidefooterLinetarget {
|
||||||
|
border-top: 0px dashed rgb(201, 190, 190) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper.design {
|
||||||
|
border: 1px dashed rgba(170, 170, 170, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
.design .hiprint-printElement-table-content, .design .hiprint-printElement-longText-content {
|
||||||
|
overflow: hidden;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.design .resize-panel {
|
||||||
|
box-sizing: border-box;
|
||||||
|
border: 1px dotted;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printElement-text {
|
||||||
|
background-color: transparent;
|
||||||
|
background-repeat: repeat;
|
||||||
|
padding: 0 0 0 0;
|
||||||
|
border: 0.75pt none rgb(0, 0, 0);
|
||||||
|
direction: ltr;
|
||||||
|
font-family: 'SimSun';
|
||||||
|
font-size: 9pt;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
padding-bottom: 0pt;
|
||||||
|
padding-left: 0pt;
|
||||||
|
padding-right: 0pt;
|
||||||
|
padding-top: 0pt;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
line-height: 9.75pt;
|
||||||
|
box-sizing: border-box;
|
||||||
|
word-wrap: break-word;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
||||||
|
.design .hiprint-printElement-text-content {
|
||||||
|
border: 1px dashed rgb(206, 188, 188);
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printElement-longText {
|
||||||
|
background-color: transparent;
|
||||||
|
background-repeat: repeat;
|
||||||
|
border: 0.75pt none rgb(0, 0, 0);
|
||||||
|
direction: ltr;
|
||||||
|
font-family: 'SimSun';
|
||||||
|
font-size: 9pt;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
padding-bottom: 0pt;
|
||||||
|
padding-left: 0pt;
|
||||||
|
padding-right: 0pt;
|
||||||
|
padding-top: 0pt;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
line-height: 9.75pt;
|
||||||
|
box-sizing: border-box;
|
||||||
|
word-wrap: break-word;
|
||||||
|
word-break: break-all;
|
||||||
|
/*white-space: pre-wrap*/
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.hiprint-printElement-table {
|
||||||
|
background-color: transparent;
|
||||||
|
background-repeat: repeat;
|
||||||
|
color: rgb(0, 0, 0);
|
||||||
|
border-color: rgb(0, 0, 0);
|
||||||
|
border-style: none;
|
||||||
|
direction: ltr;
|
||||||
|
font-family: 'SimSun';
|
||||||
|
font-size: 9pt;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
padding-bottom: 0pt;
|
||||||
|
padding-left: 0pt;
|
||||||
|
padding-right: 0pt;
|
||||||
|
padding-top: 0pt;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
padding: 0 0 0 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
line-height: 9.75pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printElement-table thead {
|
||||||
|
background: #e8e8e8;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.hiprint-printElement-tableTarget {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printElement-tableTarget, .hiprint-printElement-tableTarget tr, .hiprint-printElement-tableTarget td {
|
||||||
|
border-color: rgb(0, 0, 0);
|
||||||
|
/*border-style: none;*/
|
||||||
|
/*border: 1px solid rgb(0, 0, 0);*/
|
||||||
|
font-weight: normal;
|
||||||
|
direction: ltr;
|
||||||
|
padding-bottom: 0pt;
|
||||||
|
padding-left: 4pt;
|
||||||
|
padding-right: 4pt;
|
||||||
|
padding-top: 0pt;
|
||||||
|
text-decoration: none;
|
||||||
|
vertical-align: middle;
|
||||||
|
box-sizing: border-box;
|
||||||
|
word-wrap: break-word;
|
||||||
|
word-break: break-all;
|
||||||
|
/*line-height: 9.75pt;
|
||||||
|
font-size: 9pt;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printElement-tableTarget-border-all {
|
||||||
|
border: 1px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-none {
|
||||||
|
border: 0px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-lr {
|
||||||
|
border-left: 1px solid;
|
||||||
|
border-right: 1px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-left {
|
||||||
|
border-left: 1px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-right {
|
||||||
|
border-right: 1px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-tb {
|
||||||
|
border-top: 1px solid;
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-top {
|
||||||
|
border-top: 1px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-bottom {
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printElement-tableTarget-border-td-none td {
|
||||||
|
border: 0px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-td-all td:not(:nth-last-child(-n+2)) {
|
||||||
|
border-right: 1px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-td-all td:not(last-child) {
|
||||||
|
border-right: 1px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-td-all td:last-child {
|
||||||
|
border-left: 1px solid;
|
||||||
|
}
|
||||||
|
.hiprint-printElement-tableTarget-border-td-all td:last-child:first-child {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*.hiprint-printElement-tableTarget tr,*/
|
||||||
|
.hiprint-printElement-tableTarget td {
|
||||||
|
height: 18pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper .hiprint-paperNumber {
|
||||||
|
font-size: 9pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.design .hiprint-printElement-table-handle {
|
||||||
|
position: absolute;
|
||||||
|
height: 21pt;
|
||||||
|
width: 21pt;
|
||||||
|
background: red;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printPaper .hiprint-paperNumber-disabled {
|
||||||
|
float: right !important;
|
||||||
|
right: 0 !important;
|
||||||
|
color: gainsboro !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printElement-vline, .hiprint-printElement-hline {
|
||||||
|
border: 0px none rgb(0, 0, 0);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printElement-vline {
|
||||||
|
border-left: 0.75pt solid #000;
|
||||||
|
border-right: 0px none rgb(0, 0, 0) !important;
|
||||||
|
border-bottom: 0px none rgb(0, 0, 0) !important;
|
||||||
|
border-top: 0px none rgb(0, 0, 0) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printElement-hline {
|
||||||
|
border-top: 0.75pt solid #000;
|
||||||
|
border-right: 0px none rgb(0, 0, 0) !important;
|
||||||
|
border-bottom: 0px none rgb(0, 0, 0) !important;
|
||||||
|
border-left: 0px none rgb(0, 0, 0) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-printElement-oval, .hiprint-printElement-rect {
|
||||||
|
border: 0.75pt solid #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-text-content-middle {
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-text-content-middle > div {
|
||||||
|
display: grid;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-text-content-bottom {
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-text-content-bottom > div {
|
||||||
|
display: grid;
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-text-content-wrap {
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-text-content-wrap .hiprint-text-content-wrap-nowrap {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-text-content-wrap .hiprint-text-content-wrap-clip {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: clip;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-text-content-wrap .hiprint-text-content-wrap-ellipsis {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*hi-grid-row */
|
||||||
|
.hi-grid-row {
|
||||||
|
position: relative;
|
||||||
|
height: auto;
|
||||||
|
margin-right: 0;
|
||||||
|
margin-left: 0;
|
||||||
|
zoom: 1;
|
||||||
|
display: block;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hi-grid-row::after, .hi-grid-row::before {
|
||||||
|
display: table;
|
||||||
|
content: '';
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hi-grid-col {
|
||||||
|
display: block;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-grid-row {
|
||||||
|
margin-left: -0pt;
|
||||||
|
margin-right: -0pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tableGridColumnsGutterRow {
|
||||||
|
padding-left: 0pt;
|
||||||
|
padding-right: 0pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiprint-gridColumnsFooter {
|
||||||
|
text-align: left;
|
||||||
|
clear: both;
|
||||||
|
}
|
|
@ -0,0 +1,785 @@
|
||||||
|
export const name = '自定义表格'
|
||||||
|
export const desc = '通过HTML元素实现自定义表格'
|
||||||
|
export const author = '54xavier'
|
||||||
|
export const link = 'https://ccsimple.gitee.io/vue-plugin-hiprint/'
|
||||||
|
// url 或者 base64 或者 require('../../../assets/logo.png')
|
||||||
|
export const preview = '/static/template8.png'
|
||||||
|
export const printData = {
|
||||||
|
department: '技术部',
|
||||||
|
position: '前端开发工程师',
|
||||||
|
form_date: '2024-08-13',
|
||||||
|
pInfo: {
|
||||||
|
name: '张伟',
|
||||||
|
gender: '男',
|
||||||
|
place_of_birth: '江苏省南京市',
|
||||||
|
ethnicity: '汉族',
|
||||||
|
education_level: '本科',
|
||||||
|
major: '计算机科学与技术',
|
||||||
|
height: '178cm',
|
||||||
|
weight: '70kg',
|
||||||
|
birth_date: '1992-08-15',
|
||||||
|
political_affiliation: '中共党员',
|
||||||
|
graduation_year: '2015',
|
||||||
|
blood_type: 'O型',
|
||||||
|
address: '北京市海淀区中关村东路10号',
|
||||||
|
email: 'zhangwei@example.com',
|
||||||
|
phone: '138-1234-5678',
|
||||||
|
expected_salary: '20,000元/月',
|
||||||
|
availability: '2024-09-01',
|
||||||
|
mandarin_level: '一级甲等',
|
||||||
|
foreign_language_level: '英语六级'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export const json = {
|
||||||
|
panels: [
|
||||||
|
{
|
||||||
|
index: 0,
|
||||||
|
name: 1,
|
||||||
|
height: 296.6,
|
||||||
|
width: 210,
|
||||||
|
paperHeader: 0,
|
||||||
|
paperFooter: 840.7559055118112,
|
||||||
|
printElements: [
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 174,
|
||||||
|
top: 12,
|
||||||
|
height: 17,
|
||||||
|
width: 260,
|
||||||
|
testData: '供 投 里 海 农 特 产 品 下 单 清 单',
|
||||||
|
fontSize: 16.5,
|
||||||
|
field: 'headera',
|
||||||
|
fontWeight: '700',
|
||||||
|
textAlign: 'center',
|
||||||
|
hideTitle: true,
|
||||||
|
title: '供 投 里 海 农 特 产 品 下 单 清 单',
|
||||||
|
qid: 'headera',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 434,
|
||||||
|
bottom: 28.25,
|
||||||
|
vCenter: 304,
|
||||||
|
hCenter: 19.75
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '单据表头',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 198,
|
||||||
|
top: 37.5,
|
||||||
|
height: 9.75,
|
||||||
|
width: 200,
|
||||||
|
title: '收货地址',
|
||||||
|
field: 'address',
|
||||||
|
testData: '某某区某某镇某某村某某小组某某地名',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 296.49609375,
|
||||||
|
bottom: 47.49609375,
|
||||||
|
vCenter: 251.49609375,
|
||||||
|
hCenter: 42.62109375,
|
||||||
|
qid: 'phone_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 96,
|
||||||
|
top: 37.5,
|
||||||
|
height: 9.75,
|
||||||
|
width: 90,
|
||||||
|
title: '电话',
|
||||||
|
field: 'phone',
|
||||||
|
testData: '18982406440',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 185.25,
|
||||||
|
bottom: 47.25,
|
||||||
|
vCenter: 140.25,
|
||||||
|
hCenter: 42.375,
|
||||||
|
qid: 'nickname_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 405,
|
||||||
|
top: 37.5,
|
||||||
|
height: 9.75,
|
||||||
|
width: 140,
|
||||||
|
title: '订单号',
|
||||||
|
field: 'order_id',
|
||||||
|
testData: 'YG1730278258811950',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 87.49609375,
|
||||||
|
bottom: 67.74609375,
|
||||||
|
vCenter: 52.49609375,
|
||||||
|
hCenter: 62.87109375,
|
||||||
|
qid: 'nickname_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 18,
|
||||||
|
top: 37.5,
|
||||||
|
height: 9.75,
|
||||||
|
width: 70,
|
||||||
|
title: '姓名',
|
||||||
|
field: 'nickname',
|
||||||
|
testData: '张三',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 97.25,
|
||||||
|
bottom: 47.25,
|
||||||
|
vCenter: 57.25,
|
||||||
|
hCenter: 42.375
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 198.5,
|
||||||
|
top: 54.25,
|
||||||
|
height: 9.75,
|
||||||
|
width: 79,
|
||||||
|
title: '采购事由',
|
||||||
|
field: 'purpose',
|
||||||
|
testData: '70寿宴',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 381.49609375,
|
||||||
|
bottom: 66.99609375,
|
||||||
|
vCenter: 346.49609375,
|
||||||
|
hCenter: 62.12109375,
|
||||||
|
qid: 'nickname_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 95,
|
||||||
|
top: 55,
|
||||||
|
height: 9.75,
|
||||||
|
width: 90,
|
||||||
|
title: '电话',
|
||||||
|
field: 'chef_phone',
|
||||||
|
testData: '18982406440',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 184.74609375,
|
||||||
|
bottom: 91.74609375,
|
||||||
|
vCenter: 139.74609375,
|
||||||
|
hCenter: 86.87109375,
|
||||||
|
qid: 'phone_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 17.5,
|
||||||
|
top: 55,
|
||||||
|
height: 9.75,
|
||||||
|
width: 70,
|
||||||
|
title: '厨师',
|
||||||
|
field: 'chef',
|
||||||
|
testData: '张三',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 87.49609375,
|
||||||
|
bottom: 88.74609375,
|
||||||
|
vCenter: 52.49609375,
|
||||||
|
hCenter: 83.87109375,
|
||||||
|
qid: 'nickname_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 288,
|
||||||
|
top: 56,
|
||||||
|
height: 10,
|
||||||
|
width: 45,
|
||||||
|
title: '桌数',
|
||||||
|
field: 'tables',
|
||||||
|
testData: '70',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 475.24609375,
|
||||||
|
bottom: 68.49609375,
|
||||||
|
vCenter: 435.74609375,
|
||||||
|
hCenter: 63.62109375,
|
||||||
|
qid: 'purpose_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 341,
|
||||||
|
top: 56,
|
||||||
|
height: 10,
|
||||||
|
width: 60,
|
||||||
|
title: '办事时间',
|
||||||
|
field: 'days',
|
||||||
|
testData: '3',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 491.49609375,
|
||||||
|
bottom: 67.74609375,
|
||||||
|
vCenter: 468.99609375,
|
||||||
|
hCenter: 62.87109375,
|
||||||
|
qid: 'tables_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 197.5,
|
||||||
|
top: 75,
|
||||||
|
height: 9.75,
|
||||||
|
width: 140,
|
||||||
|
title: '到货时间',
|
||||||
|
field: 'arrival_time',
|
||||||
|
testData: '2024-10-15 14:30:20',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 548.7478713989258,
|
||||||
|
bottom: 90.74787139892578,
|
||||||
|
vCenter: 478.7478713989258,
|
||||||
|
hCenter: 85.87287139892578,
|
||||||
|
qid: 'create_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 15,
|
||||||
|
top: 75,
|
||||||
|
height: 9.75,
|
||||||
|
width: 140,
|
||||||
|
title: '下单时间',
|
||||||
|
field: 'create_time',
|
||||||
|
testData: '2024-10-15 14:30:20',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
right: 182.24291229248047,
|
||||||
|
bottom: 90.99291229248047,
|
||||||
|
vCenter: 112.24291229248047,
|
||||||
|
hCenter: 86.11791229248047,
|
||||||
|
qid: 'phone_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '文本',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 18,
|
||||||
|
top: 108,
|
||||||
|
height: 54,
|
||||||
|
width: 558,
|
||||||
|
tableFooterRepeat: 'no',
|
||||||
|
fields: [
|
||||||
|
{
|
||||||
|
text: '名称',
|
||||||
|
field: 'NAME'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '数量',
|
||||||
|
field: 'SL'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '规格',
|
||||||
|
field: 'GG'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '条码',
|
||||||
|
field: 'TM'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '单价',
|
||||||
|
field: 'DJ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '金额',
|
||||||
|
field: 'JE'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
field: 'table',
|
||||||
|
tableHeaderRepeat: 'first',
|
||||||
|
footerFormatter:
|
||||||
|
'function(t,e,n,i){return n&&n["totalCap"]?\'<td style="padding:0 10px" colspan="100">\'.concat("应收金额大写: "+n["totalCap"],"</td>"):\'<td style="padding:0 10px" colspan="100">应收金额大写: </td>\'}',
|
||||||
|
rowsColumnsMerge:
|
||||||
|
'function(t,e,n){return 0==n?[1,t.INDEX%2==1?2:1]:n>0&&n<2?[t.INDEX%2==1?0:1,1]:[t.INDEX%2==1?2:0,1]}',
|
||||||
|
qid: 'table',
|
||||||
|
right: 568.75,
|
||||||
|
bottom: 161.25,
|
||||||
|
vCenter: 293.75,
|
||||||
|
hCenter: 134.25,
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
columns: [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
width: 28.04091373500173,
|
||||||
|
title: '编号',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 31.50798168980468,
|
||||||
|
title: '类别',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 92.52725057431623,
|
||||||
|
title: '名称',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 32.49120839160852,
|
||||||
|
title: '毛重',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 32.53381779989224,
|
||||||
|
title: '名称',
|
||||||
|
field: 'NAME',
|
||||||
|
checked: true,
|
||||||
|
columnId: 'NAME',
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 29.42867753045773,
|
||||||
|
title: '单位',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 31.50297331923548,
|
||||||
|
title: '单价',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 28.61867322166049,
|
||||||
|
title: '数量',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 33.35318875457845,
|
||||||
|
title: '金额',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 29.468112230977603,
|
||||||
|
title: '包装',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 31.164499506790204,
|
||||||
|
title: '押金',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 50.09380340779709,
|
||||||
|
title: '售后',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 47.030224080099075,
|
||||||
|
title: '损耗',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 32.08816604575006,
|
||||||
|
title: '产地',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 28.15050971203051,
|
||||||
|
title: '备注',
|
||||||
|
checked: true,
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
tableQRCodeLevel: 0,
|
||||||
|
tableSummaryTitle: true,
|
||||||
|
tableSummary: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 80,
|
||||||
|
title: '数量',
|
||||||
|
field: 'SL',
|
||||||
|
checked: false,
|
||||||
|
columnId: 'SL',
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
align: 'center'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 80,
|
||||||
|
title: '规格',
|
||||||
|
field: 'GG',
|
||||||
|
checked: false,
|
||||||
|
columnId: 'GG',
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
align: 'center'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 100,
|
||||||
|
title: '条码',
|
||||||
|
field: 'TM',
|
||||||
|
checked: false,
|
||||||
|
columnId: 'TM',
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
align: 'center'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 100,
|
||||||
|
title: '单价',
|
||||||
|
field: 'DJ',
|
||||||
|
checked: false,
|
||||||
|
columnId: 'DJ',
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
align: 'center'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
width: 100,
|
||||||
|
title: '金额',
|
||||||
|
field: 'JE',
|
||||||
|
checked: false,
|
||||||
|
columnId: 'JE',
|
||||||
|
fixed: false,
|
||||||
|
rowspan: 1,
|
||||||
|
colspan: 1,
|
||||||
|
align: 'center'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '订单数据',
|
||||||
|
type: 'table',
|
||||||
|
editable: true,
|
||||||
|
columnDisplayEditable: true,
|
||||||
|
columnDisplayIndexEditable: true,
|
||||||
|
columnTitleEditable: true,
|
||||||
|
columnResizable: true,
|
||||||
|
columnAlignEditable: true,
|
||||||
|
isEnableEditField: true,
|
||||||
|
isEnableContextMenu: true,
|
||||||
|
isEnableInsertRow: true,
|
||||||
|
isEnableDeleteRow: true,
|
||||||
|
isEnableInsertColumn: true,
|
||||||
|
isEnableDeleteColumn: true,
|
||||||
|
isEnableMergeCell: true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 87.5,
|
||||||
|
top: 172.5,
|
||||||
|
height: 9.75,
|
||||||
|
width: 110,
|
||||||
|
title: '采购预收金额',
|
||||||
|
right: 197.4921875,
|
||||||
|
bottom: 182.25,
|
||||||
|
vCenter: 142.4921875,
|
||||||
|
hCenter: 177.375,
|
||||||
|
field: 'payment_amount',
|
||||||
|
testData: '100.3',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
qid: 'count_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '这是更新后的元素',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 292.5,
|
||||||
|
top: 172.5,
|
||||||
|
height: 9.75,
|
||||||
|
width: 90,
|
||||||
|
title: '合计预收',
|
||||||
|
right: 382.5,
|
||||||
|
bottom: 181.9921875,
|
||||||
|
vCenter: 337.5,
|
||||||
|
hCenter: 177.1171875,
|
||||||
|
field: 'pay_price',
|
||||||
|
testData: '100.3',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
qid: 'deposit_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '这是更新后的元素',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 207.5,
|
||||||
|
top: 172.5,
|
||||||
|
height: 9.75,
|
||||||
|
width: 70,
|
||||||
|
title: '押金',
|
||||||
|
right: 311,
|
||||||
|
bottom: 180.99609375,
|
||||||
|
vCenter: 256,
|
||||||
|
hCenter: 176.12109375,
|
||||||
|
field: 'deposit',
|
||||||
|
testData: '100.3',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
qid: 'payment_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '这是更新后的元素',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 390,
|
||||||
|
top: 172.5,
|
||||||
|
height: 9.75,
|
||||||
|
width: 90,
|
||||||
|
title: '接单员',
|
||||||
|
right: 480.24609375,
|
||||||
|
bottom: 184.74609375,
|
||||||
|
vCenter: 435.24609375,
|
||||||
|
hCenter: 179.87109375,
|
||||||
|
field: 'admin_name',
|
||||||
|
testData: '只做',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
qid: 'pay_1'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '这是更新后的元素',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 17.5,
|
||||||
|
top: 172.5,
|
||||||
|
height: 9.75,
|
||||||
|
width: 50,
|
||||||
|
title: '累计',
|
||||||
|
right: 137.25,
|
||||||
|
bottom: 183,
|
||||||
|
vCenter: 77.25,
|
||||||
|
hCenter: 178.125,
|
||||||
|
field: 'count',
|
||||||
|
testData: '10',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '这是更新后的元素',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 487.5,
|
||||||
|
top: 172.5,
|
||||||
|
height: 9.75,
|
||||||
|
width: 90,
|
||||||
|
title: '分单员',
|
||||||
|
right: 576.99609375,
|
||||||
|
bottom: 181.74609375,
|
||||||
|
vCenter: 531.99609375,
|
||||||
|
hCenter: 176.87109375,
|
||||||
|
field: 'pay_price',
|
||||||
|
testData: '里斯',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0,
|
||||||
|
qid: 'pay_2'
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '这是更新后的元素',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
options: {
|
||||||
|
left: 17.5,
|
||||||
|
top: 190,
|
||||||
|
height: 9.75,
|
||||||
|
width: 360,
|
||||||
|
title: '备注',
|
||||||
|
field: 'mark',
|
||||||
|
testData: '数量金额最终以实际收货金额结算,多退少补。押金退框无利息退还。',
|
||||||
|
coordinateSync: false,
|
||||||
|
widthHeightSync: false,
|
||||||
|
qrCodeLevel: 0
|
||||||
|
},
|
||||||
|
printElementType: {
|
||||||
|
title: '这是更新后的元素',
|
||||||
|
type: 'text'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
paperNumberLeft: 565,
|
||||||
|
paperNumberTop: 396,
|
||||||
|
paperNumberContinue: true,
|
||||||
|
watermarkOptions: {},
|
||||||
|
panelLayoutOptions: {}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
export default {
|
||||||
|
preview: preview,
|
||||||
|
name: name,
|
||||||
|
desc: desc,
|
||||||
|
author: author,
|
||||||
|
link: link,
|
||||||
|
printData: printData,
|
||||||
|
json: json
|
||||||
|
}
|
Loading…
Reference in New Issue