|
|
@ -102,6 +102,11 @@ const salerCodeDict = ref([])
|
|
|
|
getDictOption('saler_code').then((data) => {
|
|
|
|
getDictOption('saler_code').then((data) => {
|
|
|
|
salerCodeDict.value = data
|
|
|
|
salerCodeDict.value = data
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
// 退舱类型字典
|
|
|
|
|
|
|
|
const returnCabinDict = ref([])
|
|
|
|
|
|
|
|
getDictOption('return_cabin_type').then((data) => {
|
|
|
|
|
|
|
|
returnCabinDict.value = data
|
|
|
|
|
|
|
|
})
|
|
|
|
// 往来单位集合
|
|
|
|
// 往来单位集合
|
|
|
|
// GetMultiClientList().then(res => {
|
|
|
|
// GetMultiClientList().then(res => {
|
|
|
|
// console.log(res)
|
|
|
|
// console.log(res)
|
|
|
@ -869,7 +874,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'openPortDate',
|
|
|
|
field: 'openPortDate',
|
|
|
|
label: '开港时间',
|
|
|
|
label: '截VGM时间',
|
|
|
|
component: 'DatePicker',
|
|
|
|
component: 'DatePicker',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
@ -1195,60 +1200,18 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
|
|
|
|
|
|
|
// 备注信息表单
|
|
|
|
// 备注信息表单
|
|
|
|
export const noteFormSchema: FormSchema[] = [
|
|
|
|
export const noteFormSchema: FormSchema[] = [
|
|
|
|
{
|
|
|
|
// {
|
|
|
|
field: 'agentContent',
|
|
|
|
// field: 'agentContent',
|
|
|
|
label: 'AGENT',
|
|
|
|
// label: 'AGENT',
|
|
|
|
component: 'InputTextArea',
|
|
|
|
// component: 'InputTextArea',
|
|
|
|
required: false,
|
|
|
|
// required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
// dynamicDisabled: false,
|
|
|
|
// defaultValue: '',
|
|
|
|
// // defaultValue: '',
|
|
|
|
colProps: { span: 8 },
|
|
|
|
// colProps: { span: 8 },
|
|
|
|
componentProps: {
|
|
|
|
// componentProps: {
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 },
|
|
|
|
// autoSize: { minRows: 3, maxRows: 3 },
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'soRemark',
|
|
|
|
|
|
|
|
label: 'SO备注',
|
|
|
|
|
|
|
|
component: 'InputTextArea',
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
|
|
|
colProps: { span: 8 },
|
|
|
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 },
|
|
|
|
|
|
|
|
enInput: true,
|
|
|
|
|
|
|
|
oninput: () => {
|
|
|
|
|
|
|
|
formModel.soRemark = formModel.soRemark.replace(/[\u4e00-\u9fa5]/ig,'')
|
|
|
|
|
|
|
|
formModel.soRemark = ToCDB(formModel.soRemark)
|
|
|
|
|
|
|
|
formModel.soRemark = formModel.soRemark.toUpperCase()
|
|
|
|
|
|
|
|
formModel.soRemark = removeTrailingSpaces(formModel.soRemark)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'closeDocRemark',
|
|
|
|
|
|
|
|
label: 'SI备注',
|
|
|
|
|
|
|
|
component: 'InputTextArea',
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
|
|
|
colProps: { span: 8 },
|
|
|
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 },
|
|
|
|
|
|
|
|
enInput: true,
|
|
|
|
|
|
|
|
oninput: () => {
|
|
|
|
|
|
|
|
formModel.closeDocRemark = formModel.closeDocRemark.replace(/[\u4e00-\u9fa5]/ig,'')
|
|
|
|
|
|
|
|
formModel.closeDocRemark = ToCDB(formModel.closeDocRemark)
|
|
|
|
|
|
|
|
formModel.closeDocRemark = formModel.closeDocRemark.toUpperCase()
|
|
|
|
|
|
|
|
formModel.closeDocRemark = removeTrailingSpaces(formModel.closeDocRemark)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'issueType',
|
|
|
|
field: 'issueType',
|
|
|
|
label: '签单方式',
|
|
|
|
label: '签单方式',
|
|
|
@ -1786,6 +1749,48 @@ export const ediMoreFormSchema: FormSchema[] = [
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
colProps: { span: 5 },
|
|
|
|
colProps: { span: 5 },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'soRemark',
|
|
|
|
|
|
|
|
label: 'SO备注',
|
|
|
|
|
|
|
|
component: 'InputTextArea',
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 },
|
|
|
|
|
|
|
|
enInput: true,
|
|
|
|
|
|
|
|
oninput: () => {
|
|
|
|
|
|
|
|
formModel.soRemark = formModel.soRemark.replace(/[\u4e00-\u9fa5]/ig,'')
|
|
|
|
|
|
|
|
formModel.soRemark = ToCDB(formModel.soRemark)
|
|
|
|
|
|
|
|
formModel.soRemark = formModel.soRemark.toUpperCase()
|
|
|
|
|
|
|
|
formModel.soRemark = removeTrailingSpaces(formModel.soRemark)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'closeDocRemark',
|
|
|
|
|
|
|
|
label: 'SI备注',
|
|
|
|
|
|
|
|
component: 'InputTextArea',
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
|
|
|
colProps: { span: 12 },
|
|
|
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
autoSize: { minRows: 3, maxRows: 3 },
|
|
|
|
|
|
|
|
enInput: true,
|
|
|
|
|
|
|
|
oninput: () => {
|
|
|
|
|
|
|
|
formModel.closeDocRemark = formModel.closeDocRemark.replace(/[\u4e00-\u9fa5]/ig,'')
|
|
|
|
|
|
|
|
formModel.closeDocRemark = ToCDB(formModel.closeDocRemark)
|
|
|
|
|
|
|
|
formModel.closeDocRemark = formModel.closeDocRemark.toUpperCase()
|
|
|
|
|
|
|
|
formModel.closeDocRemark = removeTrailingSpaces(formModel.closeDocRemark)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
export const mastetMoreFormSchema: FormSchema[] = [
|
|
|
|
export const mastetMoreFormSchema: FormSchema[] = [
|
|
|
@ -2823,7 +2828,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
params: { code: 'isShipAgency' },
|
|
|
|
params: { code: 'shipagency' },
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
showName: 'description',
|
|
|
|
showName: 'description',
|
|
|
|
valueField: 'shortName',
|
|
|
|
valueField: 'shortName',
|
|
|
@ -3277,5 +3282,52 @@ export const changeForm: FormSchema[] = [
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
defaultValue: true,
|
|
|
|
defaultValue: true,
|
|
|
|
colProps: { span: 21 },
|
|
|
|
colProps: { span: 21 },
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 退舱表单
|
|
|
|
|
|
|
|
export const returnCabinForm: FormSchema[] = [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'orderProgress',
|
|
|
|
|
|
|
|
label: '订单进程',
|
|
|
|
|
|
|
|
component: 'Select',
|
|
|
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
|
|
|
colProps: { span: 21 },
|
|
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
|
|
componentProps: () => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
options: [
|
|
|
|
|
|
|
|
{ label: '已审未出号', value: 1 },
|
|
|
|
|
|
|
|
{ label: '已出号未申报', value: 2 },
|
|
|
|
|
|
|
|
{ label: '已申报', value: 3 }
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'refundReason',
|
|
|
|
|
|
|
|
label: '退舱类型',
|
|
|
|
|
|
|
|
component: 'Select',
|
|
|
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
|
|
|
colProps: { span: 21 },
|
|
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
|
|
componentProps: () => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
options: returnCabinDict.value
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'refundRemark',
|
|
|
|
|
|
|
|
label: '备注',
|
|
|
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
|
|
|
component: 'InputTextArea',
|
|
|
|
|
|
|
|
colProps: { span: 21 },
|
|
|
|
|
|
|
|
componentProps: {
|
|
|
|
|
|
|
|
autoSize: {
|
|
|
|
|
|
|
|
minRows: 3
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
disTrans: true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|