Object Report
	Version='5.8.0.2'
	Title='长水软件---采购退货单'
	Object Font
		Name='宋体'
		Size=105000,0
		Weight=400
		Charset=134
	End
	Object Printer
		Oriention=Landscape
		TopMargin=0.5
		BottomMargin=0.5
	End
	Object DetailGrid
		ColLineColor=DkGray
		RowLineColor=DkGray
		Object Recordset
			QuerySQL='select * from cpjg'
			Items Field
				Item
					Name='编码'
				End
				Item
					Name='商品名称'
				End
				Item
					Name='规格'
				End
				Item
					Name='单位'
				End
				Item
					Name='生产批号'
				End
				Item
					Name='数量'
				End
				Item
					Name='单价'
					Format='0.00'
				End
				Item
					Name='金额'
				End
				Item
					Name='原料名称'
				End
				Item
					Name='原料规格'
				End
				Item
					Name='原料单位'
				End
				Item
					Name='原料产地'
				End
				Item
					Name='原料批号'
				End
				Item
					Name='原料单价'
				End
				Item
					Name='原料数量'
				End
				Item
					Name='原料金额'
				End
				Item
					Name='仓库名称'
				End
				Item
					Name='料库'
				End
			End
		End
		Items Column
			Item
				Name='编码'
				Width=1.37583
			End
			Item
				Name='商品名称'
				Width=2.80458
			End
			Item
				Name='规格'
				Width=1.16417
			End
			Item
				Name='单位'
				Width=1.21708
			End
			Item
				Name='生产批号'
				Width=2.2225
			End
			Item
				Name='数量'
				Width=1.5875
			End
			Item
				Name='单价'
				Width=1.61396
			End
			Item
				Name='金额'
				Width=1.98438
			End
			Item
				Name='原料名称'
				Width=3.01625
			End
			Item
				Name='原料规格'
				Width=1.40229
			End
			Item
				Name='原料单位'
				Width=1.42875
			End
			Item
				Name='原料产地'
				Width=1.53458
			End
			Item
				Name='原料批号'
				Width=1.98438
			End
			Item
				Name='原料单价'
				Width=1.61396
			End
			Item
				Name='原料数量'
				Width=1.53458
			End
			Item
				Name='原料金额'
				Width=2.06375
			End
			Item
				Name='Column3'
				Width=2.2225
			End
			Item
				Name='Column4'
				Width=2.19604
			End
		End
		Object ColumnContent
			Height=0.635
			Items ColumnContentCell
				Item
					Column='编码'
					DataField='编码'
				End
				Item
					Column='商品名称'
					DataField='商品名称'
				End
				Item
					Column='规格'
					DataField='规格'
				End
				Item
					Column='单位'
					DataField='单位'
				End
				Item
					Column='生产批号'
					DataField='生产批号'
				End
				Item
					Column='数量'
					DataField='数量'
				End
				Item
					Column='单价'
					DataField='单价'
				End
				Item
					Column='金额'
					DataField='金额'
				End
				Item
					Column='原料名称'
					DataField='原料名称'
				End
				Item
					Column='原料规格'
					DataField='原料规格'
				End
				Item
					Column='原料单位'
					DataField='原料单位'
				End
				Item
					Column='原料产地'
					DataField='原料产地'
				End
				Item
					Column='原料批号'
					DataField='原料批号'
				End
				Item
					Column='原料单价'
					DataField='原料单价'
				End
				Item
					Column='原料数量'
					DataField='原料数量'
				End
				Item
					Column='原料金额'
					DataField='原料金额'
				End
				Item
					Column='Column3'
					DataField='仓库名称'
				End
				Item
					Column='Column4'
					DataField='料库'
				End
			End
		End
		Object ColumnTitle
			Height=1.19063
			Items ColumnTitleCell
				Item
					GroupTitle=T
					Name='Column1'
					Items ColumnTitleCell
						Item
							GroupTitle=F
							Column='编码'
							Text='编码'
						End
						Item
							GroupTitle=F
							Column='商品名称'
							Text='商品名称'
						End
						Item
							GroupTitle=F
							Column='规格'
							Text='规格'
						End
						Item
							GroupTitle=F
							Column='单位'
							Text='单位'
						End
						Item
							GroupTitle=F
							Column='生产批号'
							Text='批号'
						End
						Item
							GroupTitle=F
							Column='数量'
							Text='数量'
						End
						Item
							GroupTitle=F
							Column='单价'
							Text='单价'
						End
						Item
							GroupTitle=F
							Column='金额'
							Text='金额'
						End
					End
					TextAlign=MiddleCenter
					Text='生产的产品'
				End
				Item
					GroupTitle=T
					Name='Column2'
					Items ColumnTitleCell
						Item
							GroupTitle=F
							Column='原料名称'
							Text='品名'
						End
						Item
							GroupTitle=F
							Column='原料规格'
							Text='规格'
						End
						Item
							GroupTitle=F
							Column='原料单位'
							Text='单位'
						End
						Item
							GroupTitle=F
							Column='原料产地'
							Text='产地'
						End
						Item
							GroupTitle=F
							Column='原料批号'
							Text='批号'
						End
						Item
							GroupTitle=F
							Column='原料单价'
							Text='单价'
						End
						Item
							GroupTitle=F
							Column='原料数量'
							Text='数量'
						End
						Item
							GroupTitle=F
							Column='原料金额'
							Text='金额'
						End
					End
					TextAlign=MiddleCenter
					Text='消耗的原料'
				End
				Item
					GroupTitle=F
					Column='Column3'
					Text='产品入库'
				End
				Item
					GroupTitle=F
					Column='Column4'
					Text='料库'
				End
			End
		End
		Items Group
			Item
				Name='Group1'
				Object GroupHeader
					Height=0
				End
				Object GroupFooter
					Height=0.635
					Items Control
						Item
							Type=StaticBox
							Name='StaticBox11'
							Left=0.211667
							Width=2.19604
							Height=0.608542
							Text='总计金额:'
						End
						Item
							Type=SummaryBox
							Name='SummaryBox2'
							Left=3.20146
							Width=4.78896
							Height=0.608542
							DataField='原料金额'
							Format='0.00'
						End
					End
				End
			End
			Item
				Name='Group2'
				PageGroup=T
				Object GroupHeader
					Height=0
				End
				Object GroupFooter
					Height=0.635
					Items Control
						Item
							Type=StaticBox
							Name='StaticBox10'
							Left=0.211667
							Width=2.80458
							Height=0.608542
							Text='本页小计:'
						End
						Item
							Type=SummaryBox
							Name='SummaryBox1'
							Left=3.20146
							Width=4.78896
							Height=0.608542
							DataField='原料金额'
							Format='0.00'
						End
					End
				End
			End
		End
	End
	Items Parameter
		Item
			Name='name'
		End
		Item
			Name='gys'
		End
		Item
			Name='ck'
		End
		Item
			Name='date'
		End
		Item
			Name='id'
		End
		Item
			Name='people'
		End
		Item
			Name='ywy'
		End
	End
	Items Section
		Item
			Type=ReportHeader
			Name='ReportHeader1'
			Height=1.40229
			Items Control
				Item
					Type=MemoBox
					Name='MemoBox2'
					Left=0.79375
					Top=0.396875
					Width=13.0175
					Height=0.79375
					Object Font
						Name='宋体'
						Size=150000,0
						Weight=400
						Charset=134
					End
					TextAlign=MiddleCenter
					Text='[#name#]'
				End
				Item
					Type=StaticBox
					Name='StaticBox6'
					Left=13.5996
					Top=0.608542
					Width=1.19063
					Height=0.582083
					Text='单号：'
				End
				Item
					Type=StaticBox
					Name='StaticBox7'
					Left=14.7902
					Top=0.608542
					Width=5.00063
					Height=0.582083
					Text='StaticBox7'
					Parameter='id'
				End
			End
		End
		Item
			Type=ReportHeader
			Name='ReportHeader2'
			Height=0
		End
		Item
			Type=ReportFooter
			Name='ReportFooter1'
			Height=1.40229
			Items Control
				Item
					Type=StaticBox
					Name='StaticBox12'
					Left=12.409
					Width=2.4
					Height=0.582083
					Text='开票人:'
				End
				Item
					Type=StaticBox
					Name='StaticBox13'
					Left=13.8113
					Width=2.01083
					Height=0.582083
					Text='StaticBox13'
					Parameter='people'
				End
				Item
					Type=StaticBox
					Name='StaticBox8'
					Left=0.211667
					Width=1.98438
					Height=0.582083
					Text='开票日期：'
				End
				Item
					Type=StaticBox
					Name='date'
					Left=2.01083
					Width=2.38125
					Height=0.582083
					Text='StaticBox9'
					Parameter='date'
				End
				Item
					Type=MemoBox
					Name='MemoBox1'
					Left=10.795
					Top=0.79375
					Width=5.00063
					Height=0.396875
					Text='[#SystemVar(PageNumber)#]/[#SystemVar(PageCount)#]'
				End
			End
		End
	End
End
