first commit
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
${request.getValidateScript()}
|
||||
<script>
|
||||
function editDraftType()
|
||||
{
|
||||
debugger;
|
||||
var designId = ${designId};
|
||||
var orderStatus = document.getElementById("orderStatus").value;
|
||||
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("ProductConvertAction");
|
||||
ajax.setMethodName("designStatus");
|
||||
ajax.addParam(designId);
|
||||
ajax.addParam(orderStatus);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("修改成功",function(){parent.location.reload();parent.Z.Dialog.close();});
|
||||
});
|
||||
ajax.setLoading("editDraftType", '正在提交', {disabled:true});
|
||||
ajax.execute();
|
||||
}
|
||||
</script>
|
||||
<table class="z-table z-bordered z-pd6">
|
||||
<tr class="z-h50" bgcolor="${oddColor}">
|
||||
<td width="25%">订单号:</td>
|
||||
<td width="*">${designId}</td>
|
||||
</tr>
|
||||
<tr class="z-h60" bgcolor="${trColor}">
|
||||
<td>产品描述:</td>
|
||||
<td>${orderText}</td>
|
||||
</tr>
|
||||
<tr class="z-h70" bgcolor="${zmr_thead_bgcolor}">
|
||||
<td>订单状态:</td>
|
||||
<td>
|
||||
<select id="orderStatus" name="orderStatus" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="">全部</option>
|
||||
<#for statusStr : StatusConstants.getOrderStatusList()>
|
||||
|
||||
<option value="${statusStr.value()}" <#if statusStr.value() == orderStatus>selected</#if>>${statusStr.desc()}</option>
|
||||
|
||||
</#for>
|
||||
<option value="110" <#if orderStatus == 110>selected</#if>>未完成</option>
|
||||
<option value="120" <#if orderStatus == 120>selected</#if>>审稿退回</option>
|
||||
</select>
|
||||
</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="editDraftType" class="z-button z-large z-w120 ${zmr_color_class}" type="button" onclick="editDraftType();">提交</button>
|
||||
<button type="button" class="z-button z-large z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user