|
@@ -126,12 +126,12 @@ var bootstrap = function ($, learun) { |
|
|
|
|
|
|
|
|
// 编辑 |
|
|
// 编辑 |
|
|
$('#lr_edit').on('click', function () { |
|
|
$('#lr_edit').on('click', function () { |
|
|
var keyValue = $('#gridtable').jfGridValue('Id'); |
|
|
|
|
|
|
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
if (learun.checkrow(keyValue)) { |
|
|
if (learun.checkrow(keyValue)) { |
|
|
learun.layerForm({ |
|
|
learun.layerForm({ |
|
|
id: 'form', |
|
|
id: 'form', |
|
|
title: '编辑', |
|
|
title: '编辑', |
|
|
url: top.$.rootUrl + '/LogisticsManagement/DormitoryReturn/Form?keyValue=' + keyValue + '&ParentId=' + ParentId, |
|
|
|
|
|
|
|
|
url: top.$.rootUrl + '/LogisticsManagement/DormitoryReturn/Form?keyValue=' + keyValue, |
|
|
width: 600, |
|
|
width: 600, |
|
|
height: 400, |
|
|
height: 400, |
|
|
callBack: function (id) { |
|
|
callBack: function (id) { |
|
|