price_view.srd

来自「用pb(power builder)制作的医院管理系统 附有数据库脚本」· SRD 代码 · 共 40 行

SRD
40
字号
$PBExportHeader$price_view.srd
release 9;
datawindow(units=0 timer_interval=0 color=1073741824 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 )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=1340 color="536870912" )
table(column=(type=char(50) update=yes updatewhereclause=yes key=yes name=stock_id dbname="price_info.stock_id" )
 column=(type=char(50) update=yes updatewhereclause=yes key=yes name=drug_id dbname="price_info.drug_id" )
 column=(type=char(100) update=yes updatewhereclause=yes name=specs dbname="price_info.specs" )
 column=(type=char(100) update=yes updatewhereclause=yes name=drug_name dbname="price_info.drug_name" )
 column=(type=char(10) update=yes updatewhereclause=yes name=unit dbname="price_info.unit" )
 column=(type=char(10) update=yes updatewhereclause=yes name=class_id dbname="price_info.class_id" )
 column=(type=char(100) update=yes updatewhereclause=yes name=auth_code dbname="price_info.auth_code" )
 column=(type=decimal(2) update=yes updatewhereclause=yes name=unit_price dbname="price_info.unit_price" )
 column=(type=char(10) update=yes updatewhereclause=yes name=vend_id dbname="price_info.vend_id" )
 retrieve="PBSELECT(TABLE(NAME=~"price_info~") COLUMN(NAME=~"price_info.stock_id~")COLUMN(NAME=~"price_info.drug_id~")COLUMN(NAME=~"price_info.specs~")COLUMN(NAME=~"price_info.drug_name~")COLUMN(NAME=~"price_info.unit~")COLUMN(NAME=~"price_info.class_id~")COLUMN(NAME=~"price_info.auth_code~")COLUMN(NAME=~"price_info.unit_price~")COLUMN(NAME=~"price_info.vend_id~"))" update="price_info" updatewhere=1 updatekeyinplace=no )
text(band=detail alignment="2" text="进货号" border="1" color="33554432" x="27" y="28" height="76" width="311" html.valueishtml="0"  name=stock_id_t visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="1" color="33554432" x="443" y="20" height="88" width="393" format="[general]" html.valueishtml="0"  name=stock_id visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="华文中宋" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="134217750" )
text(band=detail alignment="2" text="药品编号" border="1" color="33554432" x="974" y="32" height="76" width="384" html.valueishtml="0"  name=drug_id_t visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="1" color="33554432" x="1481" y="36" height="88" width="526" format="[general]" html.valueishtml="0"  name=drug_id visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="2" text="药品规格" border="1" color="33554432" x="9" y="156" height="76" width="347" html.valueishtml="0"  name=specs_t visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="1" color="33554432" x="439" y="156" height="88" width="407" format="[general]" html.valueishtml="0"  name=specs visible="1" edit.limit=100 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217750" )
text(band=detail alignment="2" text="药品名称" border="1" color="33554432" x="997" y="172" height="76" width="384" html.valueishtml="0"  name=drug_name_t visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="1" color="33554432" x="1513" y="168" height="88" width="498" format="[general]" html.valueishtml="0"  name=drug_name visible="1" edit.limit=100 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="2" text="单位" border="1" color="33554432" x="18" y="364" height="76" width="384" html.valueishtml="0"  name=unit_t visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="1" color="33554432" x="480" y="352" height="88" width="352" format="[general]" html.valueishtml="0"  name=unit visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="2" text="药品分类号" border="1" color="33554432" x="928" y="364" height="76" width="439" html.valueishtml="0"  name=class_id_t visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="1" color="33554432" x="1522" y="352" height="88" width="352" format="[general]" html.valueishtml="0"  name=class_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="2" text="批文号" border="1" color="33554432" x="55" y="564" height="76" width="297" html.valueishtml="0"  name=auth_code_t visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="1" color="33554432" x="471" y="560" height="88" width="526" format="[general]" html.valueishtml="0"  name=auth_code visible="1" edit.limit=100 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="2" text="药品单价" border="1" color="33554432" x="1061" y="572" height="76" width="393" html.valueishtml="0"  name=unit_price_t visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" )
column(band=detail id=8 alignment="1" tabsequence=10 border="1" color="33554432" x="1527" y="560" height="88" width="384" format="[general]" html.valueishtml="0"  name=unit_price visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="2" text="供应商代码" border="1" color="33554432" x="0" y="752" height="76" width="361" html.valueishtml="0"  name=vend_id_t visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="1" color="33554432" x="480" y="756" height="88" width="352" format="[general]" html.valueishtml="0"  name=vend_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?