Files
ziqim/Yangcai365_design/manage/zview/designerworks/modifyOrderNum.zml
T
2025-02-20 14:58:55 +08:00

31 行
1.2 KiB
Plaintext

<script>
function doModifyOrderNum()
{
var orderNum = Z("#orderNum").val();
if (Z.V.isEmptyBlank(orderNum))
{
Z.alert("数量不能为空");
return;
}
var ajax = new Z.Ajax();
ajax.setContextPath("${context.getContextPath()}");
ajax.setClassName("DesignerProfilePresenter");
ajax.setMethodName("doModifyOrderNum");
ajax.addParam("orderNum",orderNum);
ajax.setFailureAlert();
ajax.setSuccessAlertReloadParent("修改成功");
ajax.execute();
}
</script>
<div class="z-h60 z-pd20">
原数量:<span class="z-color-666"><#if operatorParam.isEmpty()>0<#else>${operatorParam}</#if></span>
</div>
<div class="z-h60 z-pd20">
新数量:<input id="orderNum" class="z-input z-w300 ${zmr_color_class}" maxlength="2" data-options="type:Integer;" spellcheck="false">
<span class="z-px12 z-text-red">*</span>
</div>
<div class="z-absolute z-b0 z-l0 z-w100p z-h80 z-pd20 z-text-center z-bg-gray">
<button type="button" class="z-button z-large z-w100 ${zmr_color_class}" onclick="doModifyOrderNum();">提交</button>
<button type="button" class="z-button z-large z-w100 z-mg-l10" onclick="parent.Z.Dialog.close();">关闭</button>
</div>