|
|
@ -207,7 +207,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
colProps: { span: 5 },
|
|
|
|
colProps: { span: 5 },
|
|
|
|
componentProps: ({ formModel, formActionType }) => {
|
|
|
|
componentProps: ({ formModel, formActionType }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: GetClientListByCode,
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
params: { code: 'contract' },
|
|
|
|
params: { code: 'contract' },
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
valueField: 'shortName',
|
|
|
|
valueField: 'shortName',
|
|
|
@ -876,8 +876,8 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
showTime: true,
|
|
|
|
showTime: true,
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm',
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm'
|
|
|
|
},
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '装货港',
|
|
|
|
label: '装货港',
|
|
|
@ -899,15 +899,15 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
if (e && obj) {
|
|
|
|
if (e && obj) {
|
|
|
|
formActionType ? formActionType.linkageForm({ key: 'loadPortCode', value: obj }) : null
|
|
|
|
formActionType ? formActionType.linkageForm({ key: 'loadPortCode', value: obj }) : null
|
|
|
|
formModel.loadPortId = obj.id
|
|
|
|
formModel.loadPortId = obj.id
|
|
|
|
formModel.loadPort = obj.portName
|
|
|
|
formModel.loadPort = obj.portName + ',' + obj.countryEnName
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!e && !obj) {
|
|
|
|
if (!e && !obj) {
|
|
|
|
formModel.loadPortId = null
|
|
|
|
formModel.loadPortId = null
|
|
|
|
formModel.loadPort = null
|
|
|
|
formModel.loadPort = null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '卸货港',
|
|
|
|
label: '卸货港',
|
|
|
|