Commit 66bda1b4 by 江和松

项目选择过滤bug修改

parent eb81df09
...@@ -94,10 +94,9 @@ $(function () { ...@@ -94,10 +94,9 @@ $(function () {
inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]); inInfo.set("inqu_status-0-companyCode", options.model["companyCode"]);
inInfo.set("inqu_status-0-approvalStatus", 2); inInfo.set("inqu_status-0-approvalStatus", 2);
inInfo.set("field", options.field); inInfo.set("field", options.field);
let dataSource;
EiCommunicator.send("HGSC003", "projComboBox", inInfo, { EiCommunicator.send("HGSC003", "projComboBox", inInfo, {
onSuccess: function (ei) { onSuccess: function (ei) {
dataSource = ei.getBlock("projRecordByRole_block_id").getMappedRows(); projCodeBox = ei.getBlock("projRecordByRole_block_id").getMappedRows();
}, },
onFail: function (ei) { onFail: function (ei) {
} }
...@@ -107,7 +106,7 @@ $(function () { ...@@ -107,7 +106,7 @@ $(function () {
input.attr("id", options.field); input.attr("id", options.field);
input.appendTo(container); input.appendTo(container);
input.kendoDropDownList({ input.kendoDropDownList({
dataSource: dataSource, dataSource: projCodeBox,
minLength: 0, minLength: 0,
dataTextField: "textField", dataTextField: "textField",
dataValueField: "valueField", dataValueField: "valueField",
......
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