@utogether/udp-core 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.ts +90 -0
- package/build/plugins.ts +26 -0
- package/dist/403-B1R-4vXw.js +64 -0
- package/dist/404-fXPl8csw.js +64 -0
- package/dist/500-eI5842YB.js +66 -0
- package/dist/AuthorityInfo-CfVH6PaB.js +4 -0
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-DbK-f8jH.js +102 -0
- package/dist/AuthorityPanel-BaLMwMgW.js +4 -0
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-C_bkqLD9.js +107 -0
- package/dist/Company-CYC9Avfz.js +25 -0
- package/dist/CompanyPanel-B4MzoqN_.js +206 -0
- package/dist/DataSet-DT-rGICv.js +147 -0
- package/dist/Department-B4BNSiYx.js +25 -0
- package/dist/DepartmentPanel-zJO89L2O.js +224 -0
- package/dist/DesignPanel-S8P0J97f.js +4 -0
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-DW-_Vqrr.js +1015 -0
- package/dist/DictView-bIS5-rK-.js +95 -0
- package/dist/InvOrganization-MuM2jtsG.js +66 -0
- package/dist/Org-kXHSjsgJ.js +35 -0
- package/dist/Preview-CRyiwUIR.js +48 -0
- package/dist/ReportDefine-WZYIx8Sm.js +10 -0
- package/dist/ReportDesign-D-7GKgpb.js +165 -0
- package/dist/ReportQuery-BIIJny6w.js +75 -0
- package/dist/ReportQueryFrom-OoUl7N2O.js +4 -0
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-B878fgj8.js +177 -0
- package/dist/ReportTemplate-Cfeq9US-.js +161 -0
- package/dist/Role-BwTV2QMH.js +25 -0
- package/dist/RoleAssign-De1JjOun.js +26 -0
- package/dist/RolePanel-E3RcdByM.js +4 -0
- package/dist/RolePanel-pUBXsqCM.js +4 -0
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-B2pQwHb0.js +148 -0
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CTIad9_Q.js +126 -0
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-vMR1fBi0.js +100 -0
- package/dist/Staff-Czm7A8vI.js +25 -0
- package/dist/StaffInfo-DJzvBuxy.js +4 -0
- package/dist/StaffInfo.vue_vue_type_style_index_0_lang-DMTL7KCh.js +108 -0
- package/dist/StaffPanel-CHk60LEz.js +4 -0
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-iPKLb5wG.js +114 -0
- package/dist/SysUser-BGwbttRn.js +15 -0
- package/dist/SysUserPanel-BCbKoLKt.js +4 -0
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-0QUjnhjF.js +289 -0
- package/dist/SystemMenu-BkqZSDKl.js +151 -0
- package/dist/UserInfo-BsyAcT2d.js +4 -0
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-D0-KDxAh.js +158 -0
- package/dist/await-to-js.es5-BtRbN2QH.js +10 -0
- package/dist/childView-CF83nhxb.js +4 -0
- package/dist/childView-CyuLTUqC.js +4 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-CNSgGda3.js +187 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-Cch4lE-i.js +144 -0
- package/dist/code-rule-Bz-gnktN.js +147 -0
- package/dist/core.es.js +13 -0
- package/dist/core.umd.js +173 -0
- package/dist/cron-task-CIifSUdW.js +135 -0
- package/dist/frameView-_d2mqjjQ.js +43 -0
- package/dist/img/l_img.svg +1 -0
- package/dist/img/minicolors.png +0 -0
- package/dist/img/v_img.svg +1 -0
- package/dist/index-BKIw8tSn.js +9195 -0
- package/dist/layoutView-DLKVepB8.js +3317 -0
- package/dist/log-in-e7D5Ss1P.js +110 -0
- package/dist/log-out--RRncZhN.js +120 -0
- package/dist/login-LREiDfFU.js +251 -0
- package/dist/login-log-CvVnyGi3.js +68 -0
- package/dist/lov-view-DDrIVILB.js +97 -0
- package/dist/menuInfo-B1FUV-Sk.js +4 -0
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-Cnk3vdtD.js +338 -0
- package/dist/pda-app-CRhVGijN.js +2209 -0
- package/dist/redirect-DiaNDu8F.js +15 -0
- package/dist/resource-BCwx9fEv.js +97 -0
- package/dist/su-welcome-189A7N4r.js +526 -0
- package/dist/sys-config-BZ3sejow.js +277 -0
- package/dist/udp-core.css +9 -0
- package/dist/utogether-r08LNiIZ.js +182 -0
- package/index.ts +36 -0
- package/package.json +16 -0
- package/public/img/l_img.svg +1 -0
- package/public/img/minicolors.png +0 -0
- package/public/img/v_img.svg +1 -0
- package/src/App.vue +70 -0
- package/src/api/http.ts +50 -0
- package/src/api/index.ts +31 -0
- package/src/api/mock.ts +20 -0
- package/src/api/user.ts +43 -0
- package/src/assets/images/avatars.jpg +0 -0
- package/src/assets/images/empty.png +0 -0
- package/src/assets/images/login.png +0 -0
- package/src/assets/images/logo.png +0 -0
- package/src/assets/images/mask-text.jpg +0 -0
- package/src/assets/images/minicolors.png +0 -0
- package/src/assets/images/utogether.png +0 -0
- package/src/assets/images/welcome.png +0 -0
- package/src/assets/status/403.svg +1 -0
- package/src/assets/status/404.svg +1 -0
- package/src/assets/status/500.svg +1 -0
- package/src/assets/svg/back_top.svg +1 -0
- package/src/assets/svg/bg.svg +1 -0
- package/src/assets/svg/close.svg +1 -0
- package/src/assets/svg/close_all.svg +1 -0
- package/src/assets/svg/close_left.svg +1 -0
- package/src/assets/svg/close_other.svg +1 -0
- package/src/assets/svg/close_right.svg +1 -0
- package/src/assets/svg/dark.svg +1 -0
- package/src/assets/svg/day.svg +1 -0
- package/src/assets/svg/enter_outlined.svg +1 -0
- package/src/assets/svg/exit_screen.svg +1 -0
- package/src/assets/svg/full_screen.svg +1 -0
- package/src/assets/svg/globalization.svg +1 -0
- package/src/assets/svg/loading.svg +17 -0
- package/src/assets/svg/mdi_keyboard_esc.svg +1 -0
- package/src/assets/svg/refresh.svg +1 -0
- package/src/assets/svg/system.svg +1 -0
- package/src/components/ReCountTo/README.md +2 -0
- package/src/components/ReCountTo/index.ts +18 -0
- package/src/components/ReCountTo/src/normal/index.tsx +165 -0
- package/src/components/ReCountTo/src/normal/props.ts +37 -0
- package/src/components/ReCountTo/src/rebound/index.tsx +67 -0
- package/src/components/ReCountTo/src/rebound/props.ts +14 -0
- package/src/components/ReCountTo/src/rebound/rebound.css +77 -0
- package/src/components/ReCropper/index.ts +14 -0
- package/src/components/ReCropper/src/index.tsx +141 -0
- package/src/components/ReFlicker/index.css +39 -0
- package/src/components/ReFlicker/index.ts +50 -0
- package/src/components/ReFlop/index.ts +14 -0
- package/src/components/ReFlop/src/Filpper.tsx +99 -0
- package/src/components/ReFlop/src/filpper.css +184 -0
- package/src/components/ReFlop/src/index.vue +126 -0
- package/src/components/ReFlowChart/index.ts +24 -0
- package/src/components/ReFlowChart/src/Control.vue +139 -0
- package/src/components/ReFlowChart/src/DataDialog.vue +12 -0
- package/src/components/ReFlowChart/src/NodePanel.vue +151 -0
- package/src/components/ReFlowChart/src/adpterForTurbo.ts +160 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.css +49 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.eot +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.js +61 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.json +58 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.svg +47 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.ttf +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff2 +0 -0
- package/src/components/ReFlowChart/src/config.ts +62 -0
- package/src/components/ReIcon/index.ts +12 -0
- package/src/components/ReIcon/src/Icon.vue +81 -0
- package/src/components/ReIcon/src/hooks.ts +63 -0
- package/src/components/ReIcon/src/iconfont.ts +45 -0
- package/src/components/ReIcon/src/iconifyIconOffline.ts +36 -0
- package/src/components/ReIcon/src/iconifyIconOnline.ts +28 -0
- package/src/components/ReIcon/src/offlineIcon.ts +64 -0
- package/src/components/ReIcon/src/types.ts +20 -0
- package/src/components/ReSplitPane/index.css +49 -0
- package/src/components/ReSplitPane/index.tsx +119 -0
- package/src/components/ReSplitPane/resizer.css +45 -0
- package/src/components/ReSplitPane/resizer.tsx +30 -0
- package/src/components/SuCharts/index.ts +36 -0
- package/src/components/SuCharts/src/EchartBar.vue +134 -0
- package/src/components/SuCharts/src/UserInfo.vue +78 -0
- package/src/components/SuCharts/src/echart-line.vue +85 -0
- package/src/components/SuCharts/src/echart-pie.vue +95 -0
- package/src/components/SuCommon/card/components/Card.vue +148 -0
- package/src/components/SuCommon/card/components/DialogForm.vue +127 -0
- package/src/components/SuCommon/card/index.vue +142 -0
- package/src/components/SuCommon/icon-select/index.vue +241 -0
- package/src/components/SuCommon/table/index.vue +208 -0
- package/src/components/SuCommon/utils/index.ts +103 -0
- package/src/components/SuCommon/utils/slot.tsx +50 -0
- package/src/components/SuFloatButton/index.vue +159 -0
- package/src/components/SuQrcode/index.ts +14 -0
- package/src/components/SuQrcode/src/index.scss +9 -0
- package/src/components/SuQrcode/src/index.tsx +236 -0
- package/src/components/SuScrollTree/ScrollPanel.vue +175 -0
- package/src/components/SuTable/SuTable.vue +334 -0
- package/src/components/SuTypeit/index.ts +51 -0
- package/src/config/index.ts +35 -0
- package/src/contant/index.ts +20 -0
- package/src/directives/elResizeDetector/index.ts +33 -0
- package/src/directives/index.ts +11 -0
- package/src/directives/permission/index.ts +29 -0
- package/src/layout/components/lay-chrome/index.vue +30 -0
- package/src/layout/components/lay-content/index.vue +143 -0
- package/src/layout/components/lay-navbar/index.vue +237 -0
- package/src/layout/components/lay-notice/data.ts +59 -0
- package/src/layout/components/lay-notice/index.vue +83 -0
- package/src/layout/components/lay-notice/noticeItem.vue +160 -0
- package/src/layout/components/lay-notice/noticeList.vue +19 -0
- package/src/layout/components/lay-panel/index.vue +150 -0
- package/src/layout/components/lay-search/components/SearchFooter.vue +67 -0
- package/src/layout/components/lay-search/components/SearchModal.vue +189 -0
- package/src/layout/components/lay-search/components/SearchResult.vue +132 -0
- package/src/layout/components/lay-search/components/index.ts +10 -0
- package/src/layout/components/lay-search/index.vue +25 -0
- package/src/layout/components/lay-select-org/index.vue +69 -0
- package/src/layout/components/lay-setting/index.vue +510 -0
- package/src/layout/components/lay-sidebar/breadCrumb.vue +131 -0
- package/src/layout/components/lay-sidebar/extraIcon.vue +25 -0
- package/src/layout/components/lay-sidebar/hamBurger.vue +72 -0
- package/src/layout/components/lay-sidebar/horizontal.vue +191 -0
- package/src/layout/components/lay-sidebar/mixNav.vue +258 -0
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +98 -0
- package/src/layout/components/lay-sidebar/sidebarItem.vue +205 -0
- package/src/layout/components/lay-sidebar/vertical.vue +94 -0
- package/src/layout/components/lay-tag/index.scss +375 -0
- package/src/layout/components/lay-tag/index.vue +625 -0
- package/src/layout/frameView.vue +71 -0
- package/src/layout/hooks/useBoolean.ts +33 -0
- package/src/layout/hooks/useDataThemeChange.ts +142 -0
- package/src/layout/hooks/useLayout.ts +65 -0
- package/src/layout/hooks/useNav.ts +173 -0
- package/src/layout/hooks/useTag.ts +233 -0
- package/src/layout/hooks/useTranslationLang.ts +51 -0
- package/src/layout/layoutView.vue +215 -0
- package/src/layout/redirect.vue +30 -0
- package/src/layout/routerView/parent.vue +23 -0
- package/src/layout/types.ts +92 -0
- package/src/main.ts +108 -0
- package/src/plugins/echarts/index.ts +58 -0
- package/src/plugins/echarts/theme.json +394 -0
- package/src/plugins/i18n/en.ts +289 -0
- package/src/plugins/i18n/index.ts +76 -0
- package/src/plugins/i18n/module/u-report.ts +64 -0
- package/src/plugins/i18n/module/u-workflow.ts +71 -0
- package/src/plugins/i18n/module/umsg.ts +28 -0
- package/src/plugins/i18n/zh.ts +337 -0
- package/src/plugins/vxe-table/index.ts +46 -0
- package/src/plugins/vxe-table/render.tsx +397 -0
- package/src/router/createComponent.tsx +25 -0
- package/src/router/index.ts +183 -0
- package/src/router/modules/error.ts +32 -0
- package/src/router/modules/home.ts +32 -0
- package/src/router/modules/nested.ts +93 -0
- package/src/router/modules/remaining.ts +83 -0
- package/src/router/modules/tabs.ts +55 -0
- package/src/router/utils.ts +377 -0
- package/src/store/index.ts +9 -0
- package/src/store/modules/app.ts +69 -0
- package/src/store/modules/epTheme.ts +49 -0
- package/src/store/modules/multiTags.ts +109 -0
- package/src/store/modules/permission.ts +103 -0
- package/src/store/modules/settings.ts +40 -0
- package/src/store/modules/system.ts +180 -0
- package/src/store/modules/types.ts +49 -0
- package/src/style/button.scss +78 -0
- package/src/style/clear-mixin.scss +28 -0
- package/src/style/dark.scss +218 -0
- package/src/style/element-plus.scss +206 -0
- package/src/style/index.scss +76 -0
- package/src/style/login.css +336 -0
- package/src/style/login2.css +106 -0
- package/src/style/print-lock.css +375 -0
- package/src/style/reset.scss +272 -0
- package/src/style/sidebar.scss +770 -0
- package/src/style/suprint.css +985 -0
- package/src/style/tailwind.css +68 -0
- package/src/style/theme.scss +143 -0
- package/src/style/transition.scss +42 -0
- package/src/style/vxetable.scss +256 -0
- package/src/utils/authority/index.ts +29 -0
- package/src/utils/browers.ts +59 -0
- package/src/utils/dataFormat/index.ts +223 -0
- package/src/utils/http/index.ts +297 -0
- package/src/utils/http/types.d.ts +46 -0
- package/src/utils/index.ts +47 -0
- package/src/utils/lifecycle.ts +20 -0
- package/src/utils/mitt.ts +19 -0
- package/src/utils/propTypes.ts +47 -0
- package/src/utils/storage/index.ts +51 -0
- package/src/views/components/contextmenu/basic.vue +74 -0
- package/src/views/components/contextmenu/context-menu.vue +40 -0
- package/src/views/components/contextmenu/menuDynamic.vue +99 -0
- package/src/views/components/contextmenu/menuGroup.vue +71 -0
- package/src/views/components/count-to/index.vue +43 -0
- package/src/views/components/cropping/index.vue +59 -0
- package/src/views/components/cropping/picture.jpeg +0 -0
- package/src/views/components/split-pane/index.vue +82 -0
- package/src/views/components/video/index.vue +57 -0
- package/src/views/error/403.vue +50 -0
- package/src/views/error/404.vue +50 -0
- package/src/views/error/500.vue +52 -0
- package/src/views/login/login-view.vue +314 -0
- package/src/views/login/utils/motion.ts +47 -0
- package/src/views/login/utils/rule.ts +70 -0
- package/src/views/login/utils/verifyCode.ts +52 -0
- package/src/views/organization/company/Company.vue +56 -0
- package/src/views/organization/company/CompanyPanel.vue +259 -0
- package/src/views/organization/department/Department.vue +58 -0
- package/src/views/organization/department/DepartmentPanel.vue +283 -0
- package/src/views/organization/inv-org/InvOrganization.vue +53 -0
- package/src/views/organization/org/Org.vue +43 -0
- package/src/views/organization/staff/Staff.vue +58 -0
- package/src/views/organization/staff/StaffInfo.vue +163 -0
- package/src/views/organization/staff/StaffPanel.vue +144 -0
- package/src/views/system/cron/cron-task.vue +157 -0
- package/src/views/system/menu/AuthorityPanel.vue +140 -0
- package/src/views/system/menu/SystemMenu.vue +191 -0
- package/src/views/system/menu/menuInfo.vue +368 -0
- package/src/views/system/role/AuthorityInfo.vue +147 -0
- package/src/views/system/role/Role.vue +57 -0
- package/src/views/system/role/RolePanel.vue +191 -0
- package/src/views/system/role/UserInfo.vue +193 -0
- package/src/views/system/role-assign/RoleAssign.vue +57 -0
- package/src/views/system/role-assign/RolePanel.vue +136 -0
- package/src/views/system/sys/sys-config.vue +291 -0
- package/src/views/system/sysUser/SysUser.vue +45 -0
- package/src/views/system/sysUser/SysUserPanel.vue +278 -0
- package/src/views/uapp/pda/pda-app.vue +176 -0
- package/src/views/udev/coderule/code-rule.vue +121 -0
- package/src/views/udev/dict/DictView.vue +106 -0
- package/src/views/udev/dict/childView.vue +222 -0
- package/src/views/udev/lov/childView.vue +180 -0
- package/src/views/udev/lov/lov-view.vue +91 -0
- package/src/views/ufile/aggregation/File.vue +87 -0
- package/src/views/ufile/file/water-mark.vue +103 -0
- package/src/views/uhome/components/menu-favorite.vue +331 -0
- package/src/views/uhome/su-welcome.vue +339 -0
- package/src/views/ulogin/login.vue +316 -0
- package/src/views/umsg/monitor/msg-monitor.vue +36 -0
- package/src/views/umsg/msg/TemplateContent.vue +103 -0
- package/src/views/umsg/msg/msg-template.vue +66 -0
- package/src/views/umsg/send/childView.vue +142 -0
- package/src/views/umsg/send/msg-send.vue +95 -0
- package/src/views/upms/interface/log-in.vue +106 -0
- package/src/views/upms/interface/log-out.vue +107 -0
- package/src/views/upms/user/login-log.vue +60 -0
- package/src/views/urpt/dataSet/DataSet.vue +139 -0
- package/src/views/urpt/design/DesignPanel.vue +526 -0
- package/src/views/urpt/design/Preview.vue +65 -0
- package/src/views/urpt/design/ReportDesign.vue +249 -0
- package/src/views/urpt/design/bg.png +0 -0
- package/src/views/urpt/design/panel.ts +841 -0
- package/src/views/urpt/design/print-data.ts +59 -0
- package/src/views/urpt/query/ReportQuery.vue +122 -0
- package/src/views/urpt/query/ReportQueryFrom.vue +252 -0
- package/src/views/urpt/report-request/ReportDefine.vue +10 -0
- package/src/views/urpt/static-resource/resource.vue +116 -0
- package/src/views/urpt/template/ReportTemplate.vue +198 -0
- package/tsconfig.json +30 -0
- package/types/env.d.ts +1 -0
- package/types/global-components.d.ts +12 -0
- package/types/global.d.ts +236 -0
- package/types/image.d.ts +7 -0
- package/types/index.d.ts +73 -0
- package/types/router.d.ts +107 -0
- package/types/shims-tsx.d.ts +22 -0
- package/types/shims-vue.d.ts +20 -0
- package/vite.config.ts +73 -0
|
@@ -0,0 +1,841 @@
|
|
|
1
|
+
// export default {
|
|
2
|
+
// panels: [
|
|
3
|
+
// {
|
|
4
|
+
// index: 0,
|
|
5
|
+
// height: 297,
|
|
6
|
+
// width: 210,
|
|
7
|
+
// paperHeader: 49.5,
|
|
8
|
+
// paperFooter: 780,
|
|
9
|
+
// printElements: [
|
|
10
|
+
// {
|
|
11
|
+
// options: {
|
|
12
|
+
// left: 175.5,
|
|
13
|
+
// top: 10.5,
|
|
14
|
+
// height: 27,
|
|
15
|
+
// width: 259,
|
|
16
|
+
// title: 'UtPrint自定义模块打印平台',
|
|
17
|
+
// fontSize: 19,
|
|
18
|
+
// fontWeight: '600',
|
|
19
|
+
// textAlign: 'center',
|
|
20
|
+
// lineHeight: 26
|
|
21
|
+
// },
|
|
22
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
23
|
+
// },
|
|
24
|
+
// {
|
|
25
|
+
// options: { left: 60, top: 27, height: 13, width: 52, title: '页眉线', textAlign: 'center' },
|
|
26
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
27
|
+
// },
|
|
28
|
+
// {
|
|
29
|
+
// options: { left: 25.5, top: 57, height: 705, width: 9, fixed: true, borderStyle: 'dotted' },
|
|
30
|
+
// printElementType: { type: 'vline' }
|
|
31
|
+
// },
|
|
32
|
+
// {
|
|
33
|
+
// options: { left: 60, top: 61.5, height: 48, width: 87, src: '' },
|
|
34
|
+
// printElementType: { title: '图片', type: 'image' }
|
|
35
|
+
// },
|
|
36
|
+
// {
|
|
37
|
+
// options: {
|
|
38
|
+
// left: 153,
|
|
39
|
+
// top: 64.5,
|
|
40
|
+
// height: 39,
|
|
41
|
+
// width: 276,
|
|
42
|
+
// title:
|
|
43
|
+
// '二维码以及条形码均采用svg格式打印。不同打印机打印不会造成失真。图片打印:不同DPI打印可能会导致失真,',
|
|
44
|
+
// fontFamily: '微软雅黑',
|
|
45
|
+
// textAlign: 'center',
|
|
46
|
+
// lineHeight: 18
|
|
47
|
+
// },
|
|
48
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
49
|
+
// },
|
|
50
|
+
// {
|
|
51
|
+
// options: {
|
|
52
|
+
// left: 457.5,
|
|
53
|
+
// top: 79.5,
|
|
54
|
+
// height: 13,
|
|
55
|
+
// width: 120,
|
|
56
|
+
// title: '姓名',
|
|
57
|
+
// field: 'name',
|
|
58
|
+
// testData: '古力娜扎',
|
|
59
|
+
// color: '#f00808',
|
|
60
|
+
// textDecoration: 'underline',
|
|
61
|
+
// textAlign: 'center'
|
|
62
|
+
// },
|
|
63
|
+
// printElementType: { title: '文本', type: 'text' }
|
|
64
|
+
// },
|
|
65
|
+
// {
|
|
66
|
+
// options: {
|
|
67
|
+
// left: 483,
|
|
68
|
+
// top: 124.5,
|
|
69
|
+
// height: 43,
|
|
70
|
+
// width: 51,
|
|
71
|
+
// title: '123456789',
|
|
72
|
+
// textType: 'qrcode'
|
|
73
|
+
// },
|
|
74
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
75
|
+
// },
|
|
76
|
+
// {
|
|
77
|
+
// options: {
|
|
78
|
+
// left: 285,
|
|
79
|
+
// top: 130.5,
|
|
80
|
+
// height: 34,
|
|
81
|
+
// width: 175,
|
|
82
|
+
// title: '123456789',
|
|
83
|
+
// fontFamily: '微软雅黑',
|
|
84
|
+
// textAlign: 'center',
|
|
85
|
+
// textType: 'barcode'
|
|
86
|
+
// },
|
|
87
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
88
|
+
// },
|
|
89
|
+
// {
|
|
90
|
+
// options: {
|
|
91
|
+
// left: 60,
|
|
92
|
+
// top: 132,
|
|
93
|
+
// height: 19,
|
|
94
|
+
// width: 213,
|
|
95
|
+
// title: '所有打印元素都可已拖拽的方式来改变元素大小',
|
|
96
|
+
// fontFamily: '微软雅黑',
|
|
97
|
+
// textAlign: 'center',
|
|
98
|
+
// lineHeight: 18
|
|
99
|
+
// },
|
|
100
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
101
|
+
// },
|
|
102
|
+
// {
|
|
103
|
+
// options: {
|
|
104
|
+
// left: 153,
|
|
105
|
+
// top: 189,
|
|
106
|
+
// height: 13,
|
|
107
|
+
// width: 238,
|
|
108
|
+
// title: '单击元素,右侧可自定义元素属性',
|
|
109
|
+
// textAlign: 'center',
|
|
110
|
+
// fontFamily: '微软雅黑'
|
|
111
|
+
// },
|
|
112
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
113
|
+
// },
|
|
114
|
+
// {
|
|
115
|
+
// options: { left: 60, top: 190.5, height: 13, width: 51, title: '横线', textAlign: 'center' },
|
|
116
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
117
|
+
// },
|
|
118
|
+
// {
|
|
119
|
+
// options: {
|
|
120
|
+
// left: 415.5,
|
|
121
|
+
// top: 190.5,
|
|
122
|
+
// height: 13,
|
|
123
|
+
// width: 164,
|
|
124
|
+
// title: '可以配置各属性的默认值',
|
|
125
|
+
// textAlign: 'center',
|
|
126
|
+
// fontFamily: '微软雅黑'
|
|
127
|
+
// },
|
|
128
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
129
|
+
// },
|
|
130
|
+
// {
|
|
131
|
+
// options: { left: 60, top: 214.5, height: 10, width: 475.5 },
|
|
132
|
+
// printElementType: { title: '横线', type: 'hline' }
|
|
133
|
+
// },
|
|
134
|
+
// {
|
|
135
|
+
// options: {
|
|
136
|
+
// left: 235.5,
|
|
137
|
+
// top: 220.5,
|
|
138
|
+
// height: 32,
|
|
139
|
+
// width: 342,
|
|
140
|
+
// title:
|
|
141
|
+
// '自定义表格:用户可左键选中表头,右键查看可操作项,操作类似Excel,双击表头单元格可进行编辑。内容:title#field',
|
|
142
|
+
// fontFamily: '微软雅黑',
|
|
143
|
+
// textAlign: 'center',
|
|
144
|
+
// lineHeight: 15
|
|
145
|
+
// },
|
|
146
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
147
|
+
// },
|
|
148
|
+
// {
|
|
149
|
+
// options: {
|
|
150
|
+
// left: 156,
|
|
151
|
+
// top: 265.5,
|
|
152
|
+
// height: 13,
|
|
153
|
+
// width: 94,
|
|
154
|
+
// title: '表头列大小可拖动',
|
|
155
|
+
// fontFamily: '微软雅黑',
|
|
156
|
+
// textAlign: 'center'
|
|
157
|
+
// },
|
|
158
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
159
|
+
// },
|
|
160
|
+
// {
|
|
161
|
+
// options: {
|
|
162
|
+
// left: 60,
|
|
163
|
+
// top: 265.5,
|
|
164
|
+
// height: 13,
|
|
165
|
+
// width: 90,
|
|
166
|
+
// title: '红色区域可拖动',
|
|
167
|
+
// fontFamily: '微软雅黑',
|
|
168
|
+
// textAlign: 'center'
|
|
169
|
+
// },
|
|
170
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
171
|
+
// },
|
|
172
|
+
// {
|
|
173
|
+
// options: {
|
|
174
|
+
// left: 60,
|
|
175
|
+
// top: 285,
|
|
176
|
+
// height: 44,
|
|
177
|
+
// width: 511.5,
|
|
178
|
+
// field: 'table',
|
|
179
|
+
// fields: [
|
|
180
|
+
// { text: 'id', field: 'id' },
|
|
181
|
+
// { text: '姓名', field: 'name' },
|
|
182
|
+
// { text: '性别', field: 'gender' },
|
|
183
|
+
// { text: '数量', field: 'count' }
|
|
184
|
+
// ],
|
|
185
|
+
// columns: [
|
|
186
|
+
// [
|
|
187
|
+
// { width: 85.25, colspan: 1, rowspan: 1, checked: true },
|
|
188
|
+
// {
|
|
189
|
+
// width: 85.25,
|
|
190
|
+
// colspan: 1,
|
|
191
|
+
// rowspan: 1,
|
|
192
|
+
// checked: true
|
|
193
|
+
// },
|
|
194
|
+
// {
|
|
195
|
+
// title: '姓名',
|
|
196
|
+
// field: 'name',
|
|
197
|
+
// width: 85.25,
|
|
198
|
+
// align: 'center',
|
|
199
|
+
// colspan: 1,
|
|
200
|
+
// rowspan: 1,
|
|
201
|
+
// checked: true
|
|
202
|
+
// },
|
|
203
|
+
// { width: 85.25, colspan: 1, rowspan: 1, checked: true },
|
|
204
|
+
// {
|
|
205
|
+
// width: 85.25,
|
|
206
|
+
// colspan: 1,
|
|
207
|
+
// rowspan: 1,
|
|
208
|
+
// checked: true
|
|
209
|
+
// },
|
|
210
|
+
// { width: 85.25, colspan: 1, rowspan: 1, checked: true }
|
|
211
|
+
// ]
|
|
212
|
+
// ]
|
|
213
|
+
// },
|
|
214
|
+
// printElementType: {
|
|
215
|
+
// title: '表格',
|
|
216
|
+
// type: 'table',
|
|
217
|
+
// editable: true,
|
|
218
|
+
// columnDisplayEditable: true, //列显示是否能编辑
|
|
219
|
+
// columnDisplayIndexEditable: true, //列顺序显示是否能编辑
|
|
220
|
+
// columnTitleEditable: true, //列标题是否能编辑
|
|
221
|
+
// columnResizable: true, //列宽是否能调整
|
|
222
|
+
// columnAlignEditable: true //列对齐是否调整
|
|
223
|
+
// }
|
|
224
|
+
// },
|
|
225
|
+
// {
|
|
226
|
+
// options: {
|
|
227
|
+
// left: 21,
|
|
228
|
+
// top: 346.5,
|
|
229
|
+
// height: 61.5,
|
|
230
|
+
// width: 15,
|
|
231
|
+
// title: '装订线',
|
|
232
|
+
// lineHeight: 18,
|
|
233
|
+
// fixed: true,
|
|
234
|
+
// contentPaddingTop: 3.75,
|
|
235
|
+
// backgroundColor: '#ffffff'
|
|
236
|
+
// },
|
|
237
|
+
// printElementType: { type: 'text' }
|
|
238
|
+
// },
|
|
239
|
+
// {
|
|
240
|
+
// options: {
|
|
241
|
+
// left: 225,
|
|
242
|
+
// top: 349.5,
|
|
243
|
+
// height: 13,
|
|
244
|
+
// width: 346.5,
|
|
245
|
+
// title: '自定义模块:主要为开发人员设计,能够快速,简单,实现自己功能',
|
|
246
|
+
// textAlign: 'center'
|
|
247
|
+
// },
|
|
248
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
249
|
+
// },
|
|
250
|
+
// {
|
|
251
|
+
// options: {
|
|
252
|
+
// left: 60,
|
|
253
|
+
// top: 370.5,
|
|
254
|
+
// height: 18,
|
|
255
|
+
// width: 79,
|
|
256
|
+
// title: '配置项表格',
|
|
257
|
+
// textAlign: 'center'
|
|
258
|
+
// },
|
|
259
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
260
|
+
// },
|
|
261
|
+
// {
|
|
262
|
+
// options: {
|
|
263
|
+
// left: 225,
|
|
264
|
+
// top: 385.5,
|
|
265
|
+
// height: 38,
|
|
266
|
+
// width: 346.5,
|
|
267
|
+
// title:
|
|
268
|
+
// '配置模块:主要为客户使用,开发人员可以配置属性,字段,标题等,客户直接使用,配置模块请参考实例2',
|
|
269
|
+
// fontFamily: '微软雅黑',
|
|
270
|
+
// lineHeight: 15,
|
|
271
|
+
// textAlign: 'center',
|
|
272
|
+
// color: '#d93838'
|
|
273
|
+
// },
|
|
274
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
275
|
+
// },
|
|
276
|
+
// {
|
|
277
|
+
// options: {
|
|
278
|
+
// left: 60,
|
|
279
|
+
// top: 487.5,
|
|
280
|
+
// height: 13,
|
|
281
|
+
// width: 123,
|
|
282
|
+
// title: '长文本会自动分页',
|
|
283
|
+
// textAlign: 'center'
|
|
284
|
+
// },
|
|
285
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
286
|
+
// },
|
|
287
|
+
// {
|
|
288
|
+
// options: { left: 60, top: 507, height: 40, width: 511.5, field: 'longText' },
|
|
289
|
+
// printElementType: { title: '长文', type: 'longText' }
|
|
290
|
+
// },
|
|
291
|
+
// {
|
|
292
|
+
// options: { left: 475.5, top: 565.5, height: 100, width: 100 },
|
|
293
|
+
// printElementType: { title: '矩形', type: 'rect' }
|
|
294
|
+
// },
|
|
295
|
+
// {
|
|
296
|
+
// options: { left: 174, top: 568.5, height: 13, width: 90, title: '竖线', textAlign: 'center' },
|
|
297
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
298
|
+
// },
|
|
299
|
+
// {
|
|
300
|
+
// options: { left: 60, top: 574.5, height: 100, width: 10 },
|
|
301
|
+
// printElementType: { title: '竖线', type: 'vline' }
|
|
302
|
+
// },
|
|
303
|
+
// {
|
|
304
|
+
// options: { left: 210, top: 604.5, height: 13, width: 120, title: '横线', textAlign: 'center' },
|
|
305
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
306
|
+
// },
|
|
307
|
+
// {
|
|
308
|
+
// options: { left: 130.5, top: 625.5, height: 10, width: 277 },
|
|
309
|
+
// printElementType: { title: '横线', type: 'hline' }
|
|
310
|
+
// },
|
|
311
|
+
// {
|
|
312
|
+
// options: {
|
|
313
|
+
// left: 364.5,
|
|
314
|
+
// top: 649.5,
|
|
315
|
+
// height: 13,
|
|
316
|
+
// width: 101,
|
|
317
|
+
// title: '矩形',
|
|
318
|
+
// textAlign: 'center'
|
|
319
|
+
// },
|
|
320
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
321
|
+
// },
|
|
322
|
+
// {
|
|
323
|
+
// options: {
|
|
324
|
+
// left: 525,
|
|
325
|
+
// top: 784.5,
|
|
326
|
+
// height: 13,
|
|
327
|
+
// width: 63,
|
|
328
|
+
// title: '页尾线',
|
|
329
|
+
// textAlign: 'center'
|
|
330
|
+
// },
|
|
331
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
332
|
+
// },
|
|
333
|
+
// {
|
|
334
|
+
// options: { left: 12, top: 786, height: 49, width: 49 },
|
|
335
|
+
// printElementType: { title: 'html', type: 'html' }
|
|
336
|
+
// },
|
|
337
|
+
// {
|
|
338
|
+
// options: {
|
|
339
|
+
// left: 75,
|
|
340
|
+
// top: 790.5,
|
|
341
|
+
// height: 13,
|
|
342
|
+
// width: 137,
|
|
343
|
+
// title: '红色原型是自动定义的Html',
|
|
344
|
+
// textAlign: 'center'
|
|
345
|
+
// },
|
|
346
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
347
|
+
// },
|
|
348
|
+
// {
|
|
349
|
+
// options: {
|
|
350
|
+
// left: 334.5,
|
|
351
|
+
// top: 810,
|
|
352
|
+
// height: 13,
|
|
353
|
+
// width: 205,
|
|
354
|
+
// title: '页眉线已上。页尾下以下每页都会重复打印',
|
|
355
|
+
// textAlign: 'center'
|
|
356
|
+
// },
|
|
357
|
+
// printElementType: { title: '自定义文本', type: 'text' }
|
|
358
|
+
// }
|
|
359
|
+
// ],
|
|
360
|
+
// paperNumberLeft: 565.5,
|
|
361
|
+
// paperNumberTop: 819
|
|
362
|
+
// }
|
|
363
|
+
// ]
|
|
364
|
+
// };
|
|
365
|
+
|
|
366
|
+
export default {
|
|
367
|
+
panels: [
|
|
368
|
+
{
|
|
369
|
+
index: 0,
|
|
370
|
+
height: 148,
|
|
371
|
+
width: 210,
|
|
372
|
+
paperHeader: -1.5,
|
|
373
|
+
paperFooter: 380,
|
|
374
|
+
printElements: [
|
|
375
|
+
{
|
|
376
|
+
options: {
|
|
377
|
+
left: 540,
|
|
378
|
+
top: 10.5,
|
|
379
|
+
height: 35,
|
|
380
|
+
width: 33,
|
|
381
|
+
borderColor: '#f20000',
|
|
382
|
+
coordinateSync: true,
|
|
383
|
+
widthHeightSync: true
|
|
384
|
+
},
|
|
385
|
+
printElementType: { title: '椭圆', type: 'oval' }
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
options: {
|
|
389
|
+
left: 454.5,
|
|
390
|
+
top: 15,
|
|
391
|
+
height: 18,
|
|
392
|
+
width: 74,
|
|
393
|
+
title: '8888888',
|
|
394
|
+
fontSize: 18,
|
|
395
|
+
fontWeight: '600',
|
|
396
|
+
color: '#2935e3',
|
|
397
|
+
textAlign: 'center',
|
|
398
|
+
lineHeight: 16
|
|
399
|
+
},
|
|
400
|
+
printElementType: { title: '文本', type: 'text' }
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
options: {
|
|
404
|
+
left: 424.5,
|
|
405
|
+
top: 15,
|
|
406
|
+
height: 19,
|
|
407
|
+
width: 24,
|
|
408
|
+
title: 'NO',
|
|
409
|
+
fontSize: 18,
|
|
410
|
+
color: '#2935e3',
|
|
411
|
+
textAlign: 'center',
|
|
412
|
+
lineHeight: 15
|
|
413
|
+
},
|
|
414
|
+
printElementType: { title: '文本', type: 'text' }
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
options: {
|
|
418
|
+
left: 190.5,
|
|
419
|
+
top: 15,
|
|
420
|
+
height: 21,
|
|
421
|
+
width: 226,
|
|
422
|
+
title: '上海增值税普通发票',
|
|
423
|
+
fontSize: 18,
|
|
424
|
+
fontWeight: '600',
|
|
425
|
+
letterSpacing: 2.5,
|
|
426
|
+
color: '#cc5a5a',
|
|
427
|
+
textAlign: 'center',
|
|
428
|
+
lineHeight: 18
|
|
429
|
+
},
|
|
430
|
+
printElementType: { title: '文本', type: 'text' }
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
options: {
|
|
434
|
+
left: 244.5,
|
|
435
|
+
top: 19.5,
|
|
436
|
+
height: 51,
|
|
437
|
+
width: 112,
|
|
438
|
+
borderColor: '#eb1111',
|
|
439
|
+
borderWidth: '2'
|
|
440
|
+
},
|
|
441
|
+
printElementType: { title: '椭圆', type: 'oval' }
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
options: {
|
|
445
|
+
left: 90,
|
|
446
|
+
top: 19.5,
|
|
447
|
+
height: 21,
|
|
448
|
+
width: 96,
|
|
449
|
+
title: '8888888',
|
|
450
|
+
fontSize: 19,
|
|
451
|
+
letterSpacing: 1,
|
|
452
|
+
color: '#2935e3',
|
|
453
|
+
textAlign: 'center',
|
|
454
|
+
lineHeight: 18
|
|
455
|
+
},
|
|
456
|
+
printElementType: { title: '文本', type: 'text' }
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
options: {
|
|
460
|
+
left: 19.5,
|
|
461
|
+
top: 19.5,
|
|
462
|
+
height: 61,
|
|
463
|
+
width: 65,
|
|
464
|
+
title: '031001800204',
|
|
465
|
+
textType: 'qrcode'
|
|
466
|
+
},
|
|
467
|
+
printElementType: { title: '文本', type: 'text' }
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
options: { left: 250.5, top: 25.5, height: 42, width: 104, borderColor: '#f00505' },
|
|
471
|
+
printElementType: { title: '椭圆', type: 'oval' }
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
options: { left: 190.5, top: 45, height: 10, width: 228, borderColor: '#b5a8a8' },
|
|
475
|
+
printElementType: { title: '横线', type: 'hline' }
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
options: { left: 190.5, top: 49.5, height: 10, width: 228, borderColor: '#baafaf' },
|
|
479
|
+
printElementType: { title: '横线', type: 'hline' }
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
options: {
|
|
483
|
+
left: 244.5,
|
|
484
|
+
top: 55.5,
|
|
485
|
+
height: 22,
|
|
486
|
+
width: 120,
|
|
487
|
+
title: '发票联',
|
|
488
|
+
fontSize: 18,
|
|
489
|
+
fontWeight: '600',
|
|
490
|
+
letterSpacing: 8,
|
|
491
|
+
color: '#cc5a5a',
|
|
492
|
+
textAlign: 'center',
|
|
493
|
+
lineHeight: 18
|
|
494
|
+
},
|
|
495
|
+
printElementType: { title: '文本', type: 'text' }
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
options: {
|
|
499
|
+
left: 510,
|
|
500
|
+
top: 55.5,
|
|
501
|
+
height: 13,
|
|
502
|
+
width: 69,
|
|
503
|
+
title: '2019年05月09日',
|
|
504
|
+
color: '#2935e3'
|
|
505
|
+
},
|
|
506
|
+
printElementType: { title: '文本', type: 'text' }
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
options: {
|
|
510
|
+
left: 445.5,
|
|
511
|
+
top: 55.5,
|
|
512
|
+
height: 15,
|
|
513
|
+
width: 57,
|
|
514
|
+
title: '开票日期:',
|
|
515
|
+
color: '#cc5a5a',
|
|
516
|
+
lineHeight: 13
|
|
517
|
+
},
|
|
518
|
+
printElementType: { title: '文本', type: 'text' }
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
options: {
|
|
522
|
+
left: 90,
|
|
523
|
+
top: 64.5,
|
|
524
|
+
height: 15,
|
|
525
|
+
width: 141,
|
|
526
|
+
title: '校验码:123456 788942 52344',
|
|
527
|
+
color: '#2935e3',
|
|
528
|
+
textAlign: 'center',
|
|
529
|
+
lineHeight: 13
|
|
530
|
+
},
|
|
531
|
+
printElementType: { title: '文本', type: 'text' }
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
options: { left: 400, top: 90, height: 60, width: 10, borderColor: '#cc5a5a' },
|
|
535
|
+
printElementType: { title: '竖线', type: 'vline' }
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
options: { left: 35, top: 90, height: 60, width: 10, borderColor: '#cc5a5a' },
|
|
539
|
+
printElementType: { title: '竖线', type: 'vline' }
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
options: { left: 420, top: 90, height: 61, width: 10, borderColor: '#cc5a5a' },
|
|
543
|
+
printElementType: { title: '竖线', type: 'vline' }
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
options: { left: 10.5, top: 90, height: 282, width: 572, borderColor: '#cc5a5a' },
|
|
547
|
+
printElementType: { title: '矩形', type: 'rect' }
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
options: {
|
|
551
|
+
left: 405,
|
|
552
|
+
top: 94.5,
|
|
553
|
+
height: 55,
|
|
554
|
+
width: 13,
|
|
555
|
+
title: '密码区',
|
|
556
|
+
fontSize: 13,
|
|
557
|
+
color: '#cc5a5a',
|
|
558
|
+
lineHeight: 18
|
|
559
|
+
},
|
|
560
|
+
printElementType: { title: '文本', type: 'text' }
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
options: { left: 424.5, top: 94.5, height: 50, width: 152, title: '', color: '#2935e3' },
|
|
564
|
+
printElementType: { title: '文本', type: 'text' }
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
options: {
|
|
568
|
+
left: 15,
|
|
569
|
+
top: 94.5,
|
|
570
|
+
height: 53,
|
|
571
|
+
width: 15,
|
|
572
|
+
title: '购买方',
|
|
573
|
+
fontSize: 13,
|
|
574
|
+
color: '#cc5a5a',
|
|
575
|
+
lineHeight: 18
|
|
576
|
+
},
|
|
577
|
+
printElementType: { title: '文本', type: 'text' }
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
options: {
|
|
581
|
+
left: 45,
|
|
582
|
+
top: 100.5,
|
|
583
|
+
height: 10,
|
|
584
|
+
width: 348,
|
|
585
|
+
title: '名称:北京地铁税务局有限公司',
|
|
586
|
+
color: '#2935e3'
|
|
587
|
+
},
|
|
588
|
+
printElementType: { title: '文本', type: 'text' }
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
options: {
|
|
592
|
+
left: 45,
|
|
593
|
+
top: 115.5,
|
|
594
|
+
height: 10,
|
|
595
|
+
width: 347,
|
|
596
|
+
title: '纳税人识别号:999999999999999999',
|
|
597
|
+
color: '#2935e3'
|
|
598
|
+
},
|
|
599
|
+
printElementType: { title: '文本', type: 'text' }
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
options: {
|
|
603
|
+
left: 45,
|
|
604
|
+
top: 130.5,
|
|
605
|
+
height: 10,
|
|
606
|
+
width: 347,
|
|
607
|
+
title: '地址、电话:18888888888',
|
|
608
|
+
color: '#2935e3'
|
|
609
|
+
},
|
|
610
|
+
printElementType: { title: '文本', type: 'text' }
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
options: { left: 345, top: 150, height: 190, width: 10, borderColor: '#cc5a5a' },
|
|
614
|
+
printElementType: { title: '竖线', type: 'vline' }
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
options: { left: 409.5, top: 150, height: 190, width: 10, borderColor: '#cc5a5a' },
|
|
618
|
+
printElementType: { title: '竖线', type: 'vline' }
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
options: { left: 295.5, top: 150, height: 190, width: 10, borderColor: '#cc5a5a' },
|
|
622
|
+
printElementType: { title: '竖线', type: 'vline' }
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
options: { left: 480, top: 150, height: 190, width: 10, borderColor: '#cc5a5a' },
|
|
626
|
+
printElementType: { title: '竖线', type: 'vline' }
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
options: { left: 215, top: 150, height: 224, width: 10, borderColor: '#cc5a5a' },
|
|
630
|
+
printElementType: { title: '竖线', type: 'vline' }
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
options: { left: 520.5, top: 150, height: 190, width: 10, borderColor: '#cc5a5a' },
|
|
634
|
+
printElementType: { title: '竖线', type: 'vline' }
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
options: { left: 10, top: 150, height: 10, width: 574, borderColor: '#cc5a5a' },
|
|
638
|
+
printElementType: { title: '横线', type: 'hline' }
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
options: {
|
|
642
|
+
left: 300,
|
|
643
|
+
top: 160.5,
|
|
644
|
+
height: 10,
|
|
645
|
+
width: 36,
|
|
646
|
+
title: '单位',
|
|
647
|
+
fontSize: 13,
|
|
648
|
+
color: '#cc5a5a',
|
|
649
|
+
textAlign: 'center'
|
|
650
|
+
},
|
|
651
|
+
printElementType: { title: '文本', type: 'text' }
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
options: {
|
|
655
|
+
left: 349.5,
|
|
656
|
+
top: 160.5,
|
|
657
|
+
height: 11,
|
|
658
|
+
width: 51,
|
|
659
|
+
title: '数量',
|
|
660
|
+
fontSize: 13,
|
|
661
|
+
color: '#cc5a5a',
|
|
662
|
+
textAlign: 'center'
|
|
663
|
+
},
|
|
664
|
+
printElementType: { title: '文本', type: 'text' }
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
options: {
|
|
668
|
+
left: 225,
|
|
669
|
+
top: 160.5,
|
|
670
|
+
height: 10,
|
|
671
|
+
width: 62,
|
|
672
|
+
title: '规格名称',
|
|
673
|
+
fontSize: 13,
|
|
674
|
+
color: '#cc5a5a',
|
|
675
|
+
textAlign: 'center'
|
|
676
|
+
},
|
|
677
|
+
printElementType: { title: '文本', type: 'text' }
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
options: {
|
|
681
|
+
left: 420,
|
|
682
|
+
top: 160.5,
|
|
683
|
+
height: 10,
|
|
684
|
+
width: 53,
|
|
685
|
+
title: '单价',
|
|
686
|
+
fontSize: 13,
|
|
687
|
+
color: '#cc5a5a',
|
|
688
|
+
textAlign: 'center'
|
|
689
|
+
},
|
|
690
|
+
printElementType: { title: '文本', type: 'text' }
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
options: {
|
|
694
|
+
left: 484.5,
|
|
695
|
+
top: 160.5,
|
|
696
|
+
height: 10,
|
|
697
|
+
width: 32,
|
|
698
|
+
title: '税率',
|
|
699
|
+
fontSize: 13,
|
|
700
|
+
color: '#cc5a5a',
|
|
701
|
+
textAlign: 'center'
|
|
702
|
+
},
|
|
703
|
+
printElementType: { title: '文本', type: 'text' }
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
options: {
|
|
707
|
+
left: 525,
|
|
708
|
+
top: 160.5,
|
|
709
|
+
height: 10,
|
|
710
|
+
width: 52,
|
|
711
|
+
title: '税额',
|
|
712
|
+
fontSize: 13,
|
|
713
|
+
color: '#cc5a5a',
|
|
714
|
+
textAlign: 'center'
|
|
715
|
+
},
|
|
716
|
+
printElementType: { title: '文本', type: 'text' }
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
options: {
|
|
720
|
+
left: 19.5,
|
|
721
|
+
top: 160.5,
|
|
722
|
+
height: 10,
|
|
723
|
+
width: 184,
|
|
724
|
+
title: '货物或应税劳务、服务名称',
|
|
725
|
+
fontSize: 13,
|
|
726
|
+
color: '#cc5a5a',
|
|
727
|
+
textAlign: 'center'
|
|
728
|
+
},
|
|
729
|
+
printElementType: { title: '文本', type: 'text' }
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
options: {
|
|
733
|
+
left: 40.5,
|
|
734
|
+
top: 175.5,
|
|
735
|
+
height: 12,
|
|
736
|
+
width: 120,
|
|
737
|
+
title: '*餐饮服务*餐费',
|
|
738
|
+
color: '#2935e3'
|
|
739
|
+
},
|
|
740
|
+
printElementType: { title: '文本', type: 'text' }
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
options: { left: 10.5, top: 340.5, height: 10, width: 574, borderColor: '#cc5a5a' },
|
|
744
|
+
printElementType: { title: '横线', type: 'hline' }
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
options: {
|
|
748
|
+
left: 225,
|
|
749
|
+
top: 349.5,
|
|
750
|
+
height: 14,
|
|
751
|
+
width: 229,
|
|
752
|
+
title: '壹佰贰拾元整',
|
|
753
|
+
color: '#2935e3'
|
|
754
|
+
},
|
|
755
|
+
printElementType: { title: '文本', type: 'text' }
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
options: {
|
|
759
|
+
left: 460.5,
|
|
760
|
+
top: 349.5,
|
|
761
|
+
height: 13,
|
|
762
|
+
width: 58,
|
|
763
|
+
title: '(小写)',
|
|
764
|
+
fontSize: 13,
|
|
765
|
+
color: '#cc5a5a'
|
|
766
|
+
},
|
|
767
|
+
printElementType: { title: '文本', type: 'text' }
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
options: {
|
|
771
|
+
left: 520.5,
|
|
772
|
+
top: 349.5,
|
|
773
|
+
height: 13,
|
|
774
|
+
width: 48,
|
|
775
|
+
title: '¥100.00',
|
|
776
|
+
color: '#2935e3'
|
|
777
|
+
},
|
|
778
|
+
printElementType: { title: '文本', type: 'text' }
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
options: {
|
|
782
|
+
left: 15,
|
|
783
|
+
top: 349.5,
|
|
784
|
+
height: 14,
|
|
785
|
+
width: 193,
|
|
786
|
+
title: '价税合计(大写)',
|
|
787
|
+
fontSize: 13,
|
|
788
|
+
color: '#cc5a5a',
|
|
789
|
+
textAlign: 'center'
|
|
790
|
+
},
|
|
791
|
+
printElementType: { title: '文本', type: 'text' }
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
options: { left: 300, top: 385.5, height: 10, width: 39, title: '开票人:', color: '#cc5a5a' },
|
|
795
|
+
printElementType: { title: '文本', type: 'text' }
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
options: {
|
|
799
|
+
left: 190.5,
|
|
800
|
+
top: 385.5,
|
|
801
|
+
height: 10,
|
|
802
|
+
width: 103,
|
|
803
|
+
title: '轩大可',
|
|
804
|
+
color: '#2935e3'
|
|
805
|
+
},
|
|
806
|
+
printElementType: { title: '文本', type: 'text' }
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
options: { left: 150, top: 385.5, height: 10, width: 33, title: '复核:', color: '#cc5a5a' },
|
|
810
|
+
printElementType: { title: '文本', type: 'text' }
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
options: { left: 345, top: 385.5, height: 10, width: 86, title: '张天天', color: '#2935e3' },
|
|
814
|
+
printElementType: { title: '文本', type: 'text' }
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
options: { left: 64.5, top: 385.5, height: 10, width: 78, title: '轩天天', color: '#2935e3' },
|
|
818
|
+
printElementType: { title: '文本', type: 'text' }
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
options: {
|
|
822
|
+
left: 439.5,
|
|
823
|
+
top: 385.5,
|
|
824
|
+
height: 10,
|
|
825
|
+
width: 40,
|
|
826
|
+
title: '销售方:',
|
|
827
|
+
color: '#cc5a5a'
|
|
828
|
+
},
|
|
829
|
+
printElementType: { title: '文本', type: 'text' }
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
options: { left: 15, top: 385.5, height: 10, width: 44, title: '收款人:', color: '#cc5a5a' },
|
|
833
|
+
printElementType: { title: '文本', type: 'text' }
|
|
834
|
+
}
|
|
835
|
+
],
|
|
836
|
+
paperNumberLeft: 565.5,
|
|
837
|
+
paperNumberTop: 394.5,
|
|
838
|
+
paperNumberDisabled: true
|
|
839
|
+
}
|
|
840
|
+
]
|
|
841
|
+
};
|