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

63 lines
2.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
${request.getValidateScript()}
<script>
function doOrderQuestionsAdd(){
var product = Z("#product").val();
var materials = Z("#materials").val();
var sizeLength = Z("#sizeLength").val();
var sizeWidth = Z("#sizeWidth").val();
var faceCount = Z("#faceCount").val();
var styleCount = Z("#styleCount").val();
var others = Z("#others").val();
var ajax = new Z.Ajax();
ajax.setClassName("ConfigQuestionsAction");
ajax.setMethodName("orderQuestionsAdd");
ajax.addParam("product",product);
ajax.addParam("materials",materials);
ajax.addParam("sizeLength",sizeLength);
ajax.addParam("sizeWidth",sizeWidth);
ajax.addParam("faceCount",faceCount);
ajax.addParam("styleCount",styleCount);
ajax.addParam("others",others);
ajax.setFailureAlert();
ajax.setSuccess(function()
{
Z.success("添加成功", function(){parent.location.reload();parent.Z.Dialog.close();});
});
ajax.execute();
}
</script>
<style>
.container{ min-height:200px;}
</style>
<table class="z-table z-bordered z-pd6 z-bg-white" style="height:240px;">
<tr>
<td>
产品类型:<input id="product" type="text" name="product" class="z-input z-w200" value="" placeholder="如:名片">&nbsp;&nbsp;&nbsp;
材质描述:<input id="materials" type="text" name="materials" class="z-input z-w200" value="" placeholder="如:铜版纸覆膜">
</td>
</tr>
<tr>
<td>
尺寸长(mm)<input id="sizeLength" type="text" name="sizeLength" class="z-input z-w180" value="" placeholder="如:90" data-options="type:Integer;">&nbsp;&nbsp;&nbsp;
尺寸宽(mm)<input id="sizeWidth" type="text" name="sizeWidth" class="z-input z-w180" value="" placeholder="如:54" data-options="type:Integer;">
</td>
</tr>
<tr>
<td>
单双面:&nbsp;&nbsp;&nbsp;&nbsp;<input id="faceCount" type="text" name="faceCount" class="z-input z-w200" value="" placeholder="如:双面">&nbsp;&nbsp;&nbsp;
款数:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input id="styleCount" type="text" name="styleCount" class="z-input z-w200" value="" placeholder="如:1款1模">
</td>
</tr>
<tr>
<td>
其他需求:<input id="others" type="text" name="others" class="z-input z-w500" value="" >
</td>
</tr>
</table>
<#-- 操作 -->
<div class=" z-w100p z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">
<button class="z-button z-large z-w120 ${zmr_color_class}" onclick="doOrderQuestionsAdd();" >提交</button>&nbsp;
<button type="button" class="z-button z-large z-w100 z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
</div>