Files
2025-02-20 14:59:35 +08:00

50 sor
2.0 KiB
Plaintext

${request.getValidateScript()}
<script>
function doModifyIndustry()
{//修改行业
var designId = Z("#designId").val();
var industryId = Z("#industryId").val();
var flag = ${flag};
var ajax = new Z.Ajax();
ajax.setClassName("DesignOrderPresenter");
ajax.setMethodName("doModifyIndustry");
ajax.addParam("designId", designId);
ajax.addParam("industryId", industryId);
ajax.setFailureAlert();
ajax.setSuccess(function(s)
{
Z.success("修改成功", function(){if(flag == 1){window.parent.doReFreshIndustryInfo();}parent.Z.Dialog.close();});
});
ajax.setLoading("modifyIndustry", '正在提交', {disabled:true});
ajax.execute();
}
</script>
<input id="designId" name="designId" value="${order.getDesignId()}" type="hidden">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40" bgcolor="${oddColor}">
<td width="25%">订单号:</td>
<td width="*">${order.getDesignId()}</td>
</tr>
<tr class="z-h40" bgcolor="${trColor}">
<td>产品:</td>
<td>${order.getOrderText()}</td>
</tr>
<tr class="z-h40" bgcolor="${oddColor}">
<td>行业:</td>
<td>
<select id="industryId" name="industryId" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}" data-options="maxHeight:140">
<#for item : Global.get(DesignIndustryCache.class).getIndustryList()>
<option value="${item.getIndustryId()}" <#if Validates.isEqual(item.getIndustryId(), order.getIndustryId())>selected</#if>>${item.getIndustryName()}</option>
</#for>
</select>
<font color=red>&nbsp;*</font></td>
</tr>
</table>
<#-- 操作 -->
<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">
<button id="modifyIndustry" class="z-button z-large z-w120 ${zmr_color_class}" type="button" onclick="doModifyIndustry();">提交</button>&nbsp;
<button type="button" class="z-button z-large z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
</div>