-
Notifications
You must be signed in to change notification settings - Fork 0
/
bc_label_rule_Vv.xml
20 lines (20 loc) · 1.51 KB
/
bc_label_rule_Vv.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<GroupBox Name="GBDVbc_label_rule" cols="xs12 sm12 md12 lg12"><Ctrls>
<ListCtrl Name="bc_label_rule_vLst" ToolTip="ttp_bc_label_rule_v" Size="700,450" OnLoad="init" Heading="bc_label_rule_code,25;bc_label_rule_name,125;code_len,55;description,580;status,120;created_by,60;creation_date,150;last_update_by,60;last_update_date,150;bc_label_rule_id,60;" loadedclick="0">
<DbDetails >
<Index>bc_label_rule_id</Index>
<DbTable>mes_trace.bc_label_rule b</DbTable>
<Data>b.bc_label_rule_code,b.bc_label_rule_name,b.code_len,b.description,b.status,b.created_by,b.creation_date,b.last_update_by,b.last_update_date,b.bc_label_rule_id</Data>
<Order>bc_label_rule_id</Order></DbDetails>
<operator refresh="1" initial="0" firstpage="0" prepage="0" nextpage="0">
<op text="modify"><DbDetails><Where>bc_label_rule_id='%{bc_label_rule_vLst[bc_label_rule_id]}'</Where></DbDetails><submit namelist="DbDetails" next="$this.bc_label_rule.bc_label_ruleLst"/><assign name="$this.bc_label_rule.frmwndctrl" expr="%{this}"/></op>
<op text="delete" needconfirm="1"><DbDetails>
<DbTable>mes_trace.bc_label_rule</DbTable>
<Where>bc_label_rule_id='%{bc_label_rule_vLst[bc_label_rule_id]}'</Where>
<queryFormat>delete from %{table} where %{where}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><submit/></op>
</operator>
<OnChanged>
<assign name="pgcur_bc_label_rule" expr="js(%{bc_label_rule_vLst[currentpage]}+1)"/>
<assign name="pgscb_bc_label_rule" expr="js(%{bc_label_rule_vLst[currentpage]}+1)" function="SetSel"/>
</OnChanged></ListCtrl>
</Ctrls></GroupBox>