dw_unit_ch.srd 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. $PBExportHeader$dw_unit_ch.srd
  2. release 9;
  3. datawindow(units=0 timer_interval=0 color=1073741824 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
  4. header(height=72 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=64 color="536870912" )
  7. detail(height=76 color="536870912" )
  8. table(column=(type=char(8) updatewhereclause=yes name=name dbname="name" initial="empty" )
  9. column=(type=char(20) updatewhereclause=yes name=unit dbname="u_mtrldef.unit" initial="empty" )
  10. column=(type=decimal(5) updatewhereclause=yes name=rate dbname="rate" initial="0" )
  11. retrieve="SELECT
  12. '标准单位' as name ,unit,1 as rate
  13. FROM u_mtrldef
  14. where mtrlid=:arg_mtrlid
  15. union all
  16. SELECT '辅单位1' as name ,unit_buy,rate_buy as rate
  17. FROM u_mtrldef
  18. where mtrlid=:arg_mtrlid
  19. union all
  20. SELECT '辅单位2' as name ,unit_scll,rate_scll as rate
  21. FROM u_mtrldef
  22. where mtrlid=:arg_mtrlid
  23. union all
  24. SELECT '辅单位3' as name ,unit_sale,rate_sale as rate
  25. FROM u_mtrldef
  26. where mtrlid=:arg_mtrlid
  27. " arguments=(("arg_mtrlid", number)) )
  28. text(band=header alignment="2" text="类型" border="0" color="33554432" x="9" y="8" height="56" width="475" html.valueishtml="0" name=name_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  29. text(band=header alignment="2" text="单位名称" border="0" color="33554432" x="494" y="8" height="56" width="471" html.valueishtml="0" name=unit_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  30. text(band=header alignment="2" text="转换率" border="0" color="33554432" x="974" y="8" height="56" width="366" html.valueishtml="0" name=rate_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  31. column(band=detail id=2 alignment="2" tabsequence=32766 border="0" color="33554432" x="494" y="4" height="68" width="471" format="[general]" html.valueishtml="0" name=unit visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  32. column(band=detail id=3 alignment="2" tabsequence=32766 border="0" color="33554432" x="974" y="4" height="68" width="366" format="#,##0.0###" html.valueishtml="0" name=rate visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  33. column(band=detail id=1 alignment="2" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="475" format="[general]" html.valueishtml="0" name=name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  34. compute(band=footer alignment="2" expression="count(name for all)"border="0" color="16711680" x="9" y="4" height="56" width="475" format="[general]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  35. htmltable(border="1" )
  36. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  37. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  38. import.xml()
  39. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )