dw_rp_salebill_print.srd 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. $PBExportHeader$dw_rp_salebill_print.srd
  2. release 9;
  3. datawindow(units=0 timer_interval=0 color=16777215 processing=0 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 )
  4. header(height=792 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=100 color="536870912" )
  7. detail(height=140 color="536870912" height.autosize=yes)
  8. table(column=(type=long updatewhereclause=yes name=u_salebill_salebillid dbname="u_salebill.salebillid" )
  9. column=(type=char(20) updatewhereclause=yes name=u_cust_cuscode dbname="u_cust.cuscode" initial="empty" )
  10. column=(type=long updatewhereclause=yes name=u_salebill_billtype dbname="u_salebill.billtype" initial="1" )
  11. column=(type=long updatewhereclause=yes name=u_salebill_moneyid dbname="u_salebill.moneyid" initial="0" )
  12. column=(type=long updatewhereclause=yes name=u_salebill_accountsid dbname="u_salebill.accountsid" initial="0" )
  13. column=(type=long updatewhereclause=yes name=u_salebill_itemid dbname="u_salebill.itemid" initial="0" )
  14. column=(type=datetime updatewhereclause=yes name=u_salebill_takedate dbname="u_salebill.takedate" initial="today" )
  15. column=(type=char(30) updatewhereclause=yes name=u_salebill_relcode dbname="u_salebill.relcode" initial="empty" )
  16. column=(type=char(20) updatewhereclause=yes name=u_salebill_inrep dbname="u_salebill.inrep" initial="empty" )
  17. column=(type=long updatewhereclause=yes name=u_salebill_banktypeid dbname="u_salebill.banktypeid" )
  18. column=(type=decimal(2) updatewhereclause=yes name=u_salebill_msttakeamt dbname="u_salebill.msttakeamt" initial="0" )
  19. column=(type=decimal(2) updatewhereclause=yes name=u_salebill_takeamt dbname="u_salebill.takeamt" initial="0" )
  20. column=(type=char(255) updatewhereclause=yes name=u_salebill_dscrp dbname="u_salebill.dscrp" initial="empty" )
  21. column=(type=long updatewhereclause=yes name=u_salebill_cusid dbname="u_salebill.cusid" initial="0" )
  22. column=(type=char(20) updatewhereclause=yes name=u_salebill_salebillcode dbname="u_salebill.salebillcode" initial="empty" )
  23. column=(type=datetime updatewhereclause=yes name=u_salebill_opdate dbname="u_salebill.opdate" )
  24. column=(type=char(20) updatewhereclause=yes name=u_salebill_opemp dbname="u_salebill.opemp" initial="empty" )
  25. column=(type=datetime updatewhereclause=yes name=u_salebill_auditdate dbname="u_salebill.auditdate" )
  26. column=(type=char(20) updatewhereclause=yes name=u_salebill_auditrep dbname="u_salebill.auditrep" initial="empty" )
  27. column=(type=long updatewhereclause=yes name=u_salebill_flag dbname="u_salebill.flag" values=" 1/ 0" )
  28. column=(type=char(50) updatewhereclause=yes name=u_cust_name dbname="u_cust.name" )
  29. column=(type=long updatewhereclause=yes name=u_salebill_ywrepid dbname="u_salebill.YwrepID" initial="0" )
  30. column=(type=long updatewhereclause=yes name=u_salebill_buildtype dbname="u_salebill.buildtype" initial="0" )
  31. column=(type=char(30) updatewhereclause=yes name=cw_currency_currencyname dbname="cw_currency.currencyname" )
  32. retrieve="SELECT u_salebill.salebillid,
  33. u_cust.cuscode,
  34. u_salebill.billtype,
  35. u_salebill.moneyid,
  36. u_salebill.accountsid,
  37. u_salebill.itemid,
  38. u_salebill.takedate,
  39. u_salebill.relcode,
  40. u_salebill.inrep,
  41. u_salebill.banktypeid,
  42. u_salebill.msttakeamt,
  43. u_salebill.takeamt,
  44. u_salebill.dscrp,
  45. u_salebill.cusid,
  46. u_salebill.salebillcode,
  47. u_salebill.opdate,
  48. u_salebill.opemp,
  49. u_salebill.auditdate,
  50. u_salebill.auditrep,
  51. u_salebill.flag,
  52. u_cust.name,
  53. u_salebill.YwrepID,
  54. u_salebill.buildtype,
  55. cw_currency.name AS currencyname
  56. FROM u_cust INNER JOIN
  57. u_salebill ON u_cust.cusid = u_salebill.cusid INNER JOIN
  58. cw_currency ON u_salebill.moneyid = cw_currency.moneyid
  59. WHERE ( u_cust.cusid = u_salebill.cusid ) and
  60. u_salebill.salebillid = :arg_salebillid and
  61. :arg_scid = :arg_scid and
  62. :arg_printrow = :arg_printrow and
  63. :arg_top = :arg_top
  64. " arguments=(("arg_scid", number),("arg_salebillid", number),("arg_printrow", number),("arg_top", number)) )
  65. text(band=header alignment="2" text="客户对数单" border="0" color="0" x="14" y="8" height="108" width="3287" html.valueishtml="0" name=t_3 visible="1" resizeable=1 moveable=1 font.face="宋体" font.height="-18" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  66. compute(band=header alignment="0" expression="'打印时间:'+string(today(),'yyyy-mm-dd ')+string(now(),'h:mm')+' 第 ' + page() + ' 页/共 ' + pageCount()+' 页'"border="0" color="0" x="1865" y="152" height="60" width="1426" format="[general]" html.valueishtml="0" name=now tag="'打印时间:'+string(today(),'yyyy-mm-dd ')+string(now(),'h:mm')+' 第 ' + page() + ' 页/共 ' + pageCount()+' 页'" visible="1" moveable=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. line(band=header x1="1202" y1="132" x2="2112" y2="132" name=l_1 visible="1" resizeable=1 moveable=1 pen.style="0" pen.width="5" pen.color="33554432" background.mode="2" background.color="1073741824" )
  68. text(band=header alignment="1" text="单据编号" border="0" color="0" x="2464" y="228" height="56" width="247" html.valueishtml="0" name=u_salebill_salebillcode_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="16777215" )
  69. column(band=header id=15 alignment="0" tabsequence=32766 border="4" color="0" x="2725" y="228" height="68" width="562" format="[general]" html.valueishtml="0" name=u_salebill_salebillcode tag="单号" visible="1" edit.limit=20 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  70. text(band=header alignment="1" text="发生时间" border="0" color="0" x="2464" y="324" height="56" width="247" html.valueishtml="0" name=u_salebill_takedate_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="16777215" )
  71. column(band=header id=7 alignment="2" tabsequence=32766 border="4" color="0" x="2725" y="324" height="68" width="562" format="yyyy-mm-dd" html.valueishtml="0" name=u_salebill_takedate tag="发生时间" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  72. text(band=header alignment="1" text="客户编号" border="0" color="0" x="50" y="228" height="56" width="247" html.valueishtml="0" name=u_cust_cuscode_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="16777215" )
  73. text(band=header alignment="1" text="客户名称" border="0" color="0" x="50" y="324" height="56" width="247" html.valueishtml="0" name=u_cust_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="16777215" )
  74. text(band=header alignment="1" text="帐 号" border="0" color="0" x="50" y="424" height="56" width="247" html.valueishtml="0" name=u_salebill_accountsid_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="16777215" )
  75. text(band=header alignment="1" text="收支项目" border="0" color="0" x="1723" y="424" height="56" width="247" html.valueishtml="0" name=u_salebill_itemid_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="16777215" )
  76. column(band=header id=6 alignment="0" tabsequence=32766 border="4" color="33554432" x="1984" y="424" height="68" width="407" format="[general]" html.valueishtml="0" name=u_salebill_itemid visible="1" dddw.name=ddd_item_take dddw.displaycolumn=itemname dddw.datacolumn=itemid dddw.percentwidth=0 dddw.lines=0 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 dddw.vscrollbar=yes font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  77. text(band=header alignment="1" text="经 手 人" border="0" color="0" x="1033" y="520" height="56" width="219" html.valueishtml="0" name=u_salebill_inrep_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="16777215" )
  78. column(band=header id=9 alignment="0" tabsequence=32766 border="4" color="0" x="1266" y="520" height="68" width="407" format="[general]" html.valueishtml="0" name=u_salebill_inrep tag="经手人" visible="1" dddw.name=ddd_salebill_inrep dddw.displaycolumn=inrep dddw.datacolumn=inrep dddw.percentwidth=0 dddw.lines=0 dddw.limit=0 dddw.allowedit=yes dddw.useasborder=no dddw.case=any dddw.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  79. text(band=header alignment="1" text="应收金额" border="0" color="0" x="1047" y="620" height="56" width="224" html.valueishtml="0" name=u_salebill_msttakeamt_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="16777215" )
  80. column(band=header id=11 alignment="1" tabsequence=32766 border="4" color="33554432" x="1285" y="616" height="68" width="411" format="#,##0.00" html.valueishtml="0" name=u_salebill_msttakeamt visible="1" edit.limit=0 edit.case=any edit.format="" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=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="16777215" )
  81. text(band=header alignment="0" text="类 型" border="0" color="33554432" x="1751" y="520" height="56" width="219" html.valueishtml="0" name=u_salebill_billtype_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="16777215" )
  82. text(band=header alignment="1" text="已收金额" border="0" color="0" x="1746" y="624" height="56" width="224" html.valueishtml="0" name=u_salebill_takeamt_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="16777215" )
  83. column(band=header id=3 alignment="2" tabsequence=32766 border="4" color="0" x="1984" y="520" height="68" width="407" format="[general]" html.valueishtml="0" protect="0~t0" name=u_salebill_billtype visible="1" dddw.name=dddw_salebilltype dddw.displaycolumn=billtype_display dddw.datacolumn=billtype dddw.percentwidth=0 dddw.lines=0 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  84. column(band=header id=12 alignment="1" tabsequence=32766 border="4" color="33554432" x="1984" y="616" height="68" width="407" format="#,##0.00" html.valueishtml="0" name=u_salebill_takeamt visible="1" edit.limit=0 edit.case=any edit.format="" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=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="16777215" )
  85. text(band=header alignment="1" text="相关号码" border="0" color="0" x="73" y="520" height="56" width="224" html.valueishtml="0" name=u_salebill_relcode_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="16777215" )
  86. column(band=header id=2 alignment="0" tabsequence=32766 border="4" color="0" x="311" y="228" height="68" width="2085" format="[general]" html.valueishtml="0" name=u_cust_cuscode tag="客户编号" visible="1" edit.limit=20 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  87. column(band=header id=5 alignment="0" tabsequence=32766 border="4" color="33554432" x="311" y="424" height="68" width="1381" format="[general]" html.valueishtml="0" name=u_salebill_accountsid visible="1" dddw.name=ddd_accountsid dddw.displaycolumn=accountsname dddw.datacolumn=accountsid dddw.percentwidth=0 dddw.lines=0 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 dddw.vscrollbar=yes font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  88. column(band=header id=8 alignment="0" tabsequence=32766 border="4" color="0" x="311" y="520" height="68" width="686" format="[general]" html.valueishtml="0" name=u_salebill_relcode tag="相关号码" visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  89. column(band=header id=10 alignment="0" tabsequence=32766 border="4" color="0" x="311" y="612" height="68" width="686" format="[general]" html.valueishtml="0" name=u_salebill_banktypeid visible="1" dddw.name=ddd_banktype dddw.displaycolumn=banktypename dddw.datacolumn=banktypeid dddw.percentwidth=0 dddw.lines=15 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 dddw.vscrollbar=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  90. text(band=header alignment="1" text="结算方式" border="0" color="0" x="50" y="616" height="56" width="247" html.valueishtml="0" name=u_salebill_banktypeid_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="16777215" )
  91. text(band=header alignment="1" text="备 注" border="0" color="0" x="50" y="716" height="56" width="247" html.valueishtml="0" name=u_salebill_dscrp_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="16777215" )
  92. column(band=header id=21 alignment="0" tabsequence=32766 border="4" color="0" x="311" y="324" height="68" width="2085" format="[general]" html.valueishtml="0" name=u_cust_name tag="客户名称" visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  93. column(band=header id=13 alignment="0" tabsequence=32766 border="4" color="0" x="311" y="716" height="68" width="2085" format="[general]" html.valueishtml="0" name=u_salebill_dscrp tag="备注" visible="1" edit.limit=250 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  94. report(band=detail dataobject="dw_rp_salebillmx_edit" x="5" y="0" height="136" width="3282" border="0" height.autosize=yes criteria="" nest_arguments=((" arg_salebillid ")) trail_footer = yes name=dw_1 visible="1" slideleft=yes slideup=directlyabove )
  95. column(band=footer id=16 alignment="2" tabsequence=32766 border="4" color="0" x="288" y="20" height="68" width="480" format="yyyy-mm-dd HH:mm" html.valueishtml="0" name=u_salebill_opdate tag="建立时间" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  96. text(band=footer alignment="1" text="建立时间" border="0" color="0" x="27" y="20" height="56" width="247" html.valueishtml="0" name=u_salebill_opdate_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="16777215" )
  97. text(band=footer alignment="1" text="建 立 人" border="0" color="0" x="786" y="20" height="56" width="247" html.valueishtml="0" name=u_salebill_opemp_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="16777215" )
  98. column(band=footer id=17 alignment="0" tabsequence=32766 border="4" color="0" x="1047" y="20" height="68" width="480" format="" html.valueishtml="0" name=u_salebill_opemp tag="建立操作员" visible="1" edit.limit=20 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  99. htmltable(border="1" )
  100. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  101. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  102. import.xml()
  103. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )