Commit 5046ffc4 by 江和松

采购员不进行公司过滤V2

parent 5b06b74e
......@@ -33,8 +33,8 @@ $(function () {
}
}
return dataItem["purUserName"];
}
// editor: function (container, options) {
},
editor: function (container, options) {
// let inInfo = new EiInfo();
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("field", options.field);
......@@ -45,21 +45,21 @@ $(function () {
// onFail: function (ei) {
// }
// }, {async: false});
// var input = $('<input />');
// input.attr("name", options.field);
// input.attr("id", options.field);
// input.appendTo(container);
// input.kendoDropDownList({
// dataSource: userByCompany,
// minLength: 0,
// dataTextField: "userName",
// dataValueField: "userName",
// optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
// valueTemplate: "[#:loginName#]#:userName#-#:depName#",
// template: "[#:loginName#]#:userName#-#:depName#",
// filter: "contains"
// });
// }
var input = $('<input />');
input.attr("name", options.field);
input.attr("id", options.field);
input.appendTo(container);
input.kendoDropDownList({
dataSource: userByCompany,
minLength: 0,
dataTextField: "userName",
dataValueField: "userName",
optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
valueTemplate: "[#:loginName#]#:userName#-#:depName#",
template: "[#:loginName#]#:userName#-#:depName#",
filter: "contains"
});
}
}
],
beforeEdit: function (e) {
......
......@@ -21,8 +21,8 @@ $(function () {
}
}
return dataItem["purUserName"];
}
// editor: function (container, options) {
},
editor: function (container, options) {
// let inInfo = new EiInfo();
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("field", options.field);
......@@ -33,21 +33,21 @@ $(function () {
// onFail: function (ei) {
// }
// }, {async: false});
// var input = $('<input />');
// input.attr("name", options.field);
// input.attr("id", options.field);
// input.appendTo(container);
// input.kendoDropDownList({
// dataSource: userByCompany,
// minLength: 0,
// dataTextField: "userName",
// dataValueField: "userName",
// optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
// valueTemplate: "[#:loginName#]#:userName#-#:depName#",
// template: "[#:loginName#]#:userName#-#:depName#",
// filter: "contains"
// });
// }
var input = $('<input />');
input.attr("name", options.field);
input.attr("id", options.field);
input.appendTo(container);
input.kendoDropDownList({
dataSource: userByCompany,
minLength: 0,
dataTextField: "userName",
dataValueField: "userName",
optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
valueTemplate: "[#:loginName#]#:userName#-#:depName#",
template: "[#:loginName#]#:userName#-#:depName#",
filter: "contains"
});
}
}
],
beforeEdit: function (e) {
......
......@@ -49,8 +49,8 @@ $(function () {
}
}
return dataItem["purUserName"];
}
// editor: function (container, options) {
},
editor: function (container, options) {
// let inInfo = new EiInfo();
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("field", options.field);
......@@ -61,21 +61,21 @@ $(function () {
// onFail: function (ei) {
// }
// }, {async: false});
// var input = $('<input />');
// input.attr("name", options.field);
// input.attr("id", options.field);
// input.appendTo(container);
// input.kendoDropDownList({
// dataSource: userByCompany,
// minLength: 0,
// dataTextField: "userName",
// dataValueField: "userName",
// optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
// valueTemplate: "[#:loginName#]#:userName#-#:depName#",
// template: "[#:loginName#]#:userName#-#:depName#",
// filter: "contains"
// });
// }
var input = $('<input />');
input.attr("name", options.field);
input.attr("id", options.field);
input.appendTo(container);
input.kendoDropDownList({
dataSource: userByCompany,
minLength: 0,
dataTextField: "userName",
dataValueField: "userName",
optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
valueTemplate: "[#:loginName#]#:userName#-#:depName#",
template: "[#:loginName#]#:userName#-#:depName#",
filter: "contains"
});
}
}
],
beforeEdit: function (e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment