Object Report
	Version='5.8.0.2'
	Title='长水软件开发中心'
	Object Font
		Name='宋体'
		Size=105000,0
		Weight=400
		Charset=134
	End
	ProcessBeginScript='//假设每页要显示20 行，求出最后要补充的行数\r\nvar AppendRows = 12 - (Report.DetailGrid.Recordset.RecordCount % 12);\r\nif (AppendRows ==12)\r\n  AppendRows = 0;\r\nfor (i=0; i<AppendRows; ++i)\r\n{\r\n  Report.DetailGrid.Recordset.Append();\r\n  Report.DetailGrid.Recordset.Post();\r\n} '
	Object Printer
		Size=256
		Width=20.1
		Height=14
		LeftMargin=0.175
		TopMargin=0
		RightMargin=1.3548
		BottomMargin=0.4
		PrintOffsetY=-0.2
	End
	Object DetailGrid
		FixCols=9
		AppendBlankRow=T
		Object Recordset
			ConnectionString='Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=D:\\2017桌面\\饮片5.0新版NEW\\5.0系列新版NEW - 副本\\zt.mdb'
			QuerySQL='select * from out order by val(id)'
			Items Field
				Item
					Name='商品名称'
					RTrimBlankChars=T
				End
				Item
					Name='规格'
					RTrimBlankChars=T
				End
				Item
					Name='产地'
					RTrimBlankChars=T
				End
				Item
					Name='单位'
					RTrimBlankChars=T
				End
				Item
					Name='批号'
					Format='yyyy/MM/dd'
					RTrimBlankChars=T
				End
				Item
					Name='数量'
					Type=Float
				End
				Item
					Name='单价'
					Type=Float
					Format='0.00'
				End
				Item
					Name='金额'
					Type=Float
					Format='0.00'
				End
				Item
					Name='生产日期'
					RTrimBlankChars=T
				End
				Item
					Name='质量'
				End
				Item
					Name='备注1'
				End
				Item
					Name='备注2'
				End
				Item
					Name='扣率'
				End
			End
		End
		Items Column
			Item
				Name='品名'
				Width=1.9
			End
			Item
				Name='产地'
				Width=1.78
			End
			Item
				Name='单位'
				Width=1.45
			End
			Item
				Name='批号'
				Width=1.9
			End
			Item
				Name='数量'
				Width=1.55
			End
			Item
				Name='单价'
				Width=1.95
			End
			Item
				Name='金额'
				Width=2.35
			End
			Item
				Name='序号'
				Width=1.42
			End
			Item
				Name='生产日期'
				Width=2.65
			End
			Item
				Name='规格'
				Width=1.55
			End
		End
		Object ColumnContent
			Height=0.7
			RowsPerPage=12
			Items ColumnContentCell
				Item
					Column='品名'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					DataField='商品名称'
				End
				Item
					Column='产地'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					DataField='产地'
				End
				Item
					Column='单位'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					DataField='单位'
				End
				Item
					Column='批号'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					DataField='批号'
				End
				Item
					Column='数量'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					DataField='数量'
				End
				Item
					Column='单价'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					DataField='单价'
				End
				Item
					Column='金额'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					DataField='金额'
				End
				Item
					Column='序号'
					FreeCell=T
					Items Control
						Item
							Type=MemoBox
							Name='MemoBox8'
							Dock=Fill
							TextAlign=MiddleCenter
							Text='[#SystemVar(RecordNo)#]'
						End
					End
				End
				Item
					Column='生产日期'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					DataField='生产日期'
				End
				Item
					Column='规格'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					DataField='规格'
				End
			End
		End
		Object ColumnTitle
			Height=0.6
			RepeatStyle=OnPage
			Items ColumnTitleCell
				Item
					GroupTitle=F
					Column='序号'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='序号'
				End
				Item
					GroupTitle=F
					Column='品名'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='品名'
				End
				Item
					GroupTitle=F
					Column='规格'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='规格'
				End
				Item
					GroupTitle=F
					Column='单位'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					FreeCell=T
					Items Control
						Item
							Type=MemoBox
							Name='MemoBox4'
							Dock=Fill
							TextAlign=MiddleCenter
							Text='单位'
						End
					End
				End
				Item
					GroupTitle=F
					Column='数量'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='数量'
				End
				Item
					GroupTitle=F
					Column='单价'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='单价'
				End
				Item
					GroupTitle=F
					Column='金额'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='金额'
				End
				Item
					GroupTitle=F
					Column='产地'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='产地'
				End
				Item
					GroupTitle=F
					Column='批号'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='批号'
				End
				Item
					GroupTitle=F
					Column='生产日期'
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='生产日期'
				End
			End
		End
		Items Group
			Item
				Name='Group1'
				Object GroupHeader
					Height=0
					RepeatOnPage=T
				End
				Object GroupFooter
					Height=0
					Items Control
						Item
							Type=StaticBox
							Name='StaticBox32'
							AlignColumn='单价'
							Left=7.91104
							Width=1.98438
							Height=0.608542
						End
					End
					AppendBlankRowExclude=T
				End
			End
		End
	End
	Items Parameter
		Item
			Name='name'
			Value='销售开票单'
		End
		Item
			Name='gys'
			Value='北京制药厂                                                                                                                                                                                              '
		End
		Item
			Name='ck'
			Value='成品库                                                                                              '
		End
		Item
			Name='id'
			Value='XS000000001'
		End
		Item
			Name='date'
			Value='2017-08-13'
		End
		Item
			Name='sum1'
			DataType=Float
			Format='$$'
			Value='30'
		End
		Item
			Name='sum'
			DataType=Float
			Format='0.00'
			Value='30'
		End
		Item
			Name='n'
			Value='2017'
		End
		Item
			Name='people'
			Value='高级管理员'
		End
		Item
			Name='ywy'
			Value='张大力                                            '
		End
		Item
			Name='y'
			Value='08'
		End
		Item
			Name='r'
			Value='13'
		End
		Item
			Name='收货地址'
			Value='北京市4环123号                                                                                                                                                                                          '
		End
		Item
			Name='联系人'
		End
		Item
			Name='客户电话'
			Value='010-12345678'
		End
		Item
			Name='纳税登记号'
			Value='3214567895632566'
		End
		Item
			Name='开户银行'
			Value='工商银行'
		End
		Item
			Name='银行帐号'
			Value='31245684224785'
		End
		Item
			Name='签订日期'
			Value='2017-08-13'
		End
		Item
			Name='送货人'
		End
	End
	Items Section
		Item
			Type=ReportHeader
			Name='ReportHeader1'
			Height=2.9
			Items Control
				Item
					Type=MemoBox
					Name='MemoBox19'
					BorderStyles=[DrawLeft|DrawTop]
					AlignColumnSide=Left
					AlignColumn='序号'
					Left=-0.0264583
					Top=2.25
					Width=11.03
					Height=0.6
				End
				Item
					Type=MemoBox
					Name='MemoBox23'
					Left=0.0529167
					Top=2.35479
					Width=18.1504
					Height=0.555625
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					Text='地址：[#收货地址#]'
				End
				Item
					Type=MemoBox
					Name='MemoBox9'
					BorderStyles=[DrawLeft|DrawTop]
					AlignColumnSide=Left
					AlignColumn='序号'
					Left=-0.0264583
					Top=1.64042
					Width=12.4354
					Height=0.6
				End
				Item
					Type=MemoBox
					Name='MemoBox11'
					BorderStyles=[DrawTop|DrawRight]
					AlignColumnSide=Right
					AlignColumn='生产日期'
					Left=13.0175
					Top=1.64042
					Width=5.53
					Height=0.6
				End
				Item
					Type=MemoBox
					Name='MemoBox10'
					BorderStyles=[DrawLeft|DrawTop]
					AlignColumnSide=Left
					AlignColumn='产地'
					Left=12.1973
					Top=1.64042
					Width=5.19
					Height=0.6
				End
				Item
					Type=StaticBox
					Name='StaticBox2'
					Left=0.079375
					Top=1.87854
					Width=1.95792
					Height=0.423333
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=MemoBox
					Name='MemoBox5'
					Left=1.79917
					Top=0.79375
					Width=15.3988
					Height=0.740833
					Object Font
						Name='宋体'
						Size=217500,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='销售随货同行单'
				End
				Item
					Type=MemoBox
					Name='MemoBox20'
					Top=1.69
					Width=9.68375
					Height=0.608542
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					Text='购货单位：[#gys#]'
				End
				Item
					Type=MemoBox
					Name='MemoBox21'
					Left=12.3031
					Top=1.71979
					Width=5.63563
					Height=0.555625
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					Text='销售日期：[#date#]'
				End
				Item
					Type=MemoBox
					Name='MemoBox22'
					BorderStyles=[DrawTop|DrawRight]
					AlignColumnSide=Right
					AlignColumn='生产日期'
					Left=10.7156
					Top=2.24896
					Width=7.83
					Height=0.6
				End
			End
			RepeatOnPage=T
		End
		Item
			Type=ReportFooter
			Name='ReportFooter1'
			Height=2.3
			Items Control
				Item
					Type=MemoBox
					Name='MemoBox12'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumn='序号'
					Left=-0.0264583
					Top=0.529167
					Width=1.48167
					Height=0.582083
					TextAlign=BottomLeft
					Text=' 大写：'
				End
				Item
					Type=StaticBox
					Name='StaticBox38'
					Left=1.32292
					Top=1.5875
					Width=5.3975
					Height=0.608542
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					Text='审核人 ：'
				End
				Item
					Type=StaticBox
					Name='StaticBox57'
					Left=8.17563
					Top=1.5875
					Width=1.21708
					Height=0.608542
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					Text='制单：            '
				End
				Item
					Type=StaticBox
					Name='StaticBox58'
					Left=14.7638
					Top=1.5875
					Width=1.98438
					Height=0.608542
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					Text='仓库：            '
				End
				Item
					Type=MemoBox
					Name='MemoBox15'
					Left=0.079375
					Top=1.05833
					Width=2.59292
					Height=0.529167
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					Text='白联：存根'
				End
				Item
					Type=MemoBox
					Name='MemoBox16'
					Left=3.91583
					Top=1.06
					Width=2.59292
					Height=0.608542
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					Text='红联：客户'
				End
				Item
					Type=MemoBox
					Name='MemoBox17'
					Left=7.67292
					Top=1.06
					Width=3.20146
					Height=0.608542
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					Text='蓝联：随货同行'
				End
				Item
					Type=MemoBox
					Name='MemoBox18'
					Left=12.3825
					Top=1.06
					Width=3.20146
					Height=0.608542
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					Text='黄联：仓库'
				End
				Item
					Type=MemoBox
					Name='MemoBox14'
					BorderStyles=[DrawRight|DrawBottom]
					AlignColumnSide=Right
					AlignColumn='生产日期'
					Left=14.5521
					Top=0.529167
					Width=3.99521
					Height=0.582083
				End
				Item
					Type=MemoBox
					Name='MemoBox13'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumnSide=Left
					AlignColumn='品名'
					Left=1.40229
					Top=0.529167
					Width=14.605
					Height=0.582083
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text=' [#sum1#]'
				End
				Item
					Type=StaticBox
					Name='StaticBox29'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumn='序号'
					Left=-0.0264583
					Top=-0.0529167
					Width=1.48
					Height=0.58
					Object Font
						Name='黑体'
						Size=105000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=StaticBox
					Name='StaticBox62'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumn='品名'
					Left=1.40229
					Top=-0.0529167
					Width=1.96
					Height=0.58
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
				End
				Item
					Type=StaticBox
					Name='StaticBox61'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumn='规格'
					Left=3.30729
					Top=-0.0529167
					Width=1.61
					Height=0.58
					Object Font
						Name='黑体'
						Size=105000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=StaticBox
					Name='StaticBox60'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumn='单位'
					Left=4.86833
					Top=-0.0529167
					Width=1.51
					Height=0.58
					Object Font
						Name='黑体'
						Size=105000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=StaticBox
					Name='StaticBox59'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumn='数量'
					Left=6.32354
					Top=-0.0529167
					Width=1.61
					Height=0.58
					Object Font
						Name='黑体'
						Size=105000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=StaticBox
					Name='StaticBox63'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumn='单价'
					Left=7.88458
					Top=-0.0529167
					Width=2.01
					Height=0.58
					Object Font
						Name='黑体'
						Size=105000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=StaticBox
					Name='StaticBox64'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumn='金额'
					Left=9.8425
					Top=-0.0529167
					Width=2.41
					Height=0.58
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Parameter='sum'
				End
				Item
					Type=StaticBox
					Name='StaticBox65'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumn='产地'
					Left=12.1973
					Top=-0.0529167
					Width=1.83
					Height=0.58
					Object Font
						Name='黑体'
						Size=105000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=StaticBox
					Name='StaticBox66'
					BorderStyles=[DrawLeft|DrawBottom]
					AlignColumn='批号'
					Left=13.97
					Top=-0.0529167
					Width=1.96
					Height=0.58
					Object Font
						Name='黑体'
						Size=105000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=StaticBox
					Name='StaticBox67'
					BorderStyles=[DrawLeft|DrawRight|DrawBottom]
					AlignColumn='生产日期'
					Left=15.875
					Top=-0.0529167
					Width=2.67
					Height=0.58
					Object Font
						Name='黑体'
						Size=105000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=StaticBox
					Name='StaticBox68'
					Left=9.92188
					Top=1.56104
					Width=1.64042
					Height=0.608542
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=StaticBox
					Name='StaticBox69'
					Left=16.0867
					Top=1.5875
					Width=1.98438
					Height=0.608542
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
				End
				Item
					Type=MemoBox
					Name='MemoBox24'
					Left=6.40292
					Width=1.40229
					Height=0.608542
					Object Font
						Name='宋体'
						Size=120000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='[#Sum(数量)#]'
				End
			End
			RepeatOnPage=T
		End
	End
End
