Преглед изворни кода

解决库位显示Id的问题

金隅分支
zhangli пре 3 година
родитељ
комит
e9df029feb
4 измењених фајлова са 44 додато и 4 уклоњено
  1. +11
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormPurchase.js
  2. +11
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormPurchaseJY.js
  3. +11
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormView.js
  4. +11
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormViewJYHC.js

+ 11
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormPurchase.js Прегледај датотеку

@@ -117,7 +117,17 @@ var bootstrap = function ($, learun) {
}
},
{
label: '库位', name: 'AAIStoragePosition', width: 100, align: 'left'
label: '库位', name: 'AAIStoragePosition', width: 100, align: 'left',
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rname']);
}
});
}
},
{
label: '英文名称', name: 'AAIEName', width: 100, align: 'left'


+ 11
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormPurchaseJY.js Прегледај датотеку

@@ -117,7 +117,17 @@ var bootstrap = function ($, learun) {
}
},
{
label: '库位', name: 'AAIStoragePosition', width: 100, align: 'left'
label: '库位', name: 'AAIStoragePosition', width: 100, align: 'left',
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rname']);
}
});
}
},
{
label: '英文名称', name: 'AAIEName', width: 100, align: 'left'


+ 11
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormView.js Прегледај датотеку

@@ -148,7 +148,17 @@ var bootstrap = function ($, learun) {
}
},
{
label: '库位', name: 'AAIStoragePosition', width: 100, align: 'left'
label: '库位', name: 'AAIStoragePosition', width: 100, align: 'left',
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rname']);
}
});
}
},
{
label: '英文名称', name: 'AAIEName', width: 100, align: 'left'


+ 11
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormViewJYHC.js Прегледај датотеку

@@ -148,7 +148,17 @@ var bootstrap = function ($, learun) {
}
},
{
label: '库位', name: 'AAIStoragePosition', width: 100, align: 'left'
label: '库位', name: 'AAIStoragePosition', width: 100, align: 'left',
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rname']);
}
});
}
},
//{
// label: '英文名称', name: 'AAIEName', width: 100, align: 'left'


Loading…
Откажи
Сачувај