From 188d93643753fa9f8990a619643a844af6e3e8b4 Mon Sep 17 00:00:00 2001 From: ndbs Date: Tue, 23 Apr 2024 16:28:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=BF=E8=88=8D=E7=89=A9=E5=93=81=E6=8D=9F?= =?UTF-8?q?=E5=9D=8F=E5=8E=BB=E6=8E=89=E7=8F=AD=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Acc_GoodsDemage/Index.js | 126 +++++++++--------- 1 file changed, 63 insertions(+), 63 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Index.js index d8243299d..d8c06443d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Index.js @@ -50,57 +50,57 @@ var bootstrap = function ($, learun) { $('#lr_refresh').on('click', function () { location.reload(); }); - $('#DeptNo').lrselect({ - allowSearch: true, - value: "deptno", - text: "deptname", - url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', - select: function (item) { - if (item) { - $('#MajorNo').lrselectRefresh({ - allowSearch: true, - url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', - param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } - }); - } else { - $('#MajorNo').lrselectRefresh({ - allowSearch: true, - url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', - param: { strWhere: "1=1 AND CheckMark=1" } - }); - } + //$('#DeptNo').lrselect({ + // allowSearch: true, + // value: "deptno", + // text: "deptname", + // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', + // select: function (item) { + // if (item) { + // $('#MajorNo').lrselectRefresh({ + // allowSearch: true, + // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', + // param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } + // }); + // } else { + // $('#MajorNo').lrselectRefresh({ + // allowSearch: true, + // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', + // param: { strWhere: "1=1 AND CheckMark=1" } + // }); + // } - } - }); - $('#MajorNo').lrselect({ - allowSearch: true, - url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', - value: "majorno", - text: "majorname", - param: { strWhere: "1=1 AND CheckMark=1" }, - select: function (item) { - if (item) { - $('#ClassNo').lrselectRefresh({ - allowSearch: true, - url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj', - param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1" } - }); - } else { - $('#ClassNo').lrselectRefresh({ - allowSearch: true, - url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj', - param: { strWhere: "1=1 AND CheckMark=1" } - }); - } - } - }); - $('#ClassNo').lrselect({ - allowSearch: true, - url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj', - param: { strWhere: "1=1 AND CheckMark=1" }, - value: "classno", - text: "classname" - }); + // } + //}); + //$('#MajorNo').lrselect({ + // allowSearch: true, + // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', + // value: "majorno", + // text: "majorname", + // param: { strWhere: "1=1 AND CheckMark=1" }, + // select: function (item) { + // if (item) { + // $('#ClassNo').lrselectRefresh({ + // allowSearch: true, + // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj', + // param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1" } + // }); + // } else { + // $('#ClassNo').lrselectRefresh({ + // allowSearch: true, + // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj', + // param: { strWhere: "1=1 AND CheckMark=1" } + // }); + // } + // } + //}); + //$('#ClassNo').lrselect({ + // allowSearch: true, + // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj', + // param: { strWhere: "1=1 AND CheckMark=1" }, + // value: "classno", + // text: "classname" + //}); // 新增 $('#lr_add').on('click', function () { @@ -202,19 +202,19 @@ var bootstrap = function ($, learun) { // }); // } //}, - { - label: "班级", name: "ClassNo", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj', - key: value, - keyId: 'classno', - callback: function (_data) { - callback(_data['classname']); - } - }); - } - }, + //{ + // label: "班级", name: "ClassNo", width: 100, align: "left", + // formatterAsync: function (callback, value, row, op, $cell) { + // learun.clientdata.getAsync('custmerData', { + // url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj', + // key: value, + // keyId: 'classno', + // callback: function (_data) { + // callback(_data['classname']); + // } + // }); + // } + //}, { label: "宿舍楼", name: "Dormitory", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {