|
|
@ -1839,12 +1839,6 @@ export const cargoInfoFormSchema1: FormSchema[] = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|
|
|
|
]
|
|
|
|
export const cargoInfoFormSchema2: FormSchema[] = [
|
|
|
|
export const cargoInfoFormSchema2: FormSchema[] = [
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '',
|
|
|
|
|
|
|
|
field: 'goodsId',
|
|
|
|
|
|
|
|
component: 'Input',
|
|
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '',
|
|
|
|
label: '',
|
|
|
|
field: 'isPreOrder',
|
|
|
|
field: 'isPreOrder',
|
|
|
@ -1873,6 +1867,7 @@ export const cargoInfoFormSchema2: FormSchema[] = [
|
|
|
|
mode: 'SECRET_COMBOBOX_MODE_DO_NOT_USE',
|
|
|
|
mode: 'SECRET_COMBOBOX_MODE_DO_NOT_USE',
|
|
|
|
resultField: 'data',
|
|
|
|
resultField: 'data',
|
|
|
|
onChange: (v, obj) => {
|
|
|
|
onChange: (v, obj) => {
|
|
|
|
|
|
|
|
console.log(obj)
|
|
|
|
if (v && obj) {
|
|
|
|
if (v && obj) {
|
|
|
|
formModel.goodsId = obj.id
|
|
|
|
formModel.goodsId = obj.id
|
|
|
|
if (obj.hsCode) {
|
|
|
|
if (obj.hsCode) {
|
|
|
@ -1883,7 +1878,7 @@ export const cargoInfoFormSchema2: FormSchema[] = [
|
|
|
|
formModel.goodsId = null
|
|
|
|
formModel.goodsId = null
|
|
|
|
formModel.hsCode = null
|
|
|
|
formModel.hsCode = null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|