|
|
@ -428,7 +428,15 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea |
|
|
|
return [ |
|
|
|
defaultButtons.mainListPurchasePlanOpeBtn({ hide: isShowMainButton(row, ['9']) ,hasPermi: 'wms:supplierinvoice-request-main:open'}), // 打开 |
|
|
|
defaultButtons.mainListPlanSubBtn({ hide: isShowMainButton(row, ['1','6']),hasPermi: 'wms:supplierinvoice-request-main:sub' }), // 提交审批 |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('ts.查看明细'), |
|
|
|
name: 'open_detail', |
|
|
|
type: 'primary', |
|
|
|
icon: '', |
|
|
|
color: '', |
|
|
|
hasPermi: 'wms:supplierinvoice-request-main:view-detail', |
|
|
|
link: true, // 文本展现按钮 |
|
|
|
},{ |
|
|
|
label: t('ts.采购通过'), |
|
|
|
name: 'purchase_mainPlanSub', |
|
|
|
hide: !(!isShowMainButton(row, ['2']) && row.currentIsProcurementCreator==true), |
|
|
@ -511,7 +519,9 @@ const handleImport = () => { |
|
|
|
handleClo(row.id) |
|
|
|
} else if (val == 'mainPlanSub') { // 提交审批 |
|
|
|
handleSub(row.id) |
|
|
|
} else if (val == 'purchase_mainPlanSub') { // 采购审批通过 |
|
|
|
} else if (val == 'open_detail') { // 查看明细 |
|
|
|
openDetail(row, '单据号', row.number) |
|
|
|
}else if (val == 'purchase_mainPlanSub') { // 采购审批通过 |
|
|
|
handleApp(row.id) |
|
|
|
} else if (val == 'purchase_mainPlanTur') { // 采购驳回按钮 |
|
|
|
resonSubmit(val, row) |
|
|
|