海运出口详情bug

szh-new
lijingjia 4 months ago
parent aedbecf703
commit 3427cccff3

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

Loading…
Cancel
Save