diff --git a/src/components/Form/src/components/InputTextArea.vue b/src/components/Form/src/components/InputTextArea.vue index 82272717..8a954009 100644 --- a/src/components/Form/src/components/InputTextArea.vue +++ b/src/components/Form/src/components/InputTextArea.vue @@ -74,7 +74,7 @@ // 切割字符 const changeCode = (len) => { if (len == '*') { - + // 截断 } else { const value = state.value var textArr: any = value.match(/.+[\n]*/g) diff --git a/src/views/operation/seaexport/detail/modules/baseInfo.tsx b/src/views/operation/seaexport/detail/modules/baseInfo.tsx index 3f7dfd0c..a1af0e41 100644 --- a/src/views/operation/seaexport/detail/modules/baseInfo.tsx +++ b/src/views/operation/seaexport/detail/modules/baseInfo.tsx @@ -544,7 +544,7 @@ export const mailingInfoFormSchemaL: FormSchema[] = [ component: 'InputTextArea', colProps: { span: 8 }, componentProps: { - slice: ['*', 30, 35, 40] + slice: [30, 35, 40] } }, { diff --git a/src/views/operation/seaexport/detail/modules/otherInfo.vue b/src/views/operation/seaexport/detail/modules/otherInfo.vue index ac2c701b..18bd3eb3 100644 --- a/src/views/operation/seaexport/detail/modules/otherInfo.vue +++ b/src/views/operation/seaexport/detail/modules/otherInfo.vue @@ -129,7 +129,6 @@ ) onMounted(() => { emitter.on('setSeaLane', (v) => { - console.log(v) if (v.laneId) { setFieldsValue({ lane: v.lane, @@ -139,6 +138,7 @@ } }) emitter.on('customerBack', (v) => { + if (v.saleOrgIdList && v.saleOrgIdList.length) v['saleOrgId'] = v.saleOrgIdList[0] setFieldsValue({ ...v }) diff --git a/src/views/operation/seaexport/index.vue b/src/views/operation/seaexport/index.vue index b35b0ddb..bc1c7d01 100644 --- a/src/views/operation/seaexport/index.vue +++ b/src/views/operation/seaexport/index.vue @@ -89,13 +89,11 @@