|
|
@ -5,7 +5,7 @@ import { ref, unref } from 'vue'
|
|
|
|
import { BasicColumn, FormSchema } from '/@/components/Table'
|
|
|
|
import { BasicColumn, FormSchema } from '/@/components/Table'
|
|
|
|
import { getDictOption } from '/@/utils/dictUtil'
|
|
|
|
import { getDictOption } from '/@/utils/dictUtil'
|
|
|
|
// 下拉框数据接口
|
|
|
|
// 下拉框数据接口
|
|
|
|
import { GetClientListByCode } from '/@/api/common'
|
|
|
|
import { GetClientListByCode, GetCarrierSelectList } from '/@/api/common'
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
GetPackageSelectList,
|
|
|
|
GetPackageSelectList,
|
|
|
|
GetOrderContactListByClientId,
|
|
|
|
GetOrderContactListByClientId,
|
|
|
@ -234,11 +234,10 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
colProps: { span: 5 },
|
|
|
|
colProps: { span: 5 },
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: GetClientListByCode,
|
|
|
|
api: GetCarrierSelectList,
|
|
|
|
params: { code: 'carrier' },
|
|
|
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
showName: 'shortName',
|
|
|
|
showName: 'cnName',
|
|
|
|
valueField: 'shortName',
|
|
|
|
valueField: 'cnName',
|
|
|
|
resultField: 'data',
|
|
|
|
resultField: 'data',
|
|
|
|
immediate: false,
|
|
|
|
immediate: false,
|
|
|
|
onChange: (e, obj) => {
|
|
|
|
onChange: (e, obj) => {
|
|
|
@ -274,7 +273,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: GetClientListByCode,
|
|
|
|
api: GetClientListByCode,
|
|
|
|
params: { code: 'agentcn' },
|
|
|
|
params: { code: 'booking' },
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
valueField: 'shortName',
|
|
|
|
valueField: 'shortName',
|
|
|
|
showName: 'shortName',
|
|
|
|
showName: 'shortName',
|
|
|
@ -754,7 +753,6 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '船司航线',
|
|
|
|
label: '船司航线',
|
|
|
|
field: 'carrierLane',
|
|
|
|
field: 'carrierLane',
|
|
|
@ -762,18 +760,16 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
colProps: { span: 5 },
|
|
|
|
colProps: { span: 5 },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'closeDocDate',
|
|
|
|
field: 'openPortDate',
|
|
|
|
label: '开港时间',
|
|
|
|
label: '开港时间',
|
|
|
|
component: 'DatePicker',
|
|
|
|
component: 'DatePicker',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
// defaultValue: '',
|
|
|
|
|
|
|
|
colProps: { span: 5 },
|
|
|
|
colProps: { span: 5 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
showTime: true,
|
|
|
|
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm'
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '装货港',
|
|
|
|
label: '装货港',
|
|
|
@ -1687,7 +1683,7 @@ export const cargoInfoFormSchema1: FormSchema[] = [
|
|
|
|
component: 'InputTextArea',
|
|
|
|
component: 'InputTextArea',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
defaultValue: 'N.M',
|
|
|
|
defaultValue: 'N/M',
|
|
|
|
colProps: {
|
|
|
|
colProps: {
|
|
|
|
span: 10,
|
|
|
|
span: 10,
|
|
|
|
},
|
|
|
|
},
|
|
|
|