|
@@ -78,6 +78,84 @@ var bootstrap = function ($, learun) { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: "使用人", name: "AOIUserPeople", width: 100, align: "left", |
|
|
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser', |
|
|
|
|
|
key: value, |
|
|
|
|
|
keyId: 'f_userid', |
|
|
|
|
|
callback: function (_data) { |
|
|
|
|
|
callback(_data['f_realname']); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: "原部门", name: "AOIOldDepartment", width: 100, align: "left", |
|
|
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', |
|
|
|
|
|
key: value, |
|
|
|
|
|
keyId: 'id', |
|
|
|
|
|
callback: function (_data) { |
|
|
|
|
|
callback(_data['name']); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: "原库房", name: "AOIStorageId", width: 100, align: "left", |
|
|
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData', |
|
|
|
|
|
key: value, |
|
|
|
|
|
keyId: 'sid', |
|
|
|
|
|
callback: function (_data) { |
|
|
|
|
|
callback(_data['sname']); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: "新使用人", name: "AOINewUsePeople", width: 100, align: "left", |
|
|
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser', |
|
|
|
|
|
key: value, |
|
|
|
|
|
keyId: 'f_userid', |
|
|
|
|
|
callback: function (_data) { |
|
|
|
|
|
callback(_data['f_realname']); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: "新部门", name: "AOINewDepartment", width: 100, align: "left", |
|
|
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', |
|
|
|
|
|
key: value, |
|
|
|
|
|
keyId: 'id', |
|
|
|
|
|
callback: function (_data) { |
|
|
|
|
|
callback(_data['name']); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: "新库房", name: "AOINewStorageId", width: 100, align: "left", |
|
|
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData', |
|
|
|
|
|
key: value, |
|
|
|
|
|
keyId: 'sid', |
|
|
|
|
|
callback: function (_data) { |
|
|
|
|
|
callback(_data['sname']); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '英文名称', name: 'AOIEName', width: 100, align: 'left' |
|
|
label: '英文名称', name: 'AOIEName', width: 100, align: 'left' |
|
|
}, |
|
|
}, |
|
|