合约号

szh-new
sunzehua 4 months ago
parent 2c3f37b4d9
commit d745839b2c

@ -198,7 +198,6 @@ export const formSchema: FormSchema[] = [
field: 'podId',
component: 'ApiSelect',
colProps: { span: 6 },
rules: [{ required: true, message: '请填写合约号编号' }],
componentProps: ({formModel}) => {
return {
api: () => {
@ -246,7 +245,6 @@ export const formSchema: FormSchema[] = [
label: '航线',
field: 'laneId',
component: 'ApiSelect',
rules: [{ required: true, message: '请填写合约号编号' }],
colProps: { span: 6 },
componentProps: ({formModel}) => {
return {

@ -20,6 +20,8 @@ import { useMessage } from '/@/hooks/web/useMessage'
const { createMessage } = useMessage()
const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
setModalProps({ loading: false })
console.log(data)
resetFields()
if (data.type === 'edit') {
getInfo(data.id)
}

Loading…
Cancel
Save