Revert "图纸下载调整"

This reverts commit f901d97203.
This commit is contained in:
mzr 2025-09-15 21:38:02 +08:00
parent 339a507603
commit 3342729948
2 changed files with 3 additions and 4 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, 'SIPM1')
downloadPlmBtnClick.call(this, props, id)
}
case BOM_CARD_HEAD_BUTTON.FDownload_plm: //文件下载
{

View File

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