|
|
@ -50,7 +50,8 @@ |
|
|
|
:apiAgree="ApplicationRecordMainApi.agreeApplicationRecordMain" |
|
|
|
:apiDisAgree="ApplicationRecordMainApi.disAgreeApplicationRecordMain" |
|
|
|
:apiPage="ApplicationRecordDetailApi.getApplicationRecordDetailPage" |
|
|
|
@searchTableSuccessDetail="searchTableSuccessDetail" /> |
|
|
|
@searchTableSuccessDetail="searchTableSuccessDetail" |
|
|
|
@agree="getList"/> |
|
|
|
<!-- 导入 --> |
|
|
|
<ImportForm ref="importFormRef" url="/wms/purchase-main/import" :importTemplateData="importTemplateData" |
|
|
|
@success="importSuccess" :isShowOut="true" :updateIsDisable="true" :coverIsDisable="true" :mode="2" /> |
|
|
@ -180,7 +181,7 @@ |
|
|
|
const buttonTableClick = async (val, row) => { |
|
|
|
if (val == 'edit') { // 编辑 |
|
|
|
openForm('update', row) |
|
|
|
} else if (val == 'approve') { // 删除 |
|
|
|
} else if (val == 'approve') { // 审批 |
|
|
|
handleApprove(row, '单据号', row.number) |
|
|
|
} else if (val == 'delete') { // 删除 |
|
|
|
handleDelete(row.id) |
|
|
@ -202,6 +203,8 @@ |
|
|
|
const detailRef1 = ref() |
|
|
|
const handleApprove = (row : any, titleName : any, titleValue : any) => { |
|
|
|
detailRef1.value.openDetail(row, titleName, titleValue, 'basicApplicationRecordMain') |
|
|
|
// 刷新列表 |
|
|
|
getList() |
|
|
|
} |
|
|
|
|
|
|
|
/** 删除按钮操作 */ |
|
|
|