|
|
@ -142,7 +142,7 @@ const onEnter = async (field,value)=>{ |
|
|
|
const dateTime = new Date().getTime() |
|
|
|
if(field=='customerCode'){ |
|
|
|
//客户代码---》发货记录单号 |
|
|
|
formRef.value.opensearchTable('deliverRecordNumber', 'number', '发货记录信息', DeliverRecordMain.allSchemas, DeliverRecordDetailApi.getDeliverRecordDetailPage,[{ |
|
|
|
formRef.value.opensearchTable('deliverRecordNumber', 'number', '发货记录信息', DeliverRecordMain.allSchemas, DeliverRecordDetailApi.getDeliverRecordDetailPageCustomerreturn,[{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
@ -215,7 +215,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
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 => { |
|
|
|
let value = null |
|
|
|