{
	"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":"日期",
					"Type":"DateTime",
					"Format":"yyyy年MM月dd日",
					"DBFieldName":"Ddate"
				},
				{
					"Name":"药品名称",
					"DBFieldName":"DrugName"
				},
				{
					"Name":"DrugId"
				},
				{
					"Name":"时间",
					"DBFieldName":"TDateTime"
				},
				{
					"Name":"实物",
					"DBFieldName":"Quantity"
				},
				{
					"Name":"处方",
					"DBFieldName":"OrderQuantity"
				},
				{
					"Name":"备注",
					"DBFieldName":"Remarks"
				},
				{
					"Name":"交班人",
					"DBFieldName":"FromUser"
				},
				{
					"Name":"接班人",
					"DBFieldName":"ToUser"
				},
				{
					"Name":"规格",
					"DBFieldName":"Spec"
				},
				{
					"Name":"基数",
					"DBFieldName":"BaseQuantity"
				}
			]
		},
		"Column":[
			{
				"Name":"日期"
			},
			{
				"Name":"时间"
			},
			{
				"Name":"实物"
			},
			{
				"Name":"处方"
			},
			{
				"Name":"备注"
			},
			{
				"Name":"交班人"
			},
			{
				"Name":"接班人"
			}
		],
		"ColumnContent":{
			"Height":0.79375,
			"ColumnContentCell":[
				{
					"Column":"日期",
					"TextAlign":"MiddleCenter",
					"DataField":"日期"
				},
				{
					"Column":"时间",
					"TextAlign":"MiddleCenter",
					"DataField":"时间"
				},
				{
					"Column":"实物",
					"TextAlign":"MiddleCenter",
					"DataField":"实物"
				},
				{
					"Column":"处方",
					"TextAlign":"MiddleCenter",
					"DataField":"处方"
				},
				{
					"Column":"备注",
					"TextAlign":"MiddleCenter",
					"DataField":"备注"
				},
				{
					"Column":"交班人",
					"TextAlign":"MiddleCenter",
					"DataField":"交班人"
				},
				{
					"Column":"接班人",
					"TextAlign":"MiddleCenter",
					"DataField":"接班人"
				}
			]
		},
		"ColumnTitle":{
			"Height":1.5875,
			"RepeatStyle":"OnPage",
			"ColumnTitleCell":[
				{
					"GroupTitle":true,
					"Name":"药品名称",
					"ColumnTitleCell":[
						{
							"GroupTitle":true,
							"Name":"药品规格",
							"ColumnTitleCell":[
								{
									"GroupTitle":true,
									"Name":"固定基数",
									"ColumnTitleCell":[
										{
											"GroupTitle":false,
											"Column":"日期",
											"TextAlign":"MiddleCenter",
											"Text":"日期"
										},
										{
											"GroupTitle":false,
											"Column":"时间",
											"TextAlign":"MiddleCenter",
											"Text":"时间"
										}
									],
									"TextAlign":"MiddleCenter",
									"Text":"固定基数"
								}
							],
							"TextAlign":"MiddleCenter",
							"Text":"药品规格"
						}
					],
					"TextAlign":"MiddleCenter",
					"Text":"药品名称"
				},
				{
					"GroupTitle":true,
					"Name":"绑定的药名",
					"ColumnTitleCell":[
						{
							"GroupTitle":true,
							"Name":"规格",
							"ColumnTitleCell":[
								{
									"GroupTitle":true,
									"Name":"基数",
									"ColumnTitleCell":[
										{
											"GroupTitle":false,
											"Column":"实物",
											"TextAlign":"MiddleCenter",
											"Text":"实物"
										},
										{
											"GroupTitle":false,
											"Column":"处方",
											"TextAlign":"MiddleCenter",
											"Text":"处方"
										}
									],
									"TextAlign":"MiddleCenter",
									"Text":"[#规格#]"
								}
							],
							"TextAlign":"MiddleCenter",
							"Text":"[#规格#]"
						}
					],
					"TextAlign":"MiddleCenter",
					"Text":"[#药品名称#]"
				},
				{
					"GroupTitle":false,
					"Column":"备注",
					"TextAlign":"MiddleCenter",
					"Text":"备注"
				},
				{
					"GroupTitle":false,
					"Column":"交班人",
					"TextAlign":"MiddleCenter",
					"Text":"交班人"
				},
				{
					"GroupTitle":false,
					"Column":"接班人",
					"TextAlign":"MiddleCenter",
					"Text":"接班人"
				}
			]
		},
		"CrossTab":{
			"PercentFormat":"0.##%",
			"GroupAutoSum":false,
			"HCrossFields":"DrugId",
			"VCrossFields":"日期;时间",
			"ListCols":2,
			"TotalCols":3
		}
	},
	"Parameter":[
		{
			"Name":"machine_id"
		},
		{
			"Name":"startDate",
			"DataType":"DateTime"
		},
		{
			"Name":"endDate",
			"DataType":"DateTime"
		}
	],
	"ReportHeader":[
		{
			"Name":"ReportHeader1",
			"Height":1.00542,
			"Control":[
				{
					"Type":"MemoBox",
					"Name":"MemoBox1",
					"Dock":"Fill",
					"Center":"Both",
					"Font":{
						"Name":"宋体",
						"Size":217500,
						"Bold":true,
						"Charset":134
					},
					"ShrinkFontToFit":true,
					"TextAlign":"MiddleCenter",
					"Text":"中部战区总医院麻醉科特殊管理药品交接班记录"
				}
			],
			"RepeatOnPage":true
		}
	]
}