diff --git a/DM_Weight/ReportTemp/use_jiaojie.grf b/DM_Weight/ReportTemp/use_jiaojie.grf new file mode 100644 index 0000000..7794a61 --- /dev/null +++ b/DM_Weight/ReportTemp/use_jiaojie.grf @@ -0,0 +1,531 @@ +{ + "Version":"6.8.1.1", + "Font":{ + "Name":"宋体", + "Size":105000, + "Weight":400, + "Charset":134 + }, + "Printer":{ + "Oriention":"Landscape", + "LeftMargin":1, + "TopMargin":1.42875, + "RightMargin":1, + "BottomMargin":1.8 + }, + "DetailGrid":{ + "CenterView":true, + "IsCrossTab":true, + "FixCols":2, + "AppendBlankRow":true, + "Recordset":{ + "Field":[ + { + "Name":"DMYear" + }, + { + "Name":"DMMonth" + }, + { + "Name":"DMDay" + }, + { + "Name":"TotalBaseNum" + }, + { + "Name":"OperationTime" + }, + { + "Name":"SendUser" + }, + { + "Name":"ReceiveUser" + }, + { + "Name":"SendNum" + }, + { + "Name":"InfactNum" + }, + { + "Name":"EmptyNum" + }, + { + "Name":"ReturnTime" + }, + { + "Name":"ReturnUser" + }, + { + "Name":"ReturnReceiveUser" + }, + { + "Name":"AddUser" + }, + { + "Name":"AddCheckUser" + }, + { + "Name":"drugId" + }, + { + "Name":"drugName" + }, + { + "Name":"drugSpec" + } + ] + }, + "Column":[ + { + "Name":"Column4" + }, + { + "Name":"Column6" + }, + { + "Name":"Column31" + }, + { + "Name":"Column14" + }, + { + "Name":"Column19" + }, + { + "Name":"Column20" + }, + { + "Name":"Column22" + }, + { + "Name":"Column23" + }, + { + "Name":"Column24" + } + ], + "ColumnContent":{ + "Height":2.19604, + "ColumnContentCell":[ + { + "Column":"Column4" + }, + { + "Column":"Column6" + }, + { + "Column":"Column31" + }, + { + "Column":"Column14" + }, + { + "Column":"Column19" + }, + { + "Column":"Column20" + }, + { + "Column":"Column22" + }, + { + "Column":"Column23" + }, + { + "Column":"Column24" + } + ] + }, + "ColumnTitle":{ + "Height":3.96875, + "RepeatStyle":"OnGroupHeaderPage", + "ColumnTitleCell":[ + { + "GroupTitle":true, + "Name":"Column3", + "ColumnTitleCell":[ + { + "GroupTitle":true, + "Name":"Column12", + "ColumnTitleCell":[ + { + "GroupTitle":true, + "Name":"Column25", + "ColumnTitleCell":[ + { + "GroupTitle":true, + "Name":"Column26", + "ColumnTitleCell":[ + { + "GroupTitle":false, + "Column":"Column4", + "TextAlign":"BottomCenter", + "Text":"发药时间" + }, + { + "GroupTitle":false, + "Column":"Column6", + "TextAlign":"BottomCenter", + "Text":"发药者" + } + ], + "TextAlign":"MiddleRight", + "Text":"交接状态", + "BorderCustom":true, + "Border":{ + "Styles":"[DrawBottom]" + } + } + ] + } + ], + "TextAlign":"MiddleCenter", + "Text":"药品信息", + "BorderCustom":true, + "Border":{ + "Styles":"[DrawRight]" + } + } + ], + "BorderCustom":true, + "Border":{ + "Styles":"[DrawRight]" + } + }, + { + "GroupTitle":true, + "Name":"Column27", + "ColumnTitleCell":[ + { + "GroupTitle":true, + "Name":"Column28", + "ColumnTitleCell":[ + { + "GroupTitle":true, + "Name":"Column29", + "ColumnTitleCell":[ + { + "GroupTitle":true, + "Name":"Column30", + "ColumnTitleCell":[ + { + "GroupTitle":false, + "Column":"Column31", + "TextAlign":"BottomCenter", + "Text":"领药者" + } + ] + } + ], + "TextAlign":"MiddleCenter", + "Text":"总基数" + } + ], + "TextAlign":"MiddleCenter", + "Text":"规格" + } + ], + "TextAlign":"MiddleCenter", + "Text":"品名" + }, + { + "GroupTitle":true, + "Name":"Column32", + "ColumnTitleCell":[ + { + "GroupTitle":true, + "Name":"Column33", + "ColumnTitleCell":[ + { + "GroupTitle":true, + "Name":"Column34", + "ColumnTitleCell":[ + { + "GroupTitle":true, + "Name":"Column35", + "ColumnTitleCell":[ + { + "GroupTitle":false, + "Column":"Column14", + "TextAlign":"BottomCenter", + "Text":"实发数" + }, + { + "GroupTitle":false, + "Column":"Column19", + "TextAlign":"BottomCenter", + "Text":"实物数" + }, + { + "GroupTitle":false, + "Column":"Column20", + "TextAlign":"BottomCenter", + "Text":"空安瓿" + } + ], + "FreeCell":true, + "Control":[ + { + "Type":"StaticBox", + "Name":"StaticBox1", + "Width":2.98979, + "Height":1.00542, + "Border":{ + "Styles":"[DrawRight]" + }, + "TextAlign":"MiddleCenter", + "Text":"发药" + }, + { + "Type":"StaticBox", + "Name":"StaticBox2", + "Left":2.98979, + "Width":6.00604, + "Height":1.00542, + "TextAlign":"MiddleCenter", + "Text":"还药" + } + ] + } + ], + "Text":"[#TotalNum#]" + } + ], + "Text":"[#drugSpec#]" + } + ], + "Text":"[drugName]" + }, + { + "GroupTitle":false, + "Column":"Column22", + "TextAlign":"BottomCenter", + "Text":"还药时间" + }, + { + "GroupTitle":false, + "Column":"Column23", + "TextAlign":"BottomCenter", + "Text":"还药者" + }, + { + "GroupTitle":false, + "Column":"Column24", + "TextAlign":"BottomCenter", + "Text":"接收者" + } + ] + }, + "Group":[ + { + "Name":"Group1", + "ByFields":"drugId", + "GroupHeader":{ + }, + "GroupFooter":{ + "Height":2.40771, + "Control":[ + { + "Type":"StaticBox", + "Name":"StaticBox4", + "AlignColumn":"Column31", + "AlignColumnEx":"Column4", + "Width":8.96938, + "Height":2, + "Border":{ + "Styles":"[DrawRight]" + }, + "TextAlign":"MiddleCenter", + "Text":"日消耗总计(支)" + }, + { + "Type":"StaticBox", + "Name":"StaticBox5", + "AlignColumn":"Column14", + "Left":8.96938, + "Width":2.98979, + "Height":1, + "Border":{ + "Styles":"[DrawRight|DrawBottom]" + }, + "Text":"StaticBox5" + }, + { + "Type":"StaticBox", + "Name":"StaticBox6", + "AlignColumn":"Column19", + "Left":11.9592, + "Width":2.99, + "Height":1, + "Border":{ + "Styles":"[DrawRight|DrawBottom]" + }, + "Text":"StaticBox6" + }, + { + "Type":"StaticBox", + "Name":"StaticBox7", + "AlignColumn":"Column20", + "Left":14.949, + "Width":2.99, + "Height":1, + "Border":{ + "Styles":"[DrawRight|DrawBottom]" + }, + "Text":"StaticBox7" + }, + { + "Type":"MemoBox", + "Name":"MemoBox2", + "AlignColumn":"Column14", + "Left":8.96938, + "Top":1.00542, + "Width":2.9898, + "Height":1, + "Border":{ + "Styles":"[DrawRight]" + }, + "Text":"[#Sum(EmptyNum)#]" + }, + { + "Type":"MemoBox", + "Name":"MemoBox3", + "AlignColumn":"Column19", + "Left":11.9592, + "Top":1.0054, + "Width":2.98979, + "Height":1, + "Border":{ + "Styles":"[DrawRight]" + }, + "Text":"[#Sum(SendNum-InfactNum)#]" + }, + { + "Type":"MemoBox", + "Name":"MemoBox4", + "AlignColumn":"Column20", + "Left":14.949, + "Top":1.0054, + "Width":2.98979, + "Height":1, + "Border":{ + "Styles":"[DrawRight]" + }, + "Text":"[#Sum(SendNum-InfactNum)#]" + }, + { + "Type":"StaticBox", + "Name":"StaticBox8", + "AlignColumn":"Column22", + "AlignColumnEx":"Column23", + "Left":17.9388, + "Width":5.97958, + "Height":1, + "Border":{ + "Styles":"[DrawRight|DrawBottom]" + }, + "Text":"补充者" + }, + { + "Type":"StaticBox", + "Name":"StaticBox9", + "AlignColumn":"Column24", + "Left":23.9183, + "Width":2.98979, + "Height":1, + "Border":{ + "Styles":"[DrawRight|DrawBottom]" + }, + "Text":"核对者" + }, + { + "Type":"MemoBox", + "Name":"MemoBox5", + "AlignColumn":"Column22", + "AlignColumnEx":"Column23", + "Left":17.9388, + "Top":1.0054, + "Width":5.97958, + "Height":1.00542, + "Border":{ + "Styles":"[DrawRight]" + }, + "Text":"[#AddUser#]" + }, + { + "Type":"MemoBox", + "Name":"MemoBox6", + "AlignColumn":"Column24", + "Left":23.9183, + "Top":1.00542, + "Width":2.96333, + "Height":1.00542, + "Border":{ + "Styles":"[DrawRight]" + }, + "Text":"[#AddCheckUser#]" + } + ] + } + } + ], + "CrossTab":{ + "PercentFormat":"0.##%", + "HCrossFields":"drugId", + "VCrossFields":"OperationTime", + "ListCols":3, + "TotalCols":3 + } + }, + "Parameter":[ + { + "Name":"machine_id" + }, + { + "Name":"startDate", + "DataType":"DateTime" + }, + { + "Name":"endDate", + "DataType":"DateTime" + } + ], + "ReportHeader":[ + { + "Name":"ReportHeader1", + "Height":1.79917, + "Control":[ + { + "Type":"MemoBox", + "Name":"MemoBox1", + "Dock":"Fill", + "Center":"Both", + "Font":{ + "Name":"宋体", + "Size":262500, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "Text":"麻醉科小药箱麻醉、精神药品(注射剂)使用与交接记录([#Year#])年" + } + ], + "RepeatOnPage":true + }, + { + "Name":"ReportHeader2", + "Height":0.608542, + "Control":[ + { + "Type":"StaticBox", + "Name":"StaticBox3", + "Left":24.7915, + "Width":4.81542, + "Height":0.608542, + "Text":"[#DMYear#]年[#DMMonth#]月" + } + ] + } + ] +} \ No newline at end of file