|
@ -429,6 +429,14 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea |
|
|
defaultButtons.mainListPurchasePlanOpeBtn({ hide: isShowMainButton(row, ['9']) ,hasPermi: 'wms:supplierinvoice-request-main:open'}), // 打开 |
|
|
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' }), // 提交审批 |
|
|
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.采购通过'), |
|
|
label: t('ts.采购通过'), |
|
|
name: 'purchase_mainPlanSub', |
|
|
name: 'purchase_mainPlanSub', |
|
|
hide: !(!isShowMainButton(row, ['2']) && row.currentIsProcurementCreator==true), |
|
|
hide: !(!isShowMainButton(row, ['2']) && row.currentIsProcurementCreator==true), |
|
@ -511,6 +519,8 @@ const handleImport = () => { |
|
|
handleClo(row.id) |
|
|
handleClo(row.id) |
|
|
} else if (val == 'mainPlanSub') { // 提交审批 |
|
|
} else if (val == 'mainPlanSub') { // 提交审批 |
|
|
handleSub(row.id) |
|
|
handleSub(row.id) |
|
|
|
|
|
} else if (val == 'open_detail') { // 查看明细 |
|
|
|
|
|
openDetail(row, '单据号', row.number) |
|
|
}else if (val == 'purchase_mainPlanSub') { // 采购审批通过 |
|
|
}else if (val == 'purchase_mainPlanSub') { // 采购审批通过 |
|
|
handleApp(row.id) |
|
|
handleApp(row.id) |
|
|
} else if (val == 'purchase_mainPlanTur') { // 采购驳回按钮 |
|
|
} else if (val == 'purchase_mainPlanTur') { // 采购驳回按钮 |
|
|