|
|
|
@ -3,7 +3,7 @@ import { GetCarrierlist } from '/@/views/operation/seaexport/api/BookingLedger'
|
|
|
|
|
// 引入字典数据
|
|
|
|
|
import { getDictOption } from '/@/utils/dictUtil'
|
|
|
|
|
// 包装下拉数据
|
|
|
|
|
import { GetPackageSelectList } from '/@/api/common'
|
|
|
|
|
import { GetPackageSelectList } from '/@/views/operation/seaexport/api/BookingLedger'
|
|
|
|
|
// 模块字典
|
|
|
|
|
const modulesDict = await getDictOption('modules')
|
|
|
|
|
export const columns: BasicColumn[] = [
|
|
|
|
@ -97,16 +97,17 @@ export const formSchema: FormSchema[] = [
|
|
|
|
|
api: GetPackageSelectList,
|
|
|
|
|
labelField: 'packageName',
|
|
|
|
|
valueField: 'ediCode',
|
|
|
|
|
showSearch: true,
|
|
|
|
|
resultField: 'data',
|
|
|
|
|
onChange: (v, obj) => {
|
|
|
|
|
if (obj) {
|
|
|
|
|
console.log(obj)
|
|
|
|
|
if (v && obj) {
|
|
|
|
|
formModel['linkId'] = obj.id
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
if (!v && !obj) {
|
|
|
|
|
formModel['linkId'] = null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'module',
|
|
|
|
|