change - 生产派工选择BOM图纸删除逻辑优化

master
yinq 1 month ago
parent c8063ccad8
commit ae51bad4e8

@ -249,6 +249,7 @@
:key="item.attachId"
:label="item.attachName"
:value="item.attachId"
:disabled="isOptionDisabled(item.attachId)"
></el-option>
</el-select>
</el-form-item>
@ -323,6 +324,7 @@
:key="item.attachId"
:label="item.attachName"
:value="item.attachId"
:disabled="isOptionDisabled(item.attachId)"
></el-option>
</el-select>
</el-form-item>
@ -1208,8 +1210,8 @@ export default {
this.materialBomAttachIdList.push(attachInfo.attachId);
}
}
this.blueprintModel = true;
});
this.blueprintModel = true;
},
//
@ -1345,8 +1347,8 @@ export default {
this.materialBomAttachIdList.push(attachInfo.attachId);
}
}
this.sopViewModel = true;
});
this.sopViewModel = true;
},
//sop
@ -1540,6 +1542,11 @@ export default {
this.uploadSopList[this.addProductPlanObject.dispatchCode + "-" + this.addProductPlanObject.processId].push(e.attachId);
}
}
},
isOptionDisabled(attachId) {
//
return this.materialBomAttachIdList.includes(attachId); //
}
},

Loading…
Cancel
Save