first commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
${request.getValidateScript()}
|
||||
<script>
|
||||
function editUrgentPrice()
|
||||
{
|
||||
var designId = ${designId};
|
||||
var designPrice = document.getElementById("urgentPrice").value;
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("ProductConvertAction");
|
||||
ajax.setMethodName("editUrgentPrice");
|
||||
ajax.addParam(designId);
|
||||
ajax.addParam(designPrice);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(result){
|
||||
Z.success(result,function(){parent.location.reload();parent.Z.Dialog.close();});
|
||||
});
|
||||
ajax.setLoading("editUrgentPrice", '正在提交', {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>
|
||||
<input step="1" min="0" id="urgentPrice" name="urgentPrice" <#if urgentPrice lt 0>value="${Amounts.toYuanMustRadix(urgentPrice)}"<#else>value="${urgentPrice}"</#if> onkeyup="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''">
|
||||
</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="editUrgentPrice" class="z-button z-large z-w120 ${zmr_color_class}" type="button" onclick="editUrgentPrice();">提交</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