Browse Source

房间号下拉框加搜索

金隅分支
zhangli 3 years ago
parent
commit
91a5ae76f5
15 changed files with 36 additions and 32 deletions
  1. +3
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.js
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Index.js
  3. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js
  4. +5
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js
  5. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.js
  6. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js
  7. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js
  8. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js
  9. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js
  10. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.js
  11. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.js
  12. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJYHC.js
  13. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js
  14. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js
  15. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js

+ 3
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.js View File

@@ -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) {


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Index.js View File

@@ -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();


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js View File

@@ -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' });


+ 5
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js View File

@@ -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) {


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.js View File

@@ -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({


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js View File

@@ -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' });


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js View File

@@ -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();
// 刷新


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js View File

@@ -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();
// 刷新


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js View File

@@ -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();


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.js View File

@@ -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) {


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.js View File

@@ -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) {


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJYHC.js View File

@@ -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) {


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js View File

@@ -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();
},


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js View File

@@ -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,


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js View File

@@ -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' });


Loading…
Cancel
Save