field:'WAREHOUSINGSTATUS',
title: '@SRM.Helper.LanguageHelper.GetLangText("WarehousingStatus")',
width: 100,
editor: function (container, options) {
$('<input data-bind="value:' + options.field + '" />')
.appendTo(container)
.kendoDropDownList({
dataSource: [
{Text:"---请选择---",Value:""},
{ Text: "已入库", Value: "Stored" },
{ Text: "未入库", Value: "NotStorage" }
],
dataTextField: "Text",
dataValueField: "Value"
});
},
template: function (dataitem) {
if (dataitem.WAREHOUSINGSTATUS != null && dataitem.WAREHOUSINGSTATUS != "")
{
return View_Language(dataitem.WAREHOUSINGSTATUS);
}
else
return '';
}