78 次浏览【转载需注明来源】
{"version":"1.0.0","formName":"表单示例","Author":"快码编程UI设计器","formId":"formPreviewForm","generateId":16,"data":[{"id":"reportFormsHead_1","index":0,"tag":"grid","title":"报表头","tagIcon":"layui-icon layui-icon-layer","grid":true,"span":2,"width":"789.688","height":121,"margin":"","padding":"","left":0,"top":0,"zIndex":1,"position":"","columns":[{"span":1,"list":[{"id":"textBox_2","index":0,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"420","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":147,"top":10,"zIndex":"1","TextValue":"泉州鲤城兴贤医院门诊费用明细清单","TextSize":"20","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1"},{"id":"textBox_4","index":1,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"77","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":20,"top":40,"zIndex":"1","TextValue":"姓 名: ","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":"","left2":33,"top2":40},{"id":"input_5","index":2,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":"69","height":30,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":119,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_6","index":3,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":57,"height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":193.844,"top":40,"zIndex":"1","TextValue":"性别:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_7","index":4,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":53,"height":30,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":262.844,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_8","index":5,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"85","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":324.844,"top":40,"zIndex":"1","TextValue":"支付类型:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_9","index":6,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":83,"height":30,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":424,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_10","index":7,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"62","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":526,"top":40,"zIndex":"1","TextValue":"卡号:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_11","index":8,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":"167","height":"30","inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":594,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_12","index":9,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"77","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":20,"top":76,"zIndex":"1","TextValue":"统计日期:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_13","index":10,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":"379","height":32,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":119,"top":76,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"}]}],"remoteOptionText":"options.data.dictName","remoteOptionValue":"options.data.dictId","options":[{"text":"份数","value":"12","checked":true,"TypeName":"栅格布局器"}],"defaultoption":{"text":"份数","value":"1","checked":false,"TypeName":"栅格布局器"},"space":"","borderRadius":"","backgroundColor":"","backgroundImage":"","backgroundSize":""},{"id":"reportFormsTable_16","index":1,"tag":"reportFormsTable","tagIcon":"layui-icon layui-icon-picture","title":"打印表格","width":"787.688","height":996,"margin":"","padding":"","left":1.1368683772161603e-13,"top":121,"zIndex":2,"reportFormsColumn":1,"reportFormsRow":false,"reportFormsColumnMargin":"5","reportFormsSqlType":"普通数据模式","reportFormsDataType":"跟随数据库变动","reportFormsTableType":false,"reportFormsTableRowsSize":"默认尺寸","reportFormsTableLine":"","reportFormsTableHead":"[{\"数据\":[{\"内容\":\"序号\"},{\"内容\":\"录入时间\",\"宽度\":100},{\"内容\":\"收费时间\"},{\"内容\":\"HIS编码\",\"宽度\":100},{\"内容\":\"费用名称\"},{\"内容\":\"单位\"},{\"内容\":\"单价\"},{\"内容\":\"数量\"},{\"内容\":\"金额\"},{\"内容\":\"收费人\"}]}]","reportFormsTableHeadToolJson":{"宽度":100,"高度":100,"内容":"","字体":"微软雅黑","字体尺寸":14,"背景色":"#FFFFFF","文本色":"#000000","元素ID":"","允许输入":true,"合并行":0,"合并列":0,"垂直对齐-居中":"居中对齐","垂直对齐-顶部":"顶部对齐","垂直对齐-底部":"底部对齐","水平对齐-居中":"居中对齐","水平对齐-左侧":"左侧对齐","水平对齐-右侧":"右侧对齐","字体类型-加粗":"粗体","字体类型-正常":"正常","边框颜色":"#000","边框粗细":1,"上边框颜色":"#000","上边框粗细":1,"右边框颜色":"#000","右边框粗细":1,"下边框颜色":"#000","下边框粗细":1,"左边框颜色":"#000","左边框粗细":1,"自定义CSS":""},"reportFormsTableData":"[{\"数据\":[{\"内容\":\"1\"},{\"内容\":\"2024-02-02 09:24:15\"},{\"内容\":\"2024-02-02 11:06:34\"},{\"内容\":\"N04002610132406\"},{\"内容\":\"艾司唑仑片(舒乐安定片)\"},{\"内容\":\"片\"},{\"内容\":\"0.4315\"},{\"内容\":\"14\"},{\"内容\":\"6.04\"},{\"内容\":\"704|丁超威\"}]},{\"数据\":[{\"内容\":\"2\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"012010001400\"},{\"内容\":\"一般专项护理\"},{\"内容\":\"次\"},{\"内容\":\"6\"},{\"内容\":\"2\"},{\"内容\":\"12\"},{\"内容\":\"704|丁超威\"}]},{\"数据\":[{\"内容\":\"3\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"012160000103\"},{\"内容\":\"留置导尿(次日起)\"},{\"内容\":\"日\"},{\"内容\":\"2\"},{\"内容\":\"1\"},{\"内容\":\"2\"},{\"内容\":\"704|丁超威\"}]},{\"数据\":[{\"内容\":\"4\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"012160000104\"},{\"内容\":\"留置导尿(更换引流袋)\"},{\"内容\":\"次\"},{\"内容\":\"3\"},{\"内容\":\"1\"},{\"内容\":\"3\"},{\"内容\":\"704|丁超威\"}]},{\"数据\":[{\"内容\":\"5\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"960047000390\"},{\"内容\":\"一次性使用防逆流引流袋\"},{\"内容\":\"支\"},{\"内容\":\"18.36\"},{\"内容\":\"1\"},{\"内容\":\"18.36\"},{\"内容\":\"704|丁超威\"}]},{\"数据\":[{\"内容\":\"6\"},{\"内容\":\"2024-02-26 10:58:47\"},{\"内容\":\"2024-02-26 10:58:47\"},{\"内容\":\"011020000120\"},{\"内容\":\"普通门诊诊查费(主治医师)\"},{\"内容\":\"次\"},{\"内容\":\"20\"},{\"内容\":\"1\"},{\"内容\":\"20\"},{\"内容\":\"367|李文睿\"}]}]","reportFormsTableDataToolJson":{"宽度":100,"高度":100,"内容":"","字体":"微软雅黑","字体尺寸":14,"背景色":"#FFFFFF","文本色":"#000000","元素ID":"","允许输入":true,"合并行":0,"合并列":0,"垂直对齐-居中":"居中对齐","垂直对齐-顶部":"顶部对齐","垂直对齐-底部":"底部对齐","水平对齐-居中":"居中对齐","水平对齐-左侧":"左侧对齐","水平对齐-右侧":"右侧对齐","字体类型-加粗":"粗体","字体类型-正常":"正常","边框颜色":"#000","边框粗细":1,"上边框颜色":"#000","上边框粗细":1,"右边框颜色":"#000","右边框粗细":1,"下边框颜色":"#000","下边框粗细":1,"左边框颜色":"#000","左边框粗细":1,"自定义CSS":""},"reportFormsStyle":"{\"边框颜色\": \"#eee\"}","reportFormsStyleToolJson":{"宽度":100,"高度":100,"字体":"微软雅黑","字体尺寸":14,"背景色":"#FFFFFF","文本色":"#000000","水平对齐-居中":"居中对齐","水平对齐-左侧":"左侧对齐","水平对齐-右侧":"右侧对齐","字体类型-加粗":"粗体","字体类型-正常":"正常","边框颜色":"#000","上边框颜色":"#000","右边框颜色":"#000","下边框颜色":"#000","左边框颜色":"#000","自定义CSS":"","上级组件ID":"","上级组件ID间隔":"10","上级组件加载时间":"100"},"reportFormsSqlCode_NoBut":"","reportFormsSqlDataName":"[]","reportFormsCode_NoBut":"","grid":false}],"optionsArray":[{"id":"reportFormsHead_1","index":0,"tag":"grid","title":"报表头","tagIcon":"layui-icon layui-icon-layer","grid":true,"span":2,"width":"789.688","height":121,"margin":"","padding":"","left":0,"top":0,"zIndex":1,"position":"","columns":[{"span":1,"list":[{"id":"textBox_2","index":0,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"420","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":147,"top":10,"zIndex":"1","TextValue":"泉州鲤城兴贤医院门诊费用明细清单","TextSize":"20","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1"},{"id":"textBox_4","index":1,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"77","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":20,"top":40,"zIndex":"1","TextValue":"姓 名: ","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":"","left2":33,"top2":40},{"id":"input_5","index":2,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":"69","height":30,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":119,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_6","index":3,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":57,"height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":193.844,"top":40,"zIndex":"1","TextValue":"性别:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_7","index":4,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":53,"height":30,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":262.844,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_8","index":5,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"85","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":324.844,"top":40,"zIndex":"1","TextValue":"支付类型:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_9","index":6,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":83,"height":30,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":424,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_10","index":7,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"62","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":526,"top":40,"zIndex":"1","TextValue":"卡号:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_11","index":8,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":"167","height":"30","inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":594,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_12","index":9,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"77","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":20,"top":76,"zIndex":"1","TextValue":"统计日期:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_13","index":10,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":"379","height":32,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":119,"top":76,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"}]}],"remoteOptionText":"options.data.dictName","remoteOptionValue":"options.data.dictId","options":[{"text":"份数","value":"12","checked":true,"TypeName":"栅格布局器"}],"defaultoption":{"text":"份数","value":"1","checked":false,"TypeName":"栅格布局器"},"space":"","borderRadius":"","backgroundColor":"","backgroundImage":"","backgroundSize":""},{"id":"textBox_2","index":0,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"420","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":147,"top":10,"zIndex":"1","TextValue":"泉州鲤城兴贤医院门诊费用明细清单","TextSize":"20","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1"},{"id":"textBox_4","index":1,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"77","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":20,"top":40,"zIndex":"1","TextValue":"姓 名: ","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":"","left2":33,"top2":40},{"id":"input_5","index":2,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":"69","height":30,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":119,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_6","index":3,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":57,"height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":193.844,"top":40,"zIndex":"1","TextValue":"性别:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_7","index":4,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":53,"height":30,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":262.844,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_8","index":5,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"85","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":324.844,"top":40,"zIndex":"1","TextValue":"支付类型:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_9","index":6,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":83,"height":30,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":424,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_10","index":7,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"62","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":526,"top":40,"zIndex":"1","TextValue":"卡号:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_11","index":8,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":"167","height":"30","inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":594,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"textBox_12","index":9,"tag":"textBox","tagIcon":"layui-icon layui-icon-picture","title":"文本框","width":"77","height":30,"margin":"","padding":"","transformRotate":"0","writingMode":"","left":20,"top":76,"zIndex":"1","TextValue":"统计日期:","TextSize":"15","fontFamily":"微软雅黑","textBoxDataType":"普通文本框","HorizontalAlignment":"center","VerticalAlignment":"center","BorderLineStyle":"","BorderLineSize":"1","BorderLineColor":"#000000","BackgroundValue":"","ColorValue":"#000","grid":false,"p_id":"reportFormsHead_1","placeholder":""},{"id":"input_13","index":10,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":"379","height":32,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":119,"top":76,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},{"id":"reportFormsTable_16","index":1,"tag":"reportFormsTable","tagIcon":"layui-icon layui-icon-picture","title":"打印表格","width":"787.688","height":996,"margin":"","padding":"","left":1.1368683772161603e-13,"top":121,"zIndex":2,"reportFormsColumn":1,"reportFormsRow":false,"reportFormsColumnMargin":"5","reportFormsSqlType":"普通数据模式","reportFormsDataType":"跟随数据库变动","reportFormsTableType":false,"reportFormsTableRowsSize":"默认尺寸","reportFormsTableLine":"","reportFormsTableHead":"[{\"数据\":[{\"内容\":\"序号\"},{\"内容\":\"录入时间\",\"宽度\":100},{\"内容\":\"收费时间\"},{\"内容\":\"HIS编码\",\"宽度\":100},{\"内容\":\"费用名称\"},{\"内容\":\"单位\"},{\"内容\":\"单价\"},{\"内容\":\"数量\"},{\"内容\":\"金额\"},{\"内容\":\"收费人\"}]}]","reportFormsTableHeadToolJson":{"宽度":100,"高度":100,"内容":"","字体":"微软雅黑","字体尺寸":14,"背景色":"#FFFFFF","文本色":"#000000","元素ID":"","允许输入":true,"合并行":0,"合并列":0,"垂直对齐-居中":"居中对齐","垂直对齐-顶部":"顶部对齐","垂直对齐-底部":"底部对齐","水平对齐-居中":"居中对齐","水平对齐-左侧":"左侧对齐","水平对齐-右侧":"右侧对齐","字体类型-加粗":"粗体","字体类型-正常":"正常","边框颜色":"#000","边框粗细":1,"上边框颜色":"#000","上边框粗细":1,"右边框颜色":"#000","右边框粗细":1,"下边框颜色":"#000","下边框粗细":1,"左边框颜色":"#000","左边框粗细":1,"自定义CSS":""},"reportFormsTableData":"[{\"数据\":[{\"内容\":\"1\"},{\"内容\":\"2024-02-02 09:24:15\"},{\"内容\":\"2024-02-02 11:06:34\"},{\"内容\":\"N04002610132406\"},{\"内容\":\"艾司唑仑片(舒乐安定片)\"},{\"内容\":\"片\"},{\"内容\":\"0.4315\"},{\"内容\":\"14\"},{\"内容\":\"6.04\"},{\"内容\":\"704|丁超威\"}]},{\"数据\":[{\"内容\":\"2\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"012010001400\"},{\"内容\":\"一般专项护理\"},{\"内容\":\"次\"},{\"内容\":\"6\"},{\"内容\":\"2\"},{\"内容\":\"12\"},{\"内容\":\"704|丁超威\"}]},{\"数据\":[{\"内容\":\"3\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"012160000103\"},{\"内容\":\"留置导尿(次日起)\"},{\"内容\":\"日\"},{\"内容\":\"2\"},{\"内容\":\"1\"},{\"内容\":\"2\"},{\"内容\":\"704|丁超威\"}]},{\"数据\":[{\"内容\":\"4\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"012160000104\"},{\"内容\":\"留置导尿(更换引流袋)\"},{\"内容\":\"次\"},{\"内容\":\"3\"},{\"内容\":\"1\"},{\"内容\":\"3\"},{\"内容\":\"704|丁超威\"}]},{\"数据\":[{\"内容\":\"5\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"2024-02-06 11:21:33\"},{\"内容\":\"960047000390\"},{\"内容\":\"一次性使用防逆流引流袋\"},{\"内容\":\"支\"},{\"内容\":\"18.36\"},{\"内容\":\"1\"},{\"内容\":\"18.36\"},{\"内容\":\"704|丁超威\"}]},{\"数据\":[{\"内容\":\"6\"},{\"内容\":\"2024-02-26 10:58:47\"},{\"内容\":\"2024-02-26 10:58:47\"},{\"内容\":\"011020000120\"},{\"内容\":\"普通门诊诊查费(主治医师)\"},{\"内容\":\"次\"},{\"内容\":\"20\"},{\"内容\":\"1\"},{\"内容\":\"20\"},{\"内容\":\"367|李文睿\"}]}]","reportFormsTableDataToolJson":{"宽度":100,"高度":100,"内容":"","字体":"微软雅黑","字体尺寸":14,"背景色":"#FFFFFF","文本色":"#000000","元素ID":"","允许输入":true,"合并行":0,"合并列":0,"垂直对齐-居中":"居中对齐","垂直对齐-顶部":"顶部对齐","垂直对齐-底部":"底部对齐","水平对齐-居中":"居中对齐","水平对齐-左侧":"左侧对齐","水平对齐-右侧":"右侧对齐","字体类型-加粗":"粗体","字体类型-正常":"正常","边框颜色":"#000","边框粗细":1,"上边框颜色":"#000","上边框粗细":1,"右边框颜色":"#000","右边框粗细":1,"下边框颜色":"#000","下边框粗细":1,"左边框颜色":"#000","左边框粗细":1,"自定义CSS":""},"reportFormsStyle":"{\"边框颜色\": \"#eee\"}","reportFormsStyleToolJson":{"宽度":100,"高度":100,"字体":"微软雅黑","字体尺寸":14,"背景色":"#FFFFFF","文本色":"#000000","水平对齐-居中":"居中对齐","水平对齐-左侧":"左侧对齐","水平对齐-右侧":"右侧对齐","字体类型-加粗":"粗体","字体类型-正常":"正常","边框颜色":"#000","上边框颜色":"#000","右边框颜色":"#000","下边框颜色":"#000","左边框颜色":"#000","自定义CSS":"","上级组件ID":"","上级组件ID间隔":"10","上级组件加载时间":"100"},"reportFormsSqlCode_NoBut":"","reportFormsSqlDataName":"[]","reportFormsCode_NoBut":"","grid":false}],"dataSource":{},"formData":{},"globalDisable":false,"viewOrDesign":true,"formDefaultButton":true,"formProperty":{},"selectItems":[],"model":"A4","page":{"id":""},"elem":{"0":{"sizzle1708905812357":{"undefined":{"parentNode":[1499,26,false]}},"sizzle1708905812520":{"undefined":{"parentNode":[33640,70,true]}}},"length":1},"id":"formdesigner","size":["21cm","29.7cm"],"selectItem":{"id":"input_5","index":2,"label":"单行文本","tag":"input","tagIcon":"layui-icon layui-icon-layer","width":"69","height":30,"inputType":"默认","margin":"","padding":"","hideLabel":true,"labelWidth":110,"left":119,"top":40,"zIndex":"1","placeholder":"","defaultValue":"","fontFamily":"微软雅黑","clearable":true,"maxlength":null,"showWordLimit":false,"readonly":false,"disabled":false,"p_id":"reportFormsHead_1"},"selectItemsAttr":false}
报表打印类.初始化打印();
定义函数 打印门诊明细() {
报表打印类.文本框_置内容("input_5", $("#姓名").设置或获取值());
报表打印类.预览打印页面({ "预览标题": "门诊明细", "打印地址": "@文件_门诊明细.js", "加载模式": 2, "高度": "600px", "宽度": "21.6cm" });
}
测试账号
1580****6580 Time: 2024-02-27 18:42:16
评论ID
快码FOF编程 Time: 2024-02-27 15:11:48
评论ID
经过测试 正常弹出。
这是测试源码文件:
注意:布局源码的名称和"预览标题": "门诊明细"这里的名称需要一致,具体你可以检查检查
快码FOF编程 Time: 2024-02-27 16:00:43
评论ID
顺带做了一个由服务端发送文件打印的案例:
快码FOF编程 Time: 2024-02-27 16:02:23
评论ID
注意:这里的名称需要与你源码中的预览标题一致