图纸下载调整
This commit is contained in:
parent
0329219376
commit
f901d97203
|
@ -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
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue