当前博客:收据报表设计器界面源码

120 次浏览【转载需注明来源】

博客作者:【快码FOF编程】

个性签名:寒窗苦读十年一朝凤舞九天

请复制下面的代码,然后加载到报表设计器中

{
  "version": "1.0.0",
  "formName": "表单示例",
  "Author": "快码编程UI设计器",
  "formId": "formPreviewForm",
  "generateId": 0,
  "data": [
    {
      "id": "textBox_3",
      "index": 0,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "246.75",
      "height": 28,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 200.875,
      "top": 11,
      "zIndex": "10",
      "TextValue": "xxxxxx有限公司  收款收据",
      "TextSize": "18",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "border-bottom: 1px solid #000000;",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false,
      "left2": 269.875,
      "top2": 71
    },
    {
      "id": "reportFormsTable_7",
      "index": 1,
      "tag": "reportFormsTable",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "打印表格",
      "width": "-40",
      "height": 250,
      "margin": "",
      "padding": "",
      "left": "20",
      "top": "70",
      "zIndex": "10",
      "reportFormsSqlType": "普通数据模式",
      "reportFormsDataType": "不跟随数据库变动",
      "reportFormsTableType": false,
      "reportFormsTableRowsSize": "小尺寸",
      "reportFormsTableLine": "普通风格",
      "reportFormsTableHead": "[{\"数据\":[{\"内容\":\"名称\",\"合并行\":2,\"合并列\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"规格型号\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"数量\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"单位\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"单价\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"金额\",\"水平对齐-居中\":\"居中对齐\",\"合并列\":8},{\"内容\":\"备注\",\"水平对齐-居中\":\"居中对齐\",\"合并行\":2}]},{\"数据\":[{\"内容\":\"拾\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"万\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"仟\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"佰\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"拾\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"元\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"角\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"分\",\"水平对齐-居中\":\"居中对齐\"}]}]",
      "reportFormsTableHeadToolJson": {
        "宽度": 100,
        "高度": 100,
        "内容": "",
        "字体": "微软雅黑",
        "字体尺寸": 14,
        "背景色": "#FFFFFF",
        "文本色": "#000000",
        "元素ID": "",
        "允许输入": true,
        "合并行": 0,
        "合并列": 0,
        "垂直对齐-居中": "居中对齐",
        "垂直对齐-顶部": "顶部对齐",
        "垂直对齐-底部": "底部对齐",
        "水平对齐-居中": "居中对齐",
        "水平对齐-左侧": "左侧对齐",
        "水平对齐-右侧": "右侧对齐",
        "字体类型-加粗": "粗体",
        "字体类型-正常": "正常",
        "自定义CSS": ""
      },
      "reportFormsTableData": "[{\"数据\":[{\"内容\":1,\"宽度\":20,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \",\"宽度\":80},{\"内容\":\" \",\"宽度\":80},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"合并行\":6,\"宽度\":80}]},{\"数据\":[{\"内容\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":3,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":4,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":5,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":6,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":\"合计:\",\"合并列\":6,\"水平对齐-右侧\":\"右侧对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":\"金额大写(大写):\",\"合并列\":3,\"水平对齐-右侧\":\"右侧对齐\"},{\"内容\":\"        万        仟        佰        拾        元        角        分\",\"水平对齐-左侧\":\"左侧对齐\",\"合并列\":12}]}]",
      "reportFormsTableDataToolJson": {
        "宽度": 100,
        "高度": 100,
        "内容": "",
        "字体": "微软雅黑",
        "字体尺寸": 14,
        "背景色": "#FFFFFF",
        "文本色": "#000000",
        "元素ID": "",
        "允许输入": true,
        "合并行": 0,
        "合并列": 0,
        "垂直对齐-居中": "居中对齐",
        "垂直对齐-顶部": "顶部对齐",
        "垂直对齐-底部": "底部对齐",
        "水平对齐-居中": "居中对齐",
        "水平对齐-左侧": "左侧对齐",
        "水平对齐-右侧": "右侧对齐",
        "字体类型-加粗": "粗体",
        "字体类型-正常": "正常",
        "自定义CSS": ""
      },
      "reportFormsSqlCode_NoBut": "",
      "reportFormsSqlDataName": "[]",
      "reportFormsCode_NoBut": "",
      "grid": false
    },
    {
      "id": "textBox_8",
      "index": 2,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "92",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 16.625,
      "top": 38,
      "zIndex": 3,
      "TextValue": "收款日期:",
      "TextSize": "12",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    },
    {
      "id": "textBox_9",
      "index": 3,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "100",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 216.625,
      "top": 38,
      "zIndex": 3,
      "TextValue": "名称客户:",
      "TextSize": "12",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    },
    {
      "id": "textBox_10",
      "index": 4,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "100",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 545.375,
      "top": 39,
      "zIndex": 3,
      "TextValue": "NO.123456",
      "TextSize": "12",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "rgba(204, 0, 0, 1)",
      "grid": false
    },
    {
      "id": "textBox_11",
      "index": 5,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "64",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 95,
      "top": 38,
      "zIndex": 3,
      "TextValue": "2024-1-11",
      "TextSize": "12",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "当前日期",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    },
    {
      "id": "textBox_2",
      "index": 6,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "100",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 17.375,
      "top": "320",
      "zIndex": 7,
      "TextValue": "主管:",
      "TextSize": "14",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    },
    {
      "id": "textBox_4",
      "index": 7,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "100",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": "260",
      "top": "320",
      "zIndex": 7,
      "TextValue": "会计:",
      "TextSize": "14",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    },
    {
      "id": "textBox_5",
      "index": 8,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "100",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 471.375,
      "top": "320",
      "zIndex": 7,
      "TextValue": "收款人:",
      "TextSize": "14",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    }
  ],
  "optionsArray": [
    {
      "id": "textBox_3",
      "index": 0,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "246.75",
      "height": 28,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 200.875,
      "top": 11,
      "zIndex": "10",
      "TextValue": "xxxxxx有限公司  收款收据",
      "TextSize": "18",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "border-bottom: 1px solid #000000;",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false,
      "left2": 269.875,
      "top2": 71
    },
    {
      "id": "reportFormsTable_7",
      "index": 1,
      "tag": "reportFormsTable",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "打印表格",
      "width": "-40",
      "height": 250,
      "margin": "",
      "padding": "",
      "left": "20",
      "top": "70",
      "zIndex": "10",
      "reportFormsSqlType": "普通数据模式",
      "reportFormsDataType": "不跟随数据库变动",
      "reportFormsTableType": false,
      "reportFormsTableRowsSize": "小尺寸",
      "reportFormsTableLine": "普通风格",
      "reportFormsTableHead": "[{\"数据\":[{\"内容\":\"名称\",\"合并行\":2,\"合并列\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"规格型号\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"数量\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"单位\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"单价\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"金额\",\"水平对齐-居中\":\"居中对齐\",\"合并列\":8},{\"内容\":\"备注\",\"水平对齐-居中\":\"居中对齐\",\"合并行\":2}]},{\"数据\":[{\"内容\":\"拾\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"万\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"仟\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"佰\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"拾\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"元\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"角\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"分\",\"水平对齐-居中\":\"居中对齐\"}]}]",
      "reportFormsTableHeadToolJson": {
        "宽度": 100,
        "高度": 100,
        "内容": "",
        "字体": "微软雅黑",
        "字体尺寸": 14,
        "背景色": "#FFFFFF",
        "文本色": "#000000",
        "元素ID": "",
        "允许输入": true,
        "合并行": 0,
        "合并列": 0,
        "垂直对齐-居中": "居中对齐",
        "垂直对齐-顶部": "顶部对齐",
        "垂直对齐-底部": "底部对齐",
        "水平对齐-居中": "居中对齐",
        "水平对齐-左侧": "左侧对齐",
        "水平对齐-右侧": "右侧对齐",
        "字体类型-加粗": "粗体",
        "字体类型-正常": "正常",
        "自定义CSS": ""
      },
      "reportFormsTableData": "[{\"数据\":[{\"内容\":1,\"宽度\":20,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \",\"宽度\":80},{\"内容\":\" \",\"宽度\":80},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"合并行\":6,\"宽度\":80}]},{\"数据\":[{\"内容\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":3,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":4,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":5,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":6,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":\"合计:\",\"合并列\":6,\"水平对齐-右侧\":\"右侧对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":\"金额大写(大写):\",\"合并列\":3,\"水平对齐-右侧\":\"右侧对齐\"},{\"内容\":\"        万        仟        佰        拾        元        角        分\",\"水平对齐-左侧\":\"左侧对齐\",\"合并列\":12}]}]",
      "reportFormsTableDataToolJson": {
        "宽度": 100,
        "高度": 100,
        "内容": "",
        "字体": "微软雅黑",
        "字体尺寸": 14,
        "背景色": "#FFFFFF",
        "文本色": "#000000",
        "元素ID": "",
        "允许输入": true,
        "合并行": 0,
        "合并列": 0,
        "垂直对齐-居中": "居中对齐",
        "垂直对齐-顶部": "顶部对齐",
        "垂直对齐-底部": "底部对齐",
        "水平对齐-居中": "居中对齐",
        "水平对齐-左侧": "左侧对齐",
        "水平对齐-右侧": "右侧对齐",
        "字体类型-加粗": "粗体",
        "字体类型-正常": "正常",
        "自定义CSS": ""
      },
      "reportFormsSqlCode_NoBut": "",
      "reportFormsSqlDataName": "[]",
      "reportFormsCode_NoBut": "",
      "grid": false
    },
    {
      "id": "textBox_8",
      "index": 2,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "92",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 16.625,
      "top": 38,
      "zIndex": 3,
      "TextValue": "收款日期:",
      "TextSize": "12",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    },
    {
      "id": "textBox_9",
      "index": 3,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "100",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 216.625,
      "top": 38,
      "zIndex": 3,
      "TextValue": "名称客户:",
      "TextSize": "12",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    },
    {
      "id": "textBox_10",
      "index": 4,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "100",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 545.375,
      "top": 39,
      "zIndex": 3,
      "TextValue": "NO.123456",
      "TextSize": "12",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "rgba(204, 0, 0, 1)",
      "grid": false
    },
    {
      "id": "textBox_11",
      "index": 5,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "64",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 95,
      "top": 38,
      "zIndex": 3,
      "TextValue": "2024-1-11",
      "TextSize": "12",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "当前日期",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    },
    {
      "id": "textBox_2",
      "index": 6,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "100",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 17.375,
      "top": "320",
      "zIndex": 7,
      "TextValue": "主管:",
      "TextSize": "14",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    },
    {
      "id": "textBox_4",
      "index": 7,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "100",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": "260",
      "top": "320",
      "zIndex": 7,
      "TextValue": "会计:",
      "TextSize": "14",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    },
    {
      "id": "textBox_5",
      "index": 8,
      "tag": "textBox",
      "tagIcon": "layui-icon layui-icon-picture",
      "title": "文本框",
      "width": "100",
      "height": 30,
      "margin": "",
      "padding": "",
      "transformRotate": "0",
      "writingMode": "",
      "left": 471.375,
      "top": "320",
      "zIndex": 7,
      "TextValue": "收款人:",
      "TextSize": "14",
      "fontFamily": "微软雅黑",
      "textBoxDataType": "普通文本框",
      "HorizontalAlignment": "center",
      "VerticalAlignment": "center",
      "BorderLineStyle": "",
      "BorderLineSize": "1",
      "BorderLineColor": "#000000",
      "BackgroundValue": "#ffffff",
      "ColorValue": "#000",
      "grid": false
    }
  ],
  "dataSource": {},
  "formData": {},
  "globalDisable": false,
  "viewOrDesign": true,
  "formDefaultButton": true,
  "formProperty": {},
  "selectItems": [],
  "model": "自定义",
  "page": {
    "id": ""
  },
  "elem": {
    "0": {
      "sizzle1704954520118": {
        "undefined": {
          "parentNode": [
            492,
            19,
            false
          ]
        }
      },
      "sizzle1704954520152": {
        "undefined": {
          "parentNode": [
            98,
            6,
            true
          ]
        }
      }
    },
    "length": 1
  },
  "id": "formdesigner",
  "size": [
    "17.8cm",
    "9.5cm"
  ],
  "selectItem": {
    "id": "reportFormsTable_7",
    "index": 1,
    "tag": "reportFormsTable",
    "tagIcon": "layui-icon layui-icon-picture",
    "title": "打印表格",
    "width": "-40",
    "height": 250,
    "margin": "",
    "padding": "",
    "left": "20",
    "top": "70",
    "zIndex": "10",
    "reportFormsSqlType": "普通数据模式",
    "reportFormsDataType": "不跟随数据库变动",
    "reportFormsTableType": false,
    "reportFormsTableRowsSize": "小尺寸",
    "reportFormsTableLine": "普通风格",
    "reportFormsTableHead": "[{\"数据\":[{\"内容\":\"名称\",\"合并行\":2,\"合并列\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"规格型号\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"数量\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"单位\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"单价\",\"合并行\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"金额\",\"水平对齐-居中\":\"居中对齐\",\"合并列\":8},{\"内容\":\"备注\",\"水平对齐-居中\":\"居中对齐\",\"合并行\":2}]},{\"数据\":[{\"内容\":\"拾\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"万\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"仟\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"佰\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"拾\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"元\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"角\",\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\"分\",\"水平对齐-居中\":\"居中对齐\"}]}]",
    "reportFormsTableHeadToolJson": {
      "宽度": 100,
      "高度": 100,
      "内容": "",
      "字体": "微软雅黑",
      "字体尺寸": 14,
      "背景色": "#FFFFFF",
      "文本色": "#000000",
      "元素ID": "",
      "允许输入": true,
      "合并行": 0,
      "合并列": 0,
      "垂直对齐-居中": "居中对齐",
      "垂直对齐-顶部": "顶部对齐",
      "垂直对齐-底部": "底部对齐",
      "水平对齐-居中": "居中对齐",
      "水平对齐-左侧": "左侧对齐",
      "水平对齐-右侧": "右侧对齐",
      "字体类型-加粗": "粗体",
      "字体类型-正常": "正常",
      "自定义CSS": ""
    },
    "reportFormsTableData": "[{\"数据\":[{\"内容\":1,\"宽度\":20,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \",\"宽度\":80},{\"内容\":\" \",\"宽度\":80},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"宽度\":20},{\"内容\":\" \",\"合并行\":6,\"宽度\":80}]},{\"数据\":[{\"内容\":2,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":3,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":4,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":5,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":6,\"水平对齐-居中\":\"居中对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":\"合计:\",\"合并列\":6,\"水平对齐-右侧\":\"右侧对齐\"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"},{\"内容\":\" \"}]},{\"数据\":[{\"内容\":\"金额大写(大写):\",\"合并列\":3,\"水平对齐-右侧\":\"右侧对齐\"},{\"内容\":\"        万        仟        佰        拾        元        角        分\",\"水平对齐-左侧\":\"左侧对齐\",\"合并列\":12}]}]",
    "reportFormsTableDataToolJson": {
      "宽度": 100,
      "高度": 100,
      "内容": "",
      "字体": "微软雅黑",
      "字体尺寸": 14,
      "背景色": "#FFFFFF",
      "文本色": "#000000",
      "元素ID": "",
      "允许输入": true,
      "合并行": 0,
      "合并列": 0,
      "垂直对齐-居中": "居中对齐",
      "垂直对齐-顶部": "顶部对齐",
      "垂直对齐-底部": "底部对齐",
      "水平对齐-居中": "居中对齐",
      "水平对齐-左侧": "左侧对齐",
      "水平对齐-右侧": "右侧对齐",
      "字体类型-加粗": "粗体",
      "字体类型-正常": "正常",
      "自定义CSS": ""
    },
    "reportFormsSqlCode_NoBut": "",
    "reportFormsSqlDataName": "[]",
    "reportFormsCode_NoBut": "",
    "grid": false
  }
}

也可以直接下载文件手动复制代码到布局导入中:收据.zip

默认排序
Generic placeholder image
Generic placeholder image
快码FOF编程 Time: 2024-01-13 19:49:25

收据设计器源码


收据报表设计器界面源码