dw_spt_price_updown.srd 14 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. $PBExportHeader$dw_spt_price_updown.srd
  2. release 9;
  3. datawindow(units=0 timer_interval=60000 color=1073741824 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 1 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 9 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=272 color="536870912" )
  5. summary(height=68 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=108 color="536870912" )
  8. table(column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" )
  9. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
  10. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  11. column=(type=char(20) updatewhereclause=yes name=u_spt_price_unit dbname="u_spt_price.unit" )
  12. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrltype dbname="u_mtrldef.mtrltype" )
  13. column=(type=char(50) updatewhereclause=yes name=u_spt_name dbname="u_spt.name" )
  14. column=(type=decimal(10) updatewhereclause=yes name=u_spt_price_price dbname="u_spt_price.price" )
  15. column=(type=char(1) updatewhereclause=yes name=date_2 dbname="date_2" )
  16. column=(type=decimal(10) updatewhereclause=yes name=u_spt_price_lastprice dbname="lastprice" )
  17. column=(type=long updatewhereclause=yes name=u_spt_price_mtrlid dbname="u_spt_price.mtrlid" )
  18. column=(type=long updatewhereclause=yes name=u_spt_price_sptid dbname="u_spt_price.sptid" )
  19. column=(type=datetime updatewhereclause=yes name=u_spt_price_sys_changetime dbname="u_spt_price.sys_changetime" )
  20. retrieve=" SELECT u_mtrldef.mtrlcode,
  21. u_mtrldef.mtrlname,
  22. u_mtrldef.mtrlmode,
  23. u_spt_price.unit,
  24. u_mtrldef.mtrltype,
  25. u_spt.name,
  26. u_spt_price.price,
  27. '' date_2,
  28. 0.0000000000 lastprice,
  29. u_spt_price.mtrlid,
  30. u_spt_price.sptid,
  31. u_spt_price.sys_changetime
  32. FROM u_spt_price,
  33. u_spt,
  34. u_mtrldef
  35. WHERE ( u_spt_price.sptid = u_spt.sptid ) and
  36. ( u_spt_price.mtrlid = u_mtrldef.mtrlid ) and
  37. ( u_mtrldef.handtype like :arg_handtype or :arg_handtype='' ) and
  38. ( u_spt.spttypeid in (:arg_spttypeid) or u_spt.spttypeid = 0)
  39. " arguments=(("arg_handtype", string),("arg_spttypeid", numberlist)) sort="u_mtrldef_mtrlcode A " )
  40. text(band=header alignment="2" text="编码" border="2" color="33554432" x="9" y="216" height="60" width="462" html.valueishtml="0" name=u_mtrldef_mtrlcode_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  41. text(band=header alignment="2" text="品名" border="2" color="33554432" x="480" y="216" height="60" width="590" html.valueishtml="0" name=u_mtrldef_mtrlname_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  42. text(band=header alignment="2" text="规格" border="2" color="33554432" x="1079" y="216" height="60" width="443" html.valueishtml="0" name=u_mtrldef_mtrlmode_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  43. text(band=header alignment="2" text="单位" border="2" color="33554432" x="1531" y="216" height="56" width="119" html.valueishtml="0" name=u_spt_price_unit_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  44. text(band=header alignment="2" text="供应商名称" border="2" color="33554432" x="1659" y="216" height="56" width="571" html.valueishtml="0" name=u_spt_name_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  45. text(band=header alignment="2" text="最新购价" border="2" color="33554432" x="2240" y="216" height="56" width="293" html.valueishtml="0" name=u_spt_price_price_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  46. text(band=header alignment="2" text="上次变价" border="2" color="33554432" x="2542" y="216" height="56" width="274" html.valueishtml="0" name=u_spt_price_lastprice_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  47. text(band=header alignment="2" text="最新购价日期" border="2" color="33554432" x="3346" y="216" height="56" width="370" html.valueishtml="0" name=u_spt_price_sys_changetime_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  48. text(band=header alignment="2" text="升幅比例" border="2" color="33554432" x="3086" y="216" height="60" width="251" html.valueishtml="0" name=t_5 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  49. text(band=header alignment="2" text="上次变价日期" border="2" color="33554432" x="3726" y="216" height="56" width="384" html.valueishtml="0" name=date_2_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  50. text(band=header alignment="2" text="升幅" border="2" color="33554432" x="2825" y="216" height="56" width="251" html.valueishtml="0" name=t_3 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  51. text(band=header alignment="2" text="类别" border="2" color="33554432" x="4119" y="216" height="60" width="485" html.valueishtml="0" name=u_mtrldef_mtrltype_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  52. column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="9" y="24" height="68" width="462" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  53. column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="480" y="24" height="68" width="590" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  54. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="1079" y="24" height="68" width="443" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlmode visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  55. column(band=detail id=4 alignment="2" tabsequence=32766 border="0" color="33554432" x="1531" y="24" height="68" width="119" format="[general]" html.valueishtml="0" name=u_spt_price_unit visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  56. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="1659" y="24" height="68" width="571" format="[general]" html.valueishtml="0" name=u_spt_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  57. column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="33554432" x="2240" y="24" height="68" width="293" format="#,###0.00########" html.valueishtml="0" name=u_spt_price_price visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  58. column(band=detail id=9 alignment="1" tabsequence=32766 border="0" color="33554432~tif( u_spt_price_lastprice =0,rgb(255,255,255),rgb(0,0,0))" x="2542" y="24" height="68" width="274" format="#,###0.00########" html.valueishtml="0" name=u_spt_price_lastprice visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  59. column(band=detail id=12 alignment="2" tabsequence=32766 border="0" color="33554432" x="3346" y="24" height="68" width="370" format="yyyy-mm-dd" html.valueishtml="0" name=u_spt_price_sys_changetime visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  60. column(band=detail id=8 alignment="2" tabsequence=32766 border="0" color="33554432" x="3726" y="24" height="68" width="384" format="[general]" html.valueishtml="0" name=date_2 visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  61. column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="4119" y="24" height="68" width="485" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrltype visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  62. compute(band=detail alignment="1" expression="if(u_spt_price_lastprice > 0 , u_spt_price_price - u_spt_price_lastprice ,0)"border="0" color="33554432~tif( u_spt_price_lastprice =0,rgb(255,255,255),rgb(0,0,0))" x="2825" y="24" height="68" width="251" format="#,##0.00##" html.valueishtml="0" name=updownprice visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  63. compute(band=detail alignment="1" expression="if(u_spt_price_lastprice > 0 , (u_spt_price_price - u_spt_price_lastprice )/u_spt_price_lastprice,0)"border="0" color="33554432~tif( u_spt_price_lastprice =0,rgb(255,255,255),rgb(0,0,0))" x="3086" y="24" height="68" width="251" format="#,##0.##%" html.valueishtml="0" name=compute_3 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  64. compute(band=summary alignment="2" expression="count(u_mtrldef_mtrlname for all)"border="0" color="33554432" x="480" y="4" height="60" width="590" format="[general]" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  65. text(band=summary alignment="2" text="合计" border="0" color="33554432" x="9" y="4" height="60" width="462" html.valueishtml="0" name=t_4 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  66. text(band=foreground alignment="2" text="" border="0" color="33554432" x="0" y="0" height="212" width="4663" html.valueishtml="0" name=t_1 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  67. compute(band=foreground alignment="0" expression="'打印日期: '+string(today(),'yyyy-mm-dd')+' 共 '+string(pageCount())+' 页 第 ' + string(page()) + ' 页'"border="0" color="33554432" x="14" y="144" height="60" width="1893" format="[GENERAL]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  68. text(band=foreground alignment="0" text="物料采购价格浮动表" border="0" color="33554432" x="14" y="8" height="124" width="2103" html.valueishtml="0" name=t_2 visible="1" font.face="宋体" font.height="-20" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  69. htmltable(border="1" )
  70. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  71. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  72. import.xml()
  73. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )