|
|
|
@ -214,7 +214,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel, formActionType }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'contract' },
|
|
|
|
|
params: { code: 'isContract' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
|
showName: 'shortName',
|
|
|
|
@ -328,7 +328,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'booking' },
|
|
|
|
|
params: { code: 'isBooking' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
|
showName: 'description',
|
|
|
|
@ -2749,7 +2749,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'truck' },
|
|
|
|
|
params: { code: 'isTruck' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
|
showName: 'description',
|
|
|
|
@ -2783,7 +2783,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'agent' },
|
|
|
|
|
params: { code: 'isAgent' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
showName: 'description',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
@ -2812,7 +2812,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'yard' },
|
|
|
|
|
params: { code: 'isYard' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
showName: 'description',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
@ -2847,7 +2847,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'shipagency' },
|
|
|
|
|
params: { code: 'isShipagency' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
showName: 'description',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
@ -2882,7 +2882,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'custom' },
|
|
|
|
|
params: { code: 'isCustom' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
|
showName: 'description',
|
|
|
|
@ -2995,7 +2995,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
// 客户类别下拉框数据
|
|
|
|
|
const customTypeDict = ref([])
|
|
|
|
|
const personList = ref([])
|
|
|
|
|
getDictOption('infoclient-ArrclientTag').then((data) => {
|
|
|
|
|
getDictOption('djy_cust_prop').then((data) => {
|
|
|
|
|
customTypeDict.value = data
|
|
|
|
|
})
|
|
|
|
|
// 关系人表单
|
|
|
|
@ -3427,7 +3427,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '主提单号',
|
|
|
|
|
labelSlot: 'mblno',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
oninput: () => {
|
|
|
|
@ -3446,7 +3446,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '船名',
|
|
|
|
|
field: 'vessel',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetVesselSelectList,
|
|
|
|
@ -3470,7 +3470,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '海关航次',
|
|
|
|
|
field: 'voyno',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: () => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetVoynoSelectList,
|
|
|
|
@ -3492,7 +3492,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'carrier',
|
|
|
|
|
labelSlot: 'carrierId',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel, formActionType }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetCarrierSelectList,
|
|
|
|
@ -3516,7 +3516,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'service',
|
|
|
|
|
label: '运输条款',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetServiceSelectList,
|
|
|
|
@ -3557,7 +3557,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
labelSlot: 'customerName',
|
|
|
|
|
field: 'customerName',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel, formActionType }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetControllerClientList,
|
|
|
|
@ -3582,7 +3582,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '客户编号',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
required: false,
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
@ -3601,7 +3601,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '品名',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
labelSlot: 'goodsName',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetClientGoodsList,
|
|
|
|
@ -3636,7 +3636,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '装货港',
|
|
|
|
|
field: 'loadPortCode',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel, formActionType }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetClientPortSelectList,
|
|
|
|
@ -3662,7 +3662,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '卸货港',
|
|
|
|
|
field: 'dischargePortCode',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel, formActionType }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetClientPortSelectList,
|
|
|
|
@ -3692,7 +3692,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '交货地',
|
|
|
|
|
field: 'deliveryPlaceCode',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetClientPortSelectList,
|
|
|
|
@ -3718,7 +3718,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '收货地',
|
|
|
|
|
field: 'receiptPlaceCode',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetClientPortSelectList,
|
|
|
|
@ -3745,7 +3745,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'loadPort',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
required: false,
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
oninput: () => {
|
|
|
|
@ -3765,7 +3765,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'dischargePort',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
required: false,
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
oninput: () => {
|
|
|
|
@ -3785,7 +3785,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'deliveryPlace',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
required: false,
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
oninput: () => {
|
|
|
|
@ -3805,7 +3805,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'receiptPlace',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
required: false,
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
oninput: () => {
|
|
|
|
@ -3825,7 +3825,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '订舱编号',
|
|
|
|
|
labelSlot: 'bookingNo',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
oninput: () => {
|
|
|
|
@ -3839,7 +3839,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '开船日期',
|
|
|
|
|
labelSlot: 'etd',
|
|
|
|
|
component: 'DatePicker',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
allowClear: true,
|
|
|
|
|
valueFormat: 'YYYY-MM-DD'
|
|
|
|
@ -3849,7 +3849,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'closingDate',
|
|
|
|
|
label: '截港时间',
|
|
|
|
|
component: 'DatePicker',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
showTime: true,
|
|
|
|
|
allowClear: true,
|
|
|
|
@ -3860,7 +3860,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'eta',
|
|
|
|
|
label: '预抵日期',
|
|
|
|
|
component: 'DatePicker',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
allowClear: true,
|
|
|
|
|
valueFormat: 'YYYY-MM-DD',
|
|
|
|
@ -3870,7 +3870,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'openPortDate',
|
|
|
|
|
label: '截VGM时间',
|
|
|
|
|
component: 'DatePicker',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
allowClear: true,
|
|
|
|
|
showTime: true,
|
|
|
|
@ -3881,7 +3881,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'closeDocDate',
|
|
|
|
|
label: '截单时间',
|
|
|
|
|
component: 'DatePicker',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
showTime: true,
|
|
|
|
|
allowClear: true,
|
|
|
|
@ -3892,7 +3892,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '签单地代码',
|
|
|
|
|
field: 'issuePlaceCode',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetClientPortSelectList,
|
|
|
|
@ -3919,7 +3919,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'issuePlace',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
required: false,
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
oninput: () => {
|
|
|
|
@ -3940,7 +3940,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
component: 'Input',
|
|
|
|
|
required: false,
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '',
|
|
|
|
@ -3952,7 +3952,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '订舱口',
|
|
|
|
|
field: 'forwarder',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
@ -3984,7 +3984,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'shipAgency',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
labelSlot: 'shipAgencyId',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
@ -4015,7 +4015,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
field: 'yard',
|
|
|
|
|
label: '场站',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
@ -4046,7 +4046,7 @@ export const aiForm: FormSchema[] = [
|
|
|
|
|
label: '客服',
|
|
|
|
|
field: 'customerServiceName',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetCustomerServiceList,
|
|
|
|
|