**HTML**
```
<script type\="text/html" template
lay-url\="{{ layui.setter.apiUrl.SlopsApi }}/Execute?path=government%2Fstation%2Fdetail%2FBasicInfo.txt&bidID={{ layui.data(layui.setter.tableName).bidID }}&ID={{ layui.router().search.ID || '' }}"
lay-done\="setTimeout(function(){layui.data.done(d)},200);"\>
<div class="layui-input-block">
<select name="Material">
<option value="">--请选择--</option>
{{# $.each(d.tables[2],function (idx, item){ }}
<option value="{{item.F_Key}}">{{item.Caption}}</option>
{{# }); }}
</select>
</div>
</script>
```
**JS**
```
var info={
init:function(ID){
form.render(null, 'government-station-detail-form');
}}
```
渲染语句
` form.render(null, 'government-station-detail-form');`
**SQL**
```
select
pb.ID as BidID,pb.BidCap,s.ID as FolderID,pb.FolderID as PreFolderID
from Slops.dbo.P_ProjectBid pb
left join Slops.dbo.S_FileSystem s on s.PreID = pb.FolderID and s.Source = 'CessPool'
where pb.ID = @bidID
SELECT F_Key,Caption
FROM Slops.dbo.S_DictItem
WHERE DictID = 40 ORDER BY F_Order
SELECT F_Key,Caption
FROM Slops.dbo.S_DictItem
WHERE DictID = 36 ORDER BY F_Order
```