|
|
|
@ -102,6 +102,11 @@ const salerCodeDict = ref([])
|
|
|
|
|
getDictOption('saler_code').then((data) => {
|
|
|
|
|
salerCodeDict.value = data
|
|
|
|
|
})
|
|
|
|
|
// 退舱类型字典
|
|
|
|
|
const returnCabinDict = ref([])
|
|
|
|
|
getDictOption('return_cabin_type').then((data) => {
|
|
|
|
|
returnCabinDict.value = data
|
|
|
|
|
})
|
|
|
|
|
// 往来单位集合
|
|
|
|
|
// GetMultiClientList().then(res => {
|
|
|
|
|
// console.log(res)
|
|
|
|
@ -869,7 +874,7 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'openPortDate',
|
|
|
|
|
label: '开港时间',
|
|
|
|
|
label: '截VGM时间',
|
|
|
|
|
component: 'DatePicker',
|
|
|
|
|
required: false,
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
@ -1195,60 +1200,18 @@ export const mailingInfoFormSchemaR: FormSchema[] = [
|
|
|
|
|
|
|
|
|
|
// 备注信息表单
|
|
|
|
|
export const noteFormSchema: FormSchema[] = [
|
|
|
|
|
{
|
|
|
|
|
field: 'agentContent',
|
|
|
|
|
label: 'AGENT',
|
|
|
|
|
component: 'InputTextArea',
|
|
|
|
|
required: false,
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
// defaultValue: '',
|
|
|
|
|
colProps: { span: 8 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
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: 'agentContent',
|
|
|
|
|
// label: 'AGENT',
|
|
|
|
|
// component: 'InputTextArea',
|
|
|
|
|
// required: false,
|
|
|
|
|
// dynamicDisabled: false,
|
|
|
|
|
// // defaultValue: '',
|
|
|
|
|
// colProps: { span: 8 },
|
|
|
|
|
// componentProps: {
|
|
|
|
|
// autoSize: { minRows: 3, maxRows: 3 },
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
field: 'issueType',
|
|
|
|
|
label: '签单方式',
|
|
|
|
@ -1786,6 +1749,48 @@ export const ediMoreFormSchema: FormSchema[] = [
|
|
|
|
|
required: false,
|
|
|
|
|
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[] = [
|
|
|
|
@ -2823,7 +2828,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'isShipAgency' },
|
|
|
|
|
params: { code: 'shipagency' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
showName: 'description',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
@ -3277,5 +3282,52 @@ export const changeForm: FormSchema[] = [
|
|
|
|
|
dynamicDisabled: false,
|
|
|
|
|
defaultValue: true,
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|