<div id="changeDate" closed="true"
style="width: 650px; height: 500px" modal="true"
maximizable="false" data-options="toolbar: '#dialog-toolbar',closed:true" >
<s:form _action="updatereport" id="updateForm">
<input type="hidden" name="repairsDetail.id" id="id">
<table style="width:45%;text-align: center;overflow: hidden;float: left;margin-top:5px;">
<tr>
<td class="fieldlabel"><span >网点维修中心:</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.areaRange" id="areaRange">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >订单来源:</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.customer" id="customer">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >收货票数:</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.shNum" id="shNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >退/换(收货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.shThNum" id="shThNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >维修(收货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.shFwNum" id="shFwNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >回收(收货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.shHsNum" id="shHsNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >租赁(收货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.shZlNum" id="shZlNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >发货票数:</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.fhNum" id="fhNum"></td>
</tr>
<tr>
<td class="fieldlabel"><span >退/换(发货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.fhThNum" id="fhThNum">
</tr>
<tr>
<td class="fieldlabel"><span >维修(发货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.fhFwNum" id="fhFwNum">
</tr>
<tr>
<td class="fieldlabel"><span >回收(发货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.fhHsNum" id="fhHsNum">
</tr>
<tr>
<td class="fieldlabel"><span >租赁(发货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.fhZlNum" id="fhZlNum">
</tr>
<tr>
<td class="fieldlabel"><span >翻新(发货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.fhFxNum" id="fhFxNum">
</tr>
<tr>
<td class="fieldlabel"><span >外发送修(发货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.fhWfwxNum" id="fhWfwxNum">
</tr>
<tr>
<td class="fieldlabel"><span >回收(收货):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.fhBxthNum" id="fhBxthNum">
</tr>
<tr>
<td class="fieldlabel"><span >拒收:</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.shRejectNum" id="shRejectNum">
</td>
</tr>
</table>
<table style="width:50%;margin-top:5px;text-align: center;overflow: hidden;float: right;">
<tr>
<td class="fieldlabel"><span >本厂维修中(留存):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.lcBcwxzNum" id="lcBcwxzNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >本厂待料(留存):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.lcBcdlNum" id="lcBcdlNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >待厂家沟通处理(留存):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.lcCjgtNum" id="lcCjgtNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >待外发送修(留存):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.lcDwfsNum" id="lcDwfsNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >待质检(留存):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.lcSzjNum" id="lcSzjNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >待发货(留存):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.lcDfhNum" id="lcDfhNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >不符三包退换条件(留存):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.lcBfsbNum" id="lcBfsbNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >待产线外呼(留存):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.lcDcxwhNum" id="lcDcxwhNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >待客服外呼(留存):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.lcDkfwhNum" id="lcDkfwhNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >待客户付款(留存):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.lcDkhfkNum" id="lcDkhfkNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >维修台数(保外维修):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.bwwxWxNum" id="bwwxWxNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >收入(保外维修):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.bwwxSrNum" id="bwwxSrNum">
</td>
</tr>
<tr>
<td class="fieldlabel"><span >出勤人数(总共):</span></td>
<td align="left" colspan="3">
<input type="text" name="repairsDetail.cqrsNum" id="cqrsNum">
</td>
</tr>
</table>
<%-- <s:submit /> --%>
<a href="#" class="easyui-linkbutton" iconCls="icon-search" id="sfqueryTime" onclick = "onsave()" style="text-align: center;">保存</a>
</s:form>
</div>
<script>
var aa = $("#updateForm").serializeJson();
//var aa = $("#peopleForm").serializeJson();//获取from表单转换成json格式的序列化
$.ajax({
url:contextPath + "/report/updatereport.pvt",
type:"post",
data:aa,//form表单
contentType:'application/x-www-form-urlencoded',
dataType : 'json',
success:function(data) {
if(data.success == true) {
$('#peopleGrid').datagrid('load', {});//刷新datagrid数据表格
$('#updateForm').form('clear');//清空from表单的属于框
info("保存成功");
$('#changeDate').dialog('close');//关闭from表单
}else{
$('#changeDate').dialog('close');
info("保存错误");
}
}
});
</script>
esayui from表单提交的时候需要加上name需要加上对象名才能传到后台
猜你喜欢
转载自wyr123789.iteye.com/blog/2346351
今日推荐
周排行