海运出口详情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 { 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',

Loading…
Cancel
Save