ndbs 7 月之前
父節點
當前提交
f9b9c4bbfc
共有 2 個文件被更改,包括 10 次插入12 次删除
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.cshtml
  2. +7
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.js

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.cshtml 查看文件

@@ -18,10 +18,10 @@
<div id="IssueMonth" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-4 lr-form-item">
<div class="lr-form-item-title">处室<font face="宋体">*</font></div>
<input id="Department" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<div class="lr-form-item-title">处室</div>
<input id="Department" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="ClassInfo">
<div class="col-xs-6 lr-form-item" >
<div class="lr-form-item-title">姓名<font face="宋体">*</font></div>
<div id="EmpNo" checkexpession="NotNull" isvalid="yes"></div>
<input id="EmpName" type="hidden" />


+ 7
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.js 查看文件

@@ -49,16 +49,14 @@ var bootstrap = function ($, learun) {
if (!$('#form').lrValidform()) {
return false;
}
var postData = $('#form').lrGetFormData();
$("#EmpName").val($("#EmpNo").find(".lr-select-placeholder").text());
console.log(postData.EmpName,"postData")
console.log(postData, "postData")
//$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/JobPerformance/SaveForm?keyValue=' + keyValue, postData, function (res) {
// // 保存成功后才回调
// if (!!callBack) {
// callBack();
// }
//});
var postData = $('#form').lrGetFormData();
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/JobPerformance/SaveForm?keyValue=' + keyValue, postData, function (res) {
// 保存成功后才回调
if (!!callBack) {
callBack();
}
});
};
page.init();
}

Loading…
取消
儲存