修改添加页面
This commit is contained in:
BIN
src/assets/file/采购申请流程字段整理.docx
Normal file
BIN
src/assets/file/采购申请流程字段整理.docx
Normal file
Binary file not shown.
1124
src/views/finance/purchasingrequisition/add.vue
Normal file
1124
src/views/finance/purchasingrequisition/add.vue
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -80,7 +80,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
icon="FolderAdd"
|
icon="FolderAdd"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="formDialogRef.openDialog('add')">
|
@click="handleAdd">
|
||||||
新增
|
新增
|
||||||
</el-button>
|
</el-button>
|
||||||
<right-toolbar v-model:showSearch="showSearch" class="ml10" @queryTable="getDataList" />
|
<right-toolbar v-model:showSearch="showSearch" class="ml10" @queryTable="getDataList" />
|
||||||
@@ -220,6 +220,7 @@
|
|||||||
|
|
||||||
<script setup lang="ts" name="PurchasingRequisition">
|
<script setup lang="ts" name="PurchasingRequisition">
|
||||||
import { ref, reactive, defineAsyncComponent } from 'vue'
|
import { ref, reactive, defineAsyncComponent } from 'vue'
|
||||||
|
import { useRouter } from 'vue-router'
|
||||||
import { BasicTableProps, useTable } from "/@/hooks/table";
|
import { BasicTableProps, useTable } from "/@/hooks/table";
|
||||||
import { getPage, delObj } from "/@/api/finance/purchasingrequisition";
|
import { getPage, delObj } from "/@/api/finance/purchasingrequisition";
|
||||||
import { useMessage, useMessageBox } from "/@/hooks/message";
|
import { useMessage, useMessageBox } from "/@/hooks/message";
|
||||||
@@ -229,6 +230,7 @@ import { List, Document, DocumentCopy, Search, Collection, Money, CircleCheck, I
|
|||||||
const FormDialog = defineAsyncComponent(() => import('./form.vue'));
|
const FormDialog = defineAsyncComponent(() => import('./form.vue'));
|
||||||
|
|
||||||
// 定义变量内容
|
// 定义变量内容
|
||||||
|
const router = useRouter()
|
||||||
const tableRef = ref()
|
const tableRef = ref()
|
||||||
const formDialogRef = ref()
|
const formDialogRef = ref()
|
||||||
const searchFormRef = ref()
|
const searchFormRef = ref()
|
||||||
@@ -262,6 +264,15 @@ const handleReset = () => {
|
|||||||
getDataList();
|
getDataList();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增采购申请 - 跳转到新页面
|
||||||
|
*/
|
||||||
|
const handleAdd = () => {
|
||||||
|
router.push({
|
||||||
|
path: '/finance/purchasingrequisition/add'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除当前行
|
* 删除当前行
|
||||||
* @param row - 当前行数据
|
* @param row - 当前行数据
|
||||||
|
|||||||
Reference in New Issue
Block a user