海运出口详情ui

szh-new
lijingjia 4 months ago
parent fb63125e89
commit 290e4c24d6

@ -13,7 +13,7 @@
</template>
<script lang="ts" setup>
import { BasicForm, useForm } from '/@/components/Form/index'
import { noteFormSchema } from './baseInfo.tsx'
// import { noteFormSchema } from './baseInfo.tsx'
import { ref, watch, defineProps, defineExpose, onMounted } from 'vue'
import { useRoute } from 'vue-router'
const route = useRoute()
@ -30,7 +30,7 @@
{ getFieldsValue, updateSchema, resetFields, setFieldsValue, validate },
] = useForm({
labelWidth: 200,
schemas: noteFormSchema,
schemas: [],
showActionButtonGroup: false,
})
watch(
@ -40,11 +40,11 @@
}
)
onMounted(() => {
if (source.value != 'edit') {
noteFormSchema.forEach(item => {
item.dynamicDisabled = true
})
}
// if (source.value != 'edit') {
// noteFormSchema.forEach(item => {
// item.dynamicDisabled = true
// })
// }
})
defineExpose({
// RefediFrom,

Loading…
Cancel
Save