diff --git a/src/views/oa_apply/detail.vue b/src/views/oa_apply/detail.vue
index 99f5296..c5e613e 100644
--- a/src/views/oa_apply/detail.vue
+++ b/src/views/oa_apply/detail.vue
@@ -22,7 +22,7 @@
-
+ {{ cateIdToText(row.cate_id) }}
@@ -131,14 +131,6 @@ const userStore = useUserStore().userInfo;
const showBackDialog = ref(false)
-
-defineProps({
- dictData: {
- type: Object as PropType>,
- default: () => ({})
- },
-})
-
// 表单数据
const formData = reactive({
id: 0,
@@ -184,6 +176,17 @@ const submituser = (e) => {
};
+const cateIdToText = (id) => {
+ // 1-交通费 2-住宿费 3-餐补费 4-招待费 5-汽油费 6-其他费
+ if (id == 1) return '交通费';
+ if (id == 2) return '住宿费';
+ if (id == 3) return '餐补费';
+ if (id == 4) return '招待费';
+ if (id == 5) return '汽油费';
+ if (id == 6) return '其他费';
+
+}
+
//打开弹窗
const open = () => {
popupRef.value?.open()
diff --git a/src/views/oa_apply/edit.vue b/src/views/oa_apply/edit.vue
index 08b3335..158febc 100644
--- a/src/views/oa_apply/edit.vue
+++ b/src/views/oa_apply/edit.vue
@@ -43,9 +43,12 @@
-
-
+
+
+
+
+
+
@@ -83,13 +86,6 @@ const mode = ref("add");
-defineProps({
- dictData: {
- type: Object as PropType>,
- default: () => ({})
- },
-})
-
// 弹窗标题
const popupTitle = computed(() => {
return "新增审批"
diff --git a/src/views/oa_apply/index.vue b/src/views/oa_apply/index.vue
index 46ffff1..4fcc4e0 100644
--- a/src/views/oa_apply/index.vue
+++ b/src/views/oa_apply/index.vue
@@ -74,16 +74,14 @@
-
-
+