diff --git a/src/views/operation/seaexport/detail/components/ladingInfo.tsx b/src/views/operation/seaexport/detail/components/ladingInfo.tsx index f5a45f55..a2e1d980 100644 --- a/src/views/operation/seaexport/detail/components/ladingInfo.tsx +++ b/src/views/operation/seaexport/detail/components/ladingInfo.tsx @@ -104,7 +104,7 @@ export const formSchema1: FormSchema[] = [ onCut: (v) => { formModel.shipperContent = v }, - oninput: () => { + onblur: () => { formModel.shipperContent = ToCDB(formModel.shipperContent) formModel.shipperContent = formModel.shipperContent.toUpperCase() formModel.shipperContent = removeTrailingSpaces(formModel.shipperContent) @@ -163,7 +163,7 @@ export const formSchema1: FormSchema[] = [ onCut: (v) => { formModel.consigneeContent = v }, - oninput: () => { + onblur: () => { formModel.consigneeContent = ToCDB(formModel.consigneeContent) formModel.consigneeContent = formModel.consigneeContent.toUpperCase() formModel.consigneeContent = removeTrailingSpaces(formModel.consigneeContent) @@ -225,7 +225,7 @@ export const formSchema1: FormSchema[] = [ onCut: (v) => { formModel.notifyPartyContent = v }, - oninput: () => { + onblur: () => { formModel.notifyPartyContent = ToCDB(formModel.notifyPartyContent) formModel.notifyPartyContent = formModel.notifyPartyContent.toUpperCase() formModel.notifyPartyContent = removeTrailingSpaces(formModel.notifyPartyContent) diff --git a/src/views/operation/seaexport/detail/modules/baseInfo.tsx b/src/views/operation/seaexport/detail/modules/baseInfo.tsx index fb1ce636..47852d0e 100644 --- a/src/views/operation/seaexport/detail/modules/baseInfo.tsx +++ b/src/views/operation/seaexport/detail/modules/baseInfo.tsx @@ -253,7 +253,6 @@ export const basicInfoFormSchema: FormSchema[] = [ mode: 'SECRET_COMBOBOX_MODE_DO_NOT_USE', onChange: (e, obj) => { if (e && obj) { - console.log(obj) cno.value = obj.contractNote } }, @@ -627,7 +626,7 @@ export const mailingInfoFormSchemaL: FormSchema[] = [ onCut: (v) => { formModel.shipperContent = v }, - oninput: () => { + onblur: () => { formModel.shipperContent = ToCDB(formModel.shipperContent) formModel.shipperContent = formModel.shipperContent.toUpperCase() formModel.shipperContent = removeTrailingSpaces(formModel.shipperContent) @@ -646,7 +645,7 @@ export const mailingInfoFormSchemaL: FormSchema[] = [ onCut: (v) => { formModel.consigneeContent = v }, - oninput: () => { + onblur: () => { formModel.consigneeContent = ToCDB(formModel.consigneeContent) formModel.consigneeContent = formModel.consigneeContent.toUpperCase() formModel.consigneeContent = removeTrailingSpaces(formModel.consigneeContent) @@ -667,7 +666,7 @@ export const mailingInfoFormSchemaL: FormSchema[] = [ onCut: (v) => { formModel.notifyPartyContent = v }, - oninput: () => { + onblur: () => { formModel.notifyPartyContent = ToCDB(formModel.notifyPartyContent) formModel.notifyPartyContent = formModel.notifyPartyContent.toUpperCase() formModel.notifyPartyContent = removeTrailingSpaces(formModel.notifyPartyContent)