From 91a5ae76f511285db9588270cf186b52439e7d79 Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Thu, 15 Jul 2021 10:31:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E9=97=B4=E5=8F=B7=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E6=A1=86=E5=8A=A0=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Ass_AssetsChangeItem/Form.js | 5 +++-- .../Views/Ass_AssetsChangeItem/Index.js | 4 ++-- .../AssetManagementSystem/Views/Ass_AssetsInfo/Form.js | 4 ++-- .../Views/Ass_AssetsInfoItem/Form.js | 7 +++++-- .../Views/Ass_AssetsInfoItem/FormView.js | 4 ++-- .../Views/Ass_AssetsInfoItem/Index.js | 4 ++-- .../Views/Ass_AssetsInfoItem/IndexOfMy.js | 4 ++-- .../Views/Ass_AssetsInfoItem/IndexScrap.js | 4 ++-- .../Views/Ass_AssetsInfoItem/IndexTwo.js | 4 ++-- .../Views/Ass_AssetsInfoItemApply/Form.js | 4 ++-- .../Views/Ass_AssetsInfoItemApply/FormJY.js | 4 ++-- .../Views/Ass_AssetsInfoItemApply/FormJYHC.js | 4 ++-- .../Views/Ass_AssetsInfoItemApply/FormPurchase.js | 4 ++-- .../Views/Ass_AssetsOutItemApply/Form.js | 8 ++++---- .../AssetManagementSystem/Views/Ass_ScrapItem/Form.js | 4 ++-- 15 files changed, 36 insertions(+), 32 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.js index be9a986f9..4ce4ac911 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.js @@ -33,12 +33,13 @@ var bootstrap = function ($, learun) { $('#AIIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", + allowSearch: true }); } }); //房间 - $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); }, initData: function () { if (!!keyValue) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Index.js index c3b05a2af..f415a28ae 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Index.js @@ -62,12 +62,12 @@ var bootstrap = function ($, learun) { $('#AIIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); // 刷新 $('#lr_refresh').on('click', function () { location.reload(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js index 7073ebf0f..1962246f5 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js @@ -41,12 +41,12 @@ var bootstrap = function ($, learun) { $('#AIIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); //$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' }); $('#ASupplierId').lrDataSourceSelect({ code: 'Ass_SupplierData', value: 'sid', text: 'sname' }); $('#AAssType').lrDataItemSelect({ code: 'AssType' }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js index b24f20f7d..6923ff564 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js @@ -28,12 +28,15 @@ var bootstrap = function ($, learun) { $('#AIIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", + allowSearch: true }); } }); //房间 - $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AIIStoragePosition').lrselect({ + value: 'RId', text: 'RCode', allowSearch: true + }); $('#AIIsInStorage').lrDataItemSelect({ code: 'YesOrNoBit', select: function (val) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.js index 40bd669bb..4663e5358 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.js @@ -29,12 +29,12 @@ var bootstrap = function ($, learun) { $('#AIIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); $('#AIIsInStorage').lrDataItemSelect({ code: 'YesOrNoBit' }); $('#ScrapRemindTime').lrDataItemSelect({ code: 'ScrapRemindTime' }); $('#AIDepartment').lrselect({ diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js index cbc4536e0..935001a29 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js @@ -51,12 +51,12 @@ var bootstrap = function ($, learun) { $('#AIIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); //$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' }); $('#REnabled').lrDataItemSelect({ code: 'YesOrNoBit' }); $('#AIASSState').lrDataItemSelect({ code: 'AssState' }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js index 98abf4fb1..2e58c39fa 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js @@ -46,12 +46,12 @@ var bootstrap = function ($, learun) { $('#AIIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); $('#AIASSState').lrDataItemSelect({ code: 'AssState' }); $('#AIDepartment').lrDepartmentSelect(); // 刷新 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js index f85486799..4a839c634 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js @@ -39,12 +39,12 @@ var bootstrap = function ($, learun) { $('#AIIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); $('#AIASSState').lrDataItemSelect({ code: 'AssState' }); $('#AIDepartment').lrDepartmentSelect(); // 刷新 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js index 146dd0bda..3fd16df3e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js @@ -47,12 +47,12 @@ var bootstrap = function ($, learun) { $('#AIIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); $('#AIASSState').lrDataItemSelect({ code: 'AssState' }); $('#AIAssType').lrDataItemSelect({ code: 'AssType' }); $('#AIDepartment').lrDepartmentSelect(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.js index 7f5bcc8ea..1c17cd9a6 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.js @@ -114,12 +114,12 @@ var bootstrap = function ($, learun) { $('#AAIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AAIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AAIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); $('#AAIHasDetail').lrDataItemSelect({ code: 'YesOrNoBit', select: function (item) { if (item != null && item != undefined) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.js index 4423a23fe..7c8c32285 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.js @@ -114,12 +114,12 @@ var bootstrap = function ($, learun) { $('#AAIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AAIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AAIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); $('#AAIHasDetail').lrDataItemSelect({ code: 'YesOrNoBit', select: function (item) { if (item != null && item != undefined) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJYHC.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJYHC.js index 4652724a2..898206862 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJYHC.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJYHC.js @@ -114,12 +114,12 @@ var bootstrap = function ($, learun) { $('#AAIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AAIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AAIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); $('#AAIHasDetail').lrDataItemSelect({ code: 'YesOrNoBit', select: function (item) { if (item != null && item != undefined) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js index cb9f336d8..23dfe198a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js @@ -110,12 +110,12 @@ var bootstrap = function ($, learun) { $('#AIIStoragePosition').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); + $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); $('#AAIHasDetail').lrDataItemSelect({ code: 'YesOrNoBit' }); $('#AAIPhoto').lrUploader(); }, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js index 9013c7955..80c7605fc 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js @@ -49,12 +49,12 @@ var bootstrap = function ($, learun) { $('#AOIRoomId').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //原房间 - $('#AOIRoomId').lrselect({ value: 'RId', text: 'RCode' }); + $('#AOIRoomId').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); //新楼宇 $('#AOINewStorageId').lrselect({ type: 'tree', @@ -69,12 +69,12 @@ var bootstrap = function ($, learun) { $('#AOINewRoomId').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //新房间 - $('#AOINewRoomId').lrselect({ value: 'RId', text: 'RCode' }); + $('#AOINewRoomId').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); $('#AOINewDepartment').lrselect({ type: 'tree', allowSearch: true, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js index 657223ca2..05d29fdac 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js @@ -125,12 +125,12 @@ var bootstrap = function ($, learun) { $('#AAILocation').lrselectRefresh({ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, text: "RCode", - value: "RId" + value: "RId", allowSearch: true }); } }); //房间 - $('#AAILocation').lrselect({ value: 'RId', text: 'RCode' }); + $('#AAILocation').lrselect({ value: 'RId', text: 'RCode', allowSearch: true }); $('#AAIIsInStorage').lrDataItemSelect({ code: 'YesOrNoBit' }); $('#AAIUnit').lrDataItemSelect({ code: 'sldw' });