|
|
@ -101,6 +101,7 @@ const formLoadingPlan = ref(false) |
|
|
|
// 查询页面返回 |
|
|
|
const searchQueryTableSuccess = (formField, searchField, val, formRef, type, row ) => { |
|
|
|
console.log('searchQueryTableSuccess',formField, searchField, val, formRef, type, row ) |
|
|
|
debugger |
|
|
|
nextTick(() => { |
|
|
|
const setV = {} |
|
|
|
if(formField == 'supplierCode'||formField == 'itemCode'||formField == 'version'){ |
|
|
@ -108,6 +109,7 @@ const searchQueryTableSuccess = (formField, searchField, val, formRef, type, row |
|
|
|
let list = [] |
|
|
|
val.forEach(item=>{ |
|
|
|
list.push(item[searchField]) |
|
|
|
setV['dueDate'] = item.yearMonth |
|
|
|
}) |
|
|
|
setV[formField] = list.join(' ') |
|
|
|
formRef.setValues(setV) |
|
|
|