修复文件问题 修改bug

This commit is contained in:
2026-02-06 00:04:44 +08:00
37 changed files with 3732 additions and 327 deletions

View File

@@ -191,7 +191,7 @@
<span v-else>-</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right" width="300">
<el-table-column label="操作" align="center" fixed="right" width="360">
<template #default="scope">
<el-button
icon="View"
@@ -216,6 +216,13 @@
@click="handleDelete(scope.row)">
删除
</el-button>
<el-button
icon="DocumentChecked"
link
type="primary"
@click="handleAccept(scope.row)">
履约验收
</el-button>
</template>
</el-table-column>
</el-table>
@@ -258,6 +265,9 @@
ref="formDialogRef"
:dict-data="dictData"
@refresh="getDataList" />
<!-- 履约验收弹窗 -->
<PurchasingAcceptModal ref="acceptModalRef" @refresh="getDataList" />
</div>
</template>
@@ -269,10 +279,11 @@ import { getPage, delObj } from "/@/api/finance/purchasingrequisition";
import { useMessage, useMessageBox } from "/@/hooks/message";
import { getDicts } from '/@/api/admin/dict';
import { getTree } from '/@/api/finance/purchasingcategory';
import { List, Document, DocumentCopy, Search, Collection, Money, CircleCheck, InfoFilled, Calendar, OfficeBuilding, Warning } from '@element-plus/icons-vue'
import { List, Document, DocumentCopy, Search, Collection, Money, CircleCheck, InfoFilled, Calendar, OfficeBuilding, Warning, DocumentChecked } from '@element-plus/icons-vue'
// 引入组件
const FormDialog = defineAsyncComponent(() => import('./form.vue'));
const PurchasingAcceptModal = defineAsyncComponent(() => import('./accept/PurchasingAcceptModal.vue'));
// 字典数据和品目树数据
const dictData = ref({
@@ -289,6 +300,7 @@ const dictData = ref({
const router = useRouter()
const tableRef = ref()
const formDialogRef = ref()
const acceptModalRef = ref()
const searchFormRef = ref()
const showSearch = ref(true)
const showAddIframe = ref(false)
@@ -363,6 +375,7 @@ const handleIframeMessage = (event: MessageEvent) => {
};
/**
<<<<<<< HEAD
* 打开查看对话框
* @param row - 当前行数据
*/
@@ -376,6 +389,12 @@ const handleView = (row: any) => {
*/
const handleEdit = (row: any) => {
formDialogRef.value?.openDialog('edit', row);
=======
* 履约验收
*/
const handleAccept = (row: any) => {
acceptModalRef.value?.open(row);
>>>>>>> 61380fa2bca0fe9fd37af1c494a51ba523501f7d
};
/**