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