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