first commit
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
${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="如:名片">
|
||||
材质描述:<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;">
|
||||
尺寸宽(mm):<input id="sizeWidth" type="text" name="sizeWidth" class="z-input z-w180" value="" placeholder="如:54" data-options="type:Integer;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
单双面: <input id="faceCount" type="text" name="faceCount" class="z-input z-w200" value="" placeholder="如:双面">
|
||||
款数: <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>
|
||||
<button type="button" class="z-button z-large z-w100 z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user