first commit
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
<script>
|
||||
Z.onload(function()
|
||||
{
|
||||
doIndustryCatQuery();
|
||||
});
|
||||
|
||||
function doIndustryCatQuery()
|
||||
{//获取标签属性分类
|
||||
var industryId = Z("#industryId").val();
|
||||
if (industryId == null || industryId == undefined)
|
||||
return;
|
||||
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("LabelPresenter");
|
||||
ajax.setMethodName("doIndustryCatQuery");
|
||||
ajax.addParam(industryId);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function()
|
||||
{
|
||||
var labels = Z.Jsons.toObject(this.responseText);
|
||||
var html = "";
|
||||
var data_color = "${zmr_color_class}";
|
||||
|
||||
html += "<select name='attributeCatId' id='attributeCatId' class='z-select z-w200' data-role='z-select' data-class='"+data_color+"'>";
|
||||
for(var i=0; i<labels.length; i++)
|
||||
{
|
||||
var label = labels[i];
|
||||
html += "<option value=" + label.attributeCatId +">"+ label.attributeCatName +"</option>";
|
||||
}
|
||||
|
||||
html += "</select>";
|
||||
Z("#attributeCat").html(html);
|
||||
});
|
||||
ajax.execute();
|
||||
}
|
||||
</script>
|
||||
|
||||
${zhiqim_manager_history("/labelAttribute.htm")}
|
||||
${request.getValidateScript()}
|
||||
${zhiqim_manager_breadcrumb_parent("/labelAttribute.htm", "标签属性值", "修改标签属性值")}
|
||||
<div class="content">
|
||||
${zhiqim_manager_title("修改标签属性值")}
|
||||
<form name="theForm" action="labelAttributeUpdate.htm" method="post" onsubmit="return validateForm(this);" data-role="z-call-frame">
|
||||
<input name="attributeId" type="hidden" value="${attr.getAttributeId()}">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr>
|
||||
<td width="40%">标签分类:(请选择)</td>
|
||||
<td width="*">
|
||||
<select name="industryId" id="industryId" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}" onchange="doIndustryCatQuery()">
|
||||
<#for item : indList>
|
||||
<option value="${item.getIndustryId()}" <#if item.getIndustryId() == attr.getIndustryId()>selected </#if>>${item.getIndustryName()}</option>
|
||||
</#for>
|
||||
</select> <font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> 属性:(请选择)</td>
|
||||
<td>
|
||||
<span id="attributeCat"></span><font color=red> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>属性值名称:(64位不定长字符)</td>
|
||||
<td><input name="attributeName" class="z-input ${zmr_color_class} z-w200 z-cyan" type="text" maxlength="64" value="${attr.getAttributeName()}"/><font color=red> *</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
${zhiqim_manager_submit()}
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user