Commit 41f58779 by 江和松

物料清单bug修改

parent 142ac3b5
......@@ -359,8 +359,8 @@
<isNotEmpty prepend=" AND " property="parInventType">
b.PAR_INVENT_TYPE = #parInventType#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="inventName">
a.INVENT_NAME = #inventName#
<isNotEmpty prepend=" AND " property="inventTypeDetail">
b.INVENT_TYPE_DETAIL = #inventTypeDetail#
</isNotEmpty>
ORDER BY INVENT_CODE
</select>
......
......@@ -62,8 +62,17 @@ $(function () {
let eiInfo = new EiInfo();
if (nodeData.lv == 2) {
eiInfo.set("inqu_status-0-parInventType", "root");
//3级节点选择只能是构建
eiInfo.set("inqu_status-0-inventTypeDetail", "1");
} else if (nodeData.lv == 3) {
eiInfo.set("inqu_status-0-parInventType", nodeData.inventType);
//4级节点选择只能是构建
eiInfo.set("inqu_status-0-inventTypeDetail", "2");
// inInfo.set("inqu_status-0-parInventType", nodeData.inventType);
}else if (nodeData.lv == 4) {
//上方刷新过树结构了
//4级节点选择只能是构建
eiInfo.set("inqu_status-0-inventTypeDetail", "2");
// inInfo.set("inqu_status-0-parInventType", nodeData.inventType);
}
var dataSource;
EiCommunicator.send("HGSC004A", "queryProductComboBox", eiInfo, {
......@@ -130,6 +139,8 @@ $(function () {
item['inventType'] = productCodeBox[i]['param2Field'];
console.log(item)
template = productCodeBox[i]['valueField'];
}else{
template = item.productCode;
}
}
}
......@@ -141,11 +152,17 @@ $(function () {
var nodeData = IPLATUI.EFTree.materialTree.selectTreeNode;
if (nodeData.lv == 2) {
inInfo.set("inqu_status-0-parInventType", "root");
//3级节点选择只能是构建
inInfo.set("inqu_status-0-inventTypeDetail", "1");
} else if (nodeData.lv == 3) {
inInfo.set("inqu_status-0-parInventType", nodeData.inventType);
//4级节点选择只能是构建
inInfo.set("inqu_status-0-inventTypeDetail", "2");
// inInfo.set("inqu_status-0-parInventType", nodeData.inventType);
}else if (nodeData.lv == 4) {
//上方刷新过树结构了
inInfo.set("inqu_status-0-parInventType", nodeData.inventType);
//4级节点选择只能是构建
inInfo.set("inqu_status-0-inventTypeDetail", "2");
// inInfo.set("inqu_status-0-parInventType", nodeData.inventType);
}
inInfo.set("field", options.field);
let dataSource = inventNameGlobalData;
......
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