Commit 5046ffc4 by 江和松

采购员不进行公司过滤V2

parent 5b06b74e
...@@ -33,8 +33,8 @@ $(function () { ...@@ -33,8 +33,8 @@ $(function () {
} }
} }
return dataItem["purUserName"]; return dataItem["purUserName"];
} },
// editor: function (container, options) { editor: function (container, options) {
// let inInfo = new EiInfo(); // let inInfo = new EiInfo();
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]); // inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("field", options.field); // inInfo.set("field", options.field);
...@@ -45,21 +45,21 @@ $(function () { ...@@ -45,21 +45,21 @@ $(function () {
// onFail: function (ei) { // onFail: function (ei) {
// } // }
// }, {async: false}); // }, {async: false});
// var input = $('<input />'); var input = $('<input />');
// input.attr("name", options.field); input.attr("name", options.field);
// input.attr("id", options.field); input.attr("id", options.field);
// input.appendTo(container); input.appendTo(container);
// input.kendoDropDownList({ input.kendoDropDownList({
// dataSource: userByCompany, dataSource: userByCompany,
// minLength: 0, minLength: 0,
// dataTextField: "userName", dataTextField: "userName",
// dataValueField: "userName", dataValueField: "userName",
// optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#", optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
// valueTemplate: "[#:loginName#]#:userName#-#:depName#", valueTemplate: "[#:loginName#]#:userName#-#:depName#",
// template: "[#:loginName#]#:userName#-#:depName#", template: "[#:loginName#]#:userName#-#:depName#",
// filter: "contains" filter: "contains"
// }); });
// } }
} }
], ],
beforeEdit: function (e) { beforeEdit: function (e) {
......
...@@ -21,8 +21,8 @@ $(function () { ...@@ -21,8 +21,8 @@ $(function () {
} }
} }
return dataItem["purUserName"]; return dataItem["purUserName"];
} },
// editor: function (container, options) { editor: function (container, options) {
// let inInfo = new EiInfo(); // let inInfo = new EiInfo();
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]); // inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("field", options.field); // inInfo.set("field", options.field);
...@@ -33,21 +33,21 @@ $(function () { ...@@ -33,21 +33,21 @@ $(function () {
// onFail: function (ei) { // onFail: function (ei) {
// } // }
// }, {async: false}); // }, {async: false});
// var input = $('<input />'); var input = $('<input />');
// input.attr("name", options.field); input.attr("name", options.field);
// input.attr("id", options.field); input.attr("id", options.field);
// input.appendTo(container); input.appendTo(container);
// input.kendoDropDownList({ input.kendoDropDownList({
// dataSource: userByCompany, dataSource: userByCompany,
// minLength: 0, minLength: 0,
// dataTextField: "userName", dataTextField: "userName",
// dataValueField: "userName", dataValueField: "userName",
// optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#", optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
// valueTemplate: "[#:loginName#]#:userName#-#:depName#", valueTemplate: "[#:loginName#]#:userName#-#:depName#",
// template: "[#:loginName#]#:userName#-#:depName#", template: "[#:loginName#]#:userName#-#:depName#",
// filter: "contains" filter: "contains"
// }); });
// } }
} }
], ],
beforeEdit: function (e) { beforeEdit: function (e) {
......
...@@ -49,8 +49,8 @@ $(function () { ...@@ -49,8 +49,8 @@ $(function () {
} }
} }
return dataItem["purUserName"]; return dataItem["purUserName"];
} },
// editor: function (container, options) { editor: function (container, options) {
// let inInfo = new EiInfo(); // let inInfo = new EiInfo();
// inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]); // inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
// inInfo.set("field", options.field); // inInfo.set("field", options.field);
...@@ -61,21 +61,21 @@ $(function () { ...@@ -61,21 +61,21 @@ $(function () {
// onFail: function (ei) { // onFail: function (ei) {
// } // }
// }, {async: false}); // }, {async: false});
// var input = $('<input />'); var input = $('<input />');
// input.attr("name", options.field); input.attr("name", options.field);
// input.attr("id", options.field); input.attr("id", options.field);
// input.appendTo(container); input.appendTo(container);
// input.kendoDropDownList({ input.kendoDropDownList({
// dataSource: userByCompany, dataSource: userByCompany,
// minLength: 0, minLength: 0,
// dataTextField: "userName", dataTextField: "userName",
// dataValueField: "userName", dataValueField: "userName",
// optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#", optionLabelTemplate: "[#:loginName#]#:userName#-#:depName#",
// valueTemplate: "[#:loginName#]#:userName#-#:depName#", valueTemplate: "[#:loginName#]#:userName#-#:depName#",
// template: "[#:loginName#]#:userName#-#:depName#", template: "[#:loginName#]#:userName#-#:depName#",
// filter: "contains" filter: "contains"
// }); });
// } }
} }
], ],
beforeEdit: function (e) { 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