|
|
@ -345,6 +345,15 @@ |
|
|
|
defaultButtons.mainListEditBtn({ hasPermi: 'wms:supplierinvoice-request-main:update' , hide: isShowMainButton(row, ['1','8','6'])}), // 编辑 |
|
|
|
defaultButtons.mainListPurchasePlanCloBtn({ hasPermi: 'wms:supplierinvoice-request-main:close' ,hide: isShowMainButton(row, ['1','8','6']) }), // 关闭 |
|
|
|
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:supplierinvoice-request-main:delete'}), // 删除 |
|
|
|
{ |
|
|
|
label: '打印', |
|
|
|
name: 'mian_print', |
|
|
|
hide: null, |
|
|
|
type: 'primary', |
|
|
|
color: '', |
|
|
|
link: true, // 文本展现按钮 |
|
|
|
hasPermi: '' |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
@ -378,6 +387,8 @@ const handleImport = () => { |
|
|
|
openForm('update', row) |
|
|
|
} else if (val == 'delete') { // 删除 |
|
|
|
handleDelete(row.masterId) |
|
|
|
} else if( val == 'mian_print'){ // 打印 |
|
|
|
handleDocumentPrint(row.masterId) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|