This commit is contained in:
Net 2025-06-15 11:09:25 +08:00
parent b7e60e52dd
commit af9f34c3d2

View File

@ -5,24 +5,19 @@
</view>
<template #bottom>
<view class="flex-row items-center pb-10 pt-5">
<u-button
text="下一步"
class="mx-15 "
type="primary"
@click="submit"
/>
<u-button text="下一步" class="mx-15" type="primary" @click="submit" />
</view>
</template>
</BasicLayout>
</template>
<script setup lang="ts">
import {navigateTo} from "@/utils/uniapp";
import { navigateTo } from "@/utils/uniapp";
import {useForm} from "@/components/BasicForm/hooks/useForm";
import {dicApi, findDicTreeByPidApi} from "@/api/system/dic";
import {useDataStore} from "@/store/modules/data";
import {map} from "lodash";
import { useForm } from "@/components/BasicForm/hooks/useForm";
import { dicApi, findDicTreeByPidApi } from "@/api/system/dic";
import { useDataStore } from "@/store/modules/data";
import { map } from "lodash";
import dayjs from "dayjs";
const { getFile, setFile } = useDataStore();
@ -287,6 +282,14 @@ const [register, { getValue, setValue, setSchema }] = useForm({
],
});
setValue(getFile);
if (getFile.zdqkId == "调出") {
setSchema([
{
field: "dcyy",
ifShow: false,
},
]);
}
async function submit() {
try {