52 lines
2.0 KiB
Plaintext
52 lines
2.0 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "选择物资采购申请单";
|
|
}
|
|
|
|
<table class="t1" style="width:600px">
|
|
<tr>
|
|
<td class="ltd" style="width:100px">申请时间:</td>
|
|
<td class="rtd" style="width:120px">
|
|
<input type="text" style="width:100px" class="Wdate" onclick="WdatePicker()" id="bt"/>
|
|
</td>
|
|
<td class="ltd" style="width:35px">至</td>
|
|
<td class="rtd" style="width:120px">
|
|
<input type="text" style="width:100px" class="Wdate" onclick="WdatePicker()" id="et" />
|
|
</td>
|
|
<td class="rtd">
|
|
<input type="button" value="查询" style="width:40px" id="cx" class="l-button" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div id="grid" style="width:600px"></div>
|
|
@section scripts{
|
|
|
|
<script src="@Url.Content("~/my97/WdatePicker.js")"></script>
|
|
<script>
|
|
//sqdh,sqr,sqsj,je,ksmc
|
|
$(function () {
|
|
$("#cx").click(function () {
|
|
liger.get("grid").set("parms", { bt: $("#bt").val(), et: $("#et").val() });
|
|
liger.get("grid").reload();
|
|
});
|
|
$("#grid").ligerGrid({
|
|
url: "@Url.Action("getcgxqd")",
|
|
title: "物资采购申请单",
|
|
usePager: false, parms: {},
|
|
columns: [
|
|
{ name: "sqdh", width: 80, display: "申请单号", type: "string" },
|
|
{ name: "ksmc", width: 80, display: "申请科室", type: "string" },
|
|
{ name: "sqr", width: 100, display: "申请人", type: "string" },
|
|
{ name: "sqsj", width: 160, display: "申请时间", type: "string" },
|
|
{ name: "je", width: 120, display: "金额", type: "string", align:"right" }
|
|
],
|
|
onSelectRow: function (r, i, o) {
|
|
if(window.parent.selesqd)
|
|
{
|
|
window.parent.selesqd(r);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
} |