|
@ -142,7 +142,7 @@ const onEnter = async (field,value)=>{ |
|
|
const dateTime = new Date().getTime() |
|
|
const dateTime = new Date().getTime() |
|
|
if(field=='customerCode'){ |
|
|
if(field=='customerCode'){ |
|
|
//客户代码---》发货记录单号 |
|
|
//客户代码---》发货记录单号 |
|
|
formRef.value.opensearchTable('deliverRecordNumber', 'number', '发货记录信息', DeliverRecordMain.allSchemas, DeliverRecordDetailApi.getDeliverRecordDetailPage,[{ |
|
|
formRef.value.opensearchTable('deliverRecordNumber', 'number', '发货记录信息', DeliverRecordMain.allSchemas, DeliverRecordDetailApi.getDeliverRecordDetailPageCustomerreturn,[{ |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
@ -215,7 +215,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
setV['customerDockCode'] = val[0]['customerDockCode'] |
|
|
setV['customerDockCode'] = val[0]['customerDockCode'] |
|
|
|
|
|
|
|
|
// 获取子表数据 |
|
|
// 获取子表数据 |
|
|
DeliverRecordDetailApi.getDeliverRecordDetailPage({pageSize:999,masterId:val[0]['masterId']}).then(res => { |
|
|
DeliverRecordDetailApi.getDeliverRecordDetailPageCustomerreturn({pageSize:999,masterId:val[0]['masterId']}).then(res => { |
|
|
|
|
|
|
|
|
res.list.forEach(obj => { |
|
|
res.list.forEach(obj => { |
|
|
let value = null |
|
|
let value = null |
|
|