<select class="combox" name="province" ref="combox_city"refUrl="city.do?code={value}">
<option value="all">所有省市</option>
<option value="bj">北京</option>
<option value="sh">上海</option>
</select>
<select class="combox" name="city" id="combox_city"ref="combox_area" refUrl=" area.do?code={value}">
<option value="all">所有城市</option>
</select>
<select class="combox" name="area" id="combox_area">
<option value="all">所有區(qū)縣</option>
</select>
[
["all", "所有城市"],
["bj", "北京市"]
]
suggest+lookup+主從結(jié)構(gòu) 請(qǐng)參照demo:界面組件 à 常用組件 à suggest+lookup+主從結(jié)構(gòu)
查找?guī)Щ?/strong>
<button type="button" multLookup="orgId" warn="請(qǐng)選擇部門">選擇帶回</button>
<input type="checkbox" name="orgId" value="{id:'1', orgName:'技術(shù)部', orgNum:'1001'}"/>
<input type="checkbox" name="orgId" value="{id:'2', orgName:'人事部', orgNum:'1002'}"/>
<input type="checkbox" name="orgId" value="{id:'3', orgName:'銷售部', orgNum:'1003'}"/>
<table class="list nowrapitemDetail" addButton="新建從表1條目" width="100%">
<thead>
<tr>
<th type="text" name="items.itemString" size="12" fieldClass="required">從字符串</th>
<th type="text" name="items.itemInt" size="12" fieldClass="digits">從整數(shù)</th>
<th type="text" name="items.itemFloat" size="12" fieldClass="number">從浮點(diǎn)</th>
<th type="date" name="items.itemDate" size="12">從日期</th>
<th type="date" format="yyyy-MM-dd HH:mm:ss" name="items.itemDataTime" size="16">從日期時(shí)間</th>
<th type="lookup" name="dwz.items.org.orgName" lookupGroup="items.org" lookupUrl="xxxUrl" suggestUrl="xxxUrl" suggestFields="orgName"size="12">部門名稱</th>
<th type="enum" name="items.itemEnum" enumUrl="xxxUrl" size="12">從枚舉</th>
<th type="attach" name="dwz.items.attachment.fileName" lookupGroup="items.attachment" lookupUrl="xxxUrl" size="12">從附件</th>
<th type="del" width="60">操作</th>
</tr>
</thead>
<tbody></tbody>
</table>
<table>標(biāo)簽中class=”itemDetail” 必須用于關(guān)聯(lián)主從結(jié)構(gòu)js效果。addButton=”xxx”可選默認(rèn)為”Add New”用來(lái)定義添加從表按鈕的文字。
更多建議: