// ---------------------- // 【下拉树设置 -- 单选】
{display: "产品", name: "Variety_Name", comboboxName: "Variety_Name2", newline: true, labelWidth: 100, width: 180, space: 30, type: "select", options: { valueFieldID: "Variety_Id", tree: { url: "../handle/Class_CustomProducts_Handle.ashx?ajaxaction=Select_Class_Variety", checkbox: false} } },
//---------------------- // 【下拉树设置-- 多选框】
{display: "产品", name: "Variety_Name", comboboxName: "Variety_Name2", newline: true, labelWidth: 100, width: 180, space: 30, type: "select", options: { valueFieldID: "Variety_Id", tree: { url: "../handle/Class_CustomProducts_Handle.ashx?ajaxaction=Select_Class_Variety", checkbox: True} } },
//---------------------- // 【下拉行设置】
{display: "产品", name: "Variety_Name", comboboxName: "Variety_Name2", newline: true, labelWidth: 100, width: 180, space: 30, type: "select", options: { valueFieldID: "Variety_Id", url: "../handle/Class_CustomProducts_Handle.ashx?ajaxaction=Select_Class_Variety", checkbox: false } },
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // 【下拉弹出选择窗口】
{display: "产品名称", name: "ProductId", comboboxName: "ProductId2", newline: true, labelWidth: 100, width: 150, space: 30, type: "select", option: { } },
//--------------- 注意:【option: { }】选项
//------【2 - 放在Form面】 -[设置下拉框的数据关联]
$.ligerui.get("ProductId2").set('onBeforeOpen', f_selectContact)
//------【3 - 放在body后面】
<div id="productdetail" style="display:none;"> <%--【弹出产品选择窗口】--%>
<div class="searchbox">
<form class="l-form">
<table>
<tr>
<td>助记码:</td><td style="width:155px"><input type="text" id="helpcodetext"/></td>
<td ><a href="javascript:void(0)" class="l-button" style="width:100px" onclick='GetClassProduct()'>查询</a></td>
<td> </td>
<td><a href="javascript:void(0)" class="l-button" style="width:100px" onclick='GetClassProductAll()'>全部显示</a></td>
</tr>
</table>
</form>
</div>
<div id="productgrid" style="margin:0px;"></div>
</div>
//------【4】
// #region ===========================================================【弹出选择产品js函数 - 放在<script type="text/javascript">下面】