HKC/DM_Weight/ReportTemp/use_jiaojie_New.grf

805 lines
16 KiB
Plaintext

{
"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,
"AppendBlankRowAtLast":true,
"Recordset":{
"Field":[
{
"Name":"DMYear",
"Type":"Integer"
},
{
"Name":"DMMonth",
"Type":"Integer"
},
{
"Name":"DMDay",
"Type":"Integer"
},
{
"Name":"TotalNum"
},
{
"Name":"Senddate",
"Type":"DateTime",
"Format":"HH:mm"
},
{
"Name":"SendUser"
},
{
"Name":"ReceiveUser"
},
{
"Name":"SendNum",
"Type":"Integer"
},
{
"Name":"InfactNum",
"Type":"Integer"
},
{
"Name":"EmptyNum",
"Type":"Integer"
},
{
"Name":"ReturnDate",
"Format":"HH:mm"
},
{
"Name":"ReturnUser"
},
{
"Name":"ReturnReceiveUser"
},
{
"Name":"AddUser"
},
{
"Name":"AddCheckUser"
},
{
"Name":"drugId"
},
{
"Name":"drugName"
},
{
"Name":"drugSpec"
},
{
"Name":"drawerno",
"Type":"Integer"
},
{
"Name":"安瓿",
"Type":"Integer",
"DBFieldName":"usebottle"
},
{
"Name":"处方",
"Type":"Integer",
"DBFieldName":"useorderno"
},
{
"Name":"补充",
"Type":"Integer",
"DBFieldName":"useadd"
},
{
"Name":"补充者",
"DBFieldName":"AddUser"
},
{
"Name":"核对者",
"DBFieldName":"AddCheckUser"
},
{
"Name":"SenddateMonthDay"
},
{
"Name":"ID",
"DBFieldName":" ID"
}
]
},
"Column":[
{
"Name":"Column4"
},
{
"Name":"Column6"
},
{
"Name":"Column31"
},
{
"Name":"Column14"
},
{
"Name":"Column19",
"Width":3.01625
},
{
"Name":"Column20"
},
{
"Name":"Column36"
},
{
"Name":"Column23"
},
{
"Name":"Column24"
}
],
"ColumnContent":{
"Height":2.19604,
"ColumnContentCell":[
{
"Column":"Column4",
"TextAlign":"MiddleCenter",
"DataField":"Senddate"
},
{
"Column":"Column6",
"TextAlign":"MiddleCenter",
"DataField":"SendUser"
},
{
"Column":"Column31",
"TextAlign":"MiddleCenter",
"DataField":"ReceiveUser"
},
{
"Column":"Column14",
"TextAlign":"MiddleCenter",
"DataField":"SendNum"
},
{
"Column":"Column19",
"TextAlign":"MiddleCenter",
"DataField":"InfactNum"
},
{
"Column":"Column20",
"TextAlign":"MiddleCenter",
"DataField":"EmptyNum"
},
{
"Column":"Column36",
"TextAlign":"MiddleCenter",
"DataField":"ReturnDate"
},
{
"Column":"Column23",
"TextAlign":"MiddleCenter",
"DataField":"ReturnUser"
},
{
"Column":"Column24",
"TextAlign":"MiddleCenter",
"DataField":"ReturnReceiveUser"
}
]
},
"ColumnTitle":{
"Height":4.10104,
"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":"发药\r\n时间"
},
{
"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":"品名",
"ColumnTitleCell":[
{
"GroupTitle":true,
"Name":"规格",
"ColumnTitleCell":[
{
"GroupTitle":true,
"Name":"总基数",
"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":"drugname",
"ColumnTitleCell":[
{
"GroupTitle":true,
"Name":"drugspec",
"ColumnTitleCell":[
{
"GroupTitle":true,
"Name":"totalnum",
"ColumnTitleCell":[
{
"GroupTitle":true,
"Name":"发药",
"ColumnTitleCell":[
{
"GroupTitle":false,
"Column":"Column14",
"TextAlign":"BottomCenter",
"Text":"实\r\n发\r\n数"
}
],
"TextAlign":"MiddleCenter",
"Text":"发药"
},
{
"GroupTitle":true,
"Name":"还药",
"ColumnTitleCell":[
{
"GroupTitle":false,
"Column":"Column19",
"TextAlign":"BottomCenter",
"Text":"实\r\n物\r\n数"
},
{
"GroupTitle":false,
"Column":"Column20",
"TextAlign":"BottomCenter",
"Text":"空\r\n安\r\n瓿"
}
],
"TextAlign":"MiddleCenter",
"Text":"还药"
}
],
"TextAlign":"MiddleCenter",
"Text":"[#TotalNum#]"
}
],
"TextAlign":"MiddleCenter",
"Text":"[#drugSpec#]"
}
],
"TextAlign":"MiddleCenter",
"Text":"[#drugName#]"
},
{
"GroupTitle":false,
"Column":"Column36",
"TextAlign":"BottomCenter",
"Text":"还药\r\n时间"
},
{
"GroupTitle":false,
"Column":"Column23",
"TextAlign":"BottomCenter",
"Text":"还药者"
},
{
"GroupTitle":false,
"Column":"Column24",
"TextAlign":"BottomCenter",
"Text":"接收者"
}
]
},
"Group":[
{
"Name":"Group1",
"ByFields":"SenddateMonthDay",
"GroupHeader":{
"Height":0.79375,
"PrintGridBorder":false,
"Control":[
{
"Type":"MemoBox",
"Name":"MemoBox17",
"AlignColumnSide":"Right",
"Left":19.3675,
"Top":0.211667,
"Width":7.59354,
"Height":0.396875,
"TextAlign":"MiddleRight",
"Text":"[#DMMonth#]月[#DMDay#]日"
}
]
},
"GroupFooter":{
"Height":2,
"RepeatOnPage":true,
"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]"
},
"TextAlign":"BottomCenter",
"Text":"安瓿"
},
{
"Type":"StaticBox",
"Name":"StaticBox6",
"AlignColumn":"Column19",
"Left":11.9592,
"Width":3.01625,
"Height":1,
"Border":{
"Styles":"[DrawRight|DrawBottom]"
},
"TextAlign":"BottomCenter",
"Text":"处方"
},
{
"Type":"StaticBox",
"Name":"StaticBox7",
"AlignColumn":"Column20",
"Left":14.9754,
"Width":2.98979,
"Height":1,
"Border":{
"Styles":"[DrawRight|DrawBottom]"
},
"TextAlign":"BottomCenter",
"Text":"补充"
},
{
"Type":"StaticBox",
"Name":"StaticBox9",
"Anchor":"[Left|Top|Right]",
"ShiftMode":"Never",
"AlignColumn":"Column24",
"Left":23.9448,
"Width":2.98979,
"Height":1,
"Border":{
"Styles":"[DrawRight|DrawBottom]"
},
"TextAlign":"BottomCenter",
"Text":"核对者"
},
{
"Type":"FieldBox",
"Name":"FieldBox5",
"ShiftMode":"Never",
"AlignColumn":"Column24",
"Left":23.9448,
"Top":1.00542,
"Width":2.98979,
"Height":1,
"Border":{
"Styles":"[DrawRight]"
},
"TextAlign":"MiddleCenter",
"DataField":"核对者"
},
{
"Type":"MemoBox",
"Name":"MemoBox18",
"AlignColumn":"Column14",
"Left":8.96938,
"Top":1.00542,
"Width":2.99,
"Height":1,
"Border":{
"Styles":"[DrawRight]"
},
"TextAlign":"MiddleCenter",
"Text":"[#Sum(EmptyNum)#]"
},
{
"Type":"MemoBox",
"Name":"MemoBox19",
"AlignColumn":"Column19",
"Left":11.9592,
"Top":1.00542,
"Width":3.01625,
"Height":1,
"Border":{
"Styles":"[DrawRight]"
},
"TextAlign":"MiddleCenter",
"Text":"[#Sum(EmptyNum)#]"
},
{
"Type":"MemoBox",
"Name":"MemoBox20",
"AlignColumn":"Column20",
"Left":14.9754,
"Top":1.00542,
"Width":2.98979,
"Height":1,
"Border":{
"Styles":"[DrawRight]"
},
"TextAlign":"MiddleCenter",
"Text":"[#Sum(EmptyNum)#]"
},
{
"Type":"StaticBox",
"Name":"StaticBox17",
"Anchor":"[]",
"ShiftMode":"Never",
"AlignColumn":"Column36",
"AlignColumnEx":"Column23",
"Left":17.9652,
"Width":5.95313,
"Height":1.00542,
"Border":{
"Styles":"[DrawBottom]"
},
"TextAlign":"BottomRight",
"Text":"补充者"
},
{
"Type":"FieldBox",
"Name":"FieldBox6",
"ShiftMode":"Never",
"AlignColumn":"Column36",
"AlignColumnEx":"Column23",
"Left":17.9652,
"Top":1.00542,
"Width":5.95313,
"Height":1.01,
"TextAlign":"MiddleRight",
"DataField":"补充者"
},
{
"Type":"MemoBox",
"Name":"MemoBox21",
"AlignColumn":"Column23",
"Left":20.955,
"Width":2.98979,
"Height":1.01,
"Border":{
"Styles":"[DrawRight|DrawBottom]"
},
"TextAlign":"MiddleCenter"
},
{
"Type":"StaticBox",
"Name":"StaticBox18",
"AlignColumn":"Column23",
"Left":20.955,
"Top":1.00542,
"Width":2.98979,
"Height":1.01,
"Border":{
"Styles":"[DrawRight]"
},
"TextAlign":"MiddleCenter"
}
],
"AppendBlankRowExclude":true
}
}
],
"CrossTab":{
"PercentFormat":"0.##%",
"HCrossFields":"drugId",
"VCrossFields":"Senddate;ReturnDate",
"ListCols":3,
"TotalCols":3,
"TotalExcludeColumns":"Column36;Column23;Column24"
}
},
"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":217500,
"Bold":true,
"Charset":134
},
"ShrinkFontToFit":true,
"TextAlign":"MiddleCenter",
"Text":"麻醉科小药箱麻醉、精神药品(注射剂)使用与交接记录([#DMYear#])年"
}
],
"RepeatOnPage":true
},
{
"Name":"ReportHeader2",
"Height":0,
"Control":[
{
"Type":"MemoBox",
"Name":"MemoBox7",
"AlignColumnSide":"Right",
"Left":19.394,
"Top":0.211667,
"Width":7.59354,
"Height":0.396875,
"TextAlign":"MiddleRight",
"Text":"[#DMMonth#]月[#DMDay#]日"
}
]
}
],
"ReportFooter":[
{
"Name":"ReportFooter1",
"Visible":false,
"KeepTogether":false,
"Height":0,
"Control":[
{
"Type":"StaticBox",
"Name":"StaticBox11",
"AlignColumn":"Column31",
"AlignColumnEx":"Column4",
"Width":8.99583,
"Height":2,
"Border":{
"Styles":"[DrawLeft|DrawRight|DrawBottom]"
},
"TextAlign":"MiddleCenter",
"Text":"日消耗总计(支)"
},
{
"Type":"StaticBox",
"Name":"StaticBox12",
"AlignColumn":"Column24",
"Left":23.9448,
"Width":3.01625,
"Height":1,
"Border":{
"Styles":"[DrawLeft|DrawRight|DrawBottom]"
},
"TextAlign":"BottomCenter",
"Text":"核对者"
},
{
"Type":"StaticBox",
"Name":"StaticBox13",
"AlignColumn":"Column14",
"Left":8.99583,
"Width":2.98979,
"Height":1,
"Border":{
"Styles":"[DrawRight|DrawBottom]"
},
"TextAlign":"BottomCenter",
"Text":"安瓿"
},
{
"Type":"MemoBox",
"Name":"MemoBox12",
"AlignColumn":"Column14",
"Left":8.99583,
"Top":1.00542,
"Width":2.9898,
"Height":1,
"Border":{
"Styles":"[DrawRight|DrawBottom]"
},
"TextAlign":"MiddleCenter",
"Text":"[#安瓿#]"
},
{
"Type":"StaticBox",
"Name":"StaticBox14",
"AlignColumn":"Column19",
"Left":11.9856,
"Width":3.01625,
"Height":1,
"Border":{
"Styles":"[DrawRight|DrawBottom]"
},
"TextAlign":"BottomCenter",
"Text":"处方"
},
{
"Type":"MemoBox",
"Name":"MemoBox13",
"AlignColumn":"Column19",
"Left":11.9856,
"Top":1.00542,
"Width":3.01625,
"Height":1,
"Border":{
"Styles":"[DrawRight|DrawBottom]"
},
"TextAlign":"MiddleCenter",
"Text":"[#处方#]"
},
{
"Type":"StaticBox",
"Name":"StaticBox15",
"AlignColumn":"Column20",
"Left":15.0019,
"Width":2.98979,
"Height":1,
"Border":{
"Styles":"[DrawRight|DrawBottom]"
},
"TextAlign":"BottomCenter",
"Text":"补充"
},
{
"Type":"MemoBox",
"Name":"MemoBox14",
"AlignColumn":"Column20",
"Left":15.0019,
"Top":1.00542,
"Width":2.98979,
"Height":1,
"Border":{
"Styles":"[DrawRight|DrawBottom]"
},
"TextAlign":"MiddleCenter",
"Text":"[#补充#]"
},
{
"Type":"StaticBox",
"Name":"StaticBox16",
"AlignColumn":"Column36",
"AlignColumnEx":"Column23",
"Left":17.9917,
"Width":5.95313,
"Height":1,
"Border":{
"Styles":"[DrawBottom]"
},
"TextAlign":"BottomCenter",
"Text":"补充者"
},
{
"Type":"MemoBox",
"Name":"MemoBox15",
"AlignColumn":"Column36",
"AlignColumnEx":"Column23",
"Left":17.9917,
"Top":1.00542,
"Width":5.95313,
"Height":1,
"Border":{
"Styles":"[DrawBottom]"
},
"TextAlign":"MiddleCenter",
"Text":"[#补充者#]"
},
{
"Type":"MemoBox",
"Name":"MemoBox16",
"AlignColumn":"Column24",
"Left":23.9448,
"Top":1.00542,
"Width":3.02,
"Height":1,
"Border":{
"Styles":"[DrawLeft|DrawRight|DrawBottom]"
},
"TextAlign":"MiddleCenter",
"Text":"[#核对者#]"
}
],
"CenterWithDetailGrid":false
}
]
}