45 行
1.7 KiB
Plaintext
45 行
1.7 KiB
Plaintext
${request.getValidateScript()}
|
|
<script>
|
|
|
|
function editDesignPrice()
|
|
{
|
|
var designId = ${designId};
|
|
var designPrice = document.getElementById("designPrice").value;
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("ProductConvertAction");
|
|
ajax.setMethodName("editDesignPrice");
|
|
ajax.addParam(designId);
|
|
ajax.addParam(designPrice);
|
|
ajax.setFailureAlert();
|
|
ajax.setSuccess(function(){
|
|
Z.success("操作成功",function(){parent.location.reload();parent.Z.Dialog.close();});
|
|
});
|
|
ajax.setLoading("editDesignPrice", '正在提交', {disabled:true});
|
|
ajax.execute();
|
|
window.top.location.reload();
|
|
|
|
|
|
}
|
|
</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 id="designPrice" name="designPrice" <#if designPrice lt 0>value="${Amounts.toYuanMustRadix(designPrice)}"<#else>value="${designPrice}"</#if> step="1" min="0" 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="editDesignPrice" class="z-button z-large z-w120 ${zmr_color_class}" type="button" onclick="editDesignPrice();">提交</button>
|
|
<button type="button" class="z-button z-large z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
|
|
</div>
|