You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.6 KiB
88 lines
2.6 KiB
|
|
@{
|
|
ViewBag.Title = "Index";
|
|
Layout = "~/Views/Shared/_Form.cshtml";
|
|
}
|
|
<link href="~/Content/js/select2/select2.min.css" rel="stylesheet" />
|
|
<link href="~/Content/css/bootstrap/bootstrap-select.css" rel="stylesheet" />
|
|
<script src="~/Content/js/datepicker/WdatePicker.js"></script>
|
|
<script src="~/Content/js/bootstrap/bootstrap-select.js"></script>
|
|
<script src="~/Content/js/select2/select2.min.js"></script>
|
|
<script src="~/Content/js/layer/layer.js"></script>
|
|
<style>
|
|
#Additem {
|
|
margin-left: 45%;
|
|
}
|
|
|
|
#AddTemitem {
|
|
margin-right: 45%;
|
|
}
|
|
|
|
.ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td {
|
|
overflow: inherit;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.ui-jqgrid tr.jqgrow td {
|
|
white-space: normal !important;
|
|
height: auto;
|
|
}
|
|
</style>
|
|
<script>
|
|
debugger;
|
|
var ids = $.request("ids");
|
|
var RoleEnCode = '@NFine.Code.OperatorProvider.Provider.GetCurrent().UserCode'
|
|
var WorkPoint = '@NFine.Code.OperatorProvider.Provider.GetCurrent().Location'
|
|
$(function () {
|
|
$("#txtMUSER").val(RoleEnCode);
|
|
})
|
|
|
|
function submitForm() {
|
|
debugger;
|
|
if (!$('#form1').formValid()) {
|
|
return false;
|
|
}
|
|
var LeadTime = $("#txtMTIME").val();//交期
|
|
|
|
$.submitForm({
|
|
url: "/WMS/IQCQuality/UpdateMaterialReUrgent?" + Math.random(),
|
|
param: { keyValue: JSON.stringify(ids), time: LeadTime},
|
|
success: function (data) {
|
|
console.log(data);
|
|
if (data.state == 'success') {
|
|
$.modalMsg("操作成功", "success");
|
|
$.currentWindow().$("#gridList").trigger("reloadGrid");
|
|
}
|
|
else
|
|
$.modalMsg(data.msg, "warning");
|
|
}
|
|
});
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
<form id="form1">
|
|
<div class="topPanel" style="height:10px">
|
|
<div class="btn-group">
|
|
@*<a id="AddItemLot" style="margin-left:3px;" class="btn btn-primary" onclick="btnCreate()"><i class="fa fa-pencil-square-o"></i>添加明细</a>
|
|
<a id="refresh" class="btn btn-primary" style="margin-left:3px;" onclick="reloadData()"><span class="glyphicon glyphicon-refresh"></span></a>*@
|
|
</div>
|
|
</div>
|
|
<div style="margin-right: 20px;">
|
|
<table class="form">
|
|
<tr>
|
|
<th class="formTitle">物料需求时间:</th>
|
|
<td class="formValue">
|
|
<input id="txtMTIME" type="text" readonly="readonly" class="form-control" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd HH:mm:ss'})"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</form>
|
|
|
|
|
|
|