From 0bb98a24529361e2821eb6e479a581bed56e2483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Tue, 13 Aug 2024 15:21:11 +0800 Subject: [PATCH] 08/13 --- src/components/Form/src/BasicForm.vue | 2 - .../Form/src/components/InputTextArea.vue | 1 - .../Form/src/hooks/useFormEvents.ts | 8 - src/components/Form/src/types/form.ts | 1 - .../CurrentState/columns.tsx | 8 +- .../RentIn/TenantAuditStepModal.vue | 114 ++- .../ContainerManagement/RentIn/columns.tsx | 148 +++- .../StateChange/columns.tsx | 4 +- src/views/ContainerManagement/asd.json | 163 ++-- .../ContainerManagement/dsxxcl/columns.tsx | 4 +- .../ContainerManagement/qbxdtbdrz/columns.tsx | 8 +- src/views/baseinfo/port/columns.tsx | 3 +- src/views/operation/invoiceApply/api.js | 24 - src/views/operation/invoiceApply/columns.tsx | 309 +++++++- .../invoiceApply/detail/InvoiceDetails.vue | 110 ++- .../operation/invoiceApply/detail/index.vue | 342 +------- src/views/operation/invoiceApply/index.vue | 349 ++++---- .../operation/seaexport/detail/index.vue | 338 ++++---- .../seaexport/detail/modules/baseInfo.tsx | 742 +++++++++--------- .../seaexport/detail/modules/basicInfo.vue | 19 +- .../seaexport/detail/modules/cargoInfo.vue | 3 - .../seaexport/detail/modules/mailingInfo.vue | 3 +- .../seaexport/detail/modules/otherInfo.vue | 27 +- 23 files changed, 1423 insertions(+), 1307 deletions(-) diff --git a/src/components/Form/src/BasicForm.vue b/src/components/Form/src/BasicForm.vue index 225506b1..3111f7ec 100644 --- a/src/components/Form/src/BasicForm.vue +++ b/src/components/Form/src/BasicForm.vue @@ -181,7 +181,6 @@ removeSchemaByField, resetFields, scrollToField, - linkageForm } = useFormEvents({ emit, getProps, @@ -281,7 +280,6 @@ clearValidate, validateFields, validate, - linkageForm, submit: handleSubmit, scrollToField: scrollToField, } diff --git a/src/components/Form/src/components/InputTextArea.vue b/src/components/Form/src/components/InputTextArea.vue index 4e489748..399bb675 100644 --- a/src/components/Form/src/components/InputTextArea.vue +++ b/src/components/Form/src/components/InputTextArea.vue @@ -56,7 +56,6 @@ setup(props, { emit }) { const attrs = useAttrs() const { t } = useI18n() - console.log(props) const [state] = useRuleFormItem(props, 'value', 'change') // 切割的字符数组 const cutList = attrs.value.slice || [] diff --git a/src/components/Form/src/hooks/useFormEvents.ts b/src/components/Form/src/hooks/useFormEvents.ts index 0e1db052..2df78542 100644 --- a/src/components/Form/src/hooks/useFormEvents.ts +++ b/src/components/Form/src/hooks/useFormEvents.ts @@ -331,15 +331,7 @@ export function useFormEvents({ } } - /** - * @description: Form submission - */ - async function linkageForm(item) { - emit('linkageForm', item) - } - return { - linkageForm, handleSubmit, clearValidate, validate, diff --git a/src/components/Form/src/types/form.ts b/src/components/Form/src/types/form.ts index e6e4eaa6..aae5d025 100644 --- a/src/components/Form/src/types/form.ts +++ b/src/components/Form/src/types/form.ts @@ -43,7 +43,6 @@ export interface FormActionType { validate: (nameList?: NamePath[]) => Promise getFieldList: (nameList?: NamePath[]) => Promise scrollToField: (name: NamePath, options?: ScrollOptions) => Promise - linkageForm: () => Promise } export type RegisterFn = (formInstance: FormActionType) => void diff --git a/src/views/ContainerManagement/CurrentState/columns.tsx b/src/views/ContainerManagement/CurrentState/columns.tsx index 9f813d3d..a1df805c 100644 --- a/src/views/ContainerManagement/CurrentState/columns.tsx +++ b/src/views/ContainerManagement/CurrentState/columns.tsx @@ -123,8 +123,8 @@ export const columns: BasicColumn[] = [ width: 150, }, { - title: '运输工具', - dataIndex: 'vehicleName', + title: '船名航次', + dataIndex: 'vesselVoyno', sorter: true, width: 200, }, @@ -636,8 +636,8 @@ export const formSchema: FormSchema[] = [ }, }, { - field: 'vehicleName', - label: '运输工具', + field: 'vesselVoyno', + label: '船名航次', component: 'Input', colProps: { span: 6 }, }, diff --git a/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue index c5e8e2a1..83bd68f5 100644 --- a/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue @@ -28,7 +28,7 @@ - + 保存 @@ -50,6 +50,15 @@ +
@@ -105,6 +114,24 @@