图纸下载调整

This commit is contained in:
mzr 2025-09-15 20:07:38 +08:00
parent 0329219376
commit f901d97203
2 changed files with 4 additions and 3 deletions

View File

@ -347,7 +347,7 @@ function buttonClick(props, id, text, record, index) {
break
case BOM_CARD_HEAD_BUTTON.Download_plm: //图纸下载
{
downloadPlmBtnClick.call(this, props, id)
downloadPlmBtnClick.call(this, props, id, 'SIPM1')
}
break

View File

@ -11,7 +11,7 @@ import {showErrorInfo} from "../../../public/tools/messageUtil";
let tableId = BOM_AREA.bom_card_b;
export default function downloadPlmBtnClick(props) {
export default function downloadPlmBtnClick(props, id, type) {
// 获取选中行
let rows = this.props.cardTable.getCheckedRows(tableId);
// console.log('rows = ', rows);
@ -25,7 +25,8 @@ export default function downloadPlmBtnClick(props) {
});
let params = {
sys_appcode: BOM_PAGECODE.bom_card,
materialCode: data
materialCode: data,
itemName: [type]
}
formDownload({
params,