-
Notifications
You must be signed in to change notification settings - Fork 0
/
bc_label_rule_detail_GBOPE.xml
37 lines (37 loc) · 2.6 KB
/
bc_label_rule_detail_GBOPE.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<GroupBox cols="xs12 sm6 md4" Name="GBOPEbc_label_rule_detail" Size="100,100"><Ctrls>
<Button sqlpkinsert="bc_label_rule_detail_id" Text="create" ToolTip="ttp_createbc_label_rule_detail" Name="insertbc_label_rule_detail" Size="50,20">
<OnClick>
<DbDetails mode="insert" fcsm="1">
<DbTable>mes_trace.bc_label_rule_detail</DbTable>
<Required>%{dataRequired}</Required>
<Requireless>%{dataRequireless}</Requireless>
<Data>bc_label_rule_detail_name,rule_type,start_pos,data_len,description,status,bc_label_rule_id</Data>
<DataEx>created_by,creation_date,last_update_by,last_update_date;'%{operaid}',now(),'%{operaid}',now()</DataEx>
<queryFormat>insert into %{table} %{data}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><if cond="!%{insertbc_label_rule_detail[broke]}"><if cond="%{refreshAfterEdit}==1"><submit next="bc_label_rule_detailLst" delay="1000"/><elseif cond="%{refreshAfterEdit}==2"/><if cond="1"><if cond="'%{frmwndctrl}'"><submit next="%{frmwndctrl}" delay="1000"/><else/><submit next="$parent.bc_label_rule_detail_vLst" delay="1000"/></if></if></if></if>
</OnClick>
</Button><TAB/>
<Button Text="modify" ToolTip="ttp_modifybc_label_rule_detail" Name="modifybc_label_rule_detail" Size="50,20">
<OnClick>
<DbDetails mode="update" fcsm="1">
<DbTable>mes_trace.bc_label_rule_detail</DbTable>
<Required>%{dataRequired}</Required>
<Requireless>%{dataRequireless}</Requireless>
<Data>bc_label_rule_detail_name,rule_type,start_pos,data_len,description,status</Data>
<DataEx>last_update_by,last_update_date;'%{operaid}',now()</DataEx>
<Where>bc_label_rule_detail_id='%{bc_label_rule_detail_id}'</Where>
<queryFormat>update %{table} set %{data} where %{where}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><if cond="!%{modifybc_label_rule_detail[broke]}"><if cond="%{refreshAfterEdit}==1"><submit next="bc_label_rule_detailLst" delay="1000"/><elseif cond="%{refreshAfterEdit}==2"/><if cond="'%{frmwndctrl}'"><submit next="%{frmwndctrl}" delay="1000"/><else/><submit next="$parent.bc_label_rule_detail_vLst" delay="1000"/></if></if></if>
</OnClick>
</Button><TAB/>
<Button Text="reset" ToolTip="ttp_resetbc_label_rule_detail" Name="resetbc_label_rule_detail" Size="50,20">
<OnClick>
<submit next="GBDEDITbc_label_rule_detail" function="reset"/>
</OnClick>
</Button><TAB/>
<Button Text="Search" ToolTip="ttp_gsearchbc_label_rule_detail" Name="gsearchbc_label_rule_detail" Size="50,20" visible="false">
<OnClick>
<search next="bc_label_rule_detailLst" listed="0" prefixwhere="0" prefixand="0" inputed="1"/><submit next="GBDEDITbc_label_rule_detail" namelist="search" function="search"/>
</OnClick>
</Button><TAB/>
</Ctrls></GroupBox>