|
|
@ -190,7 +190,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
console.log("报废出库主表") |
|
|
|
const setV = {} |
|
|
|
if (formField == 'q1Number') { |
|
|
|
setV['remark'] = val[0]['desc'] |
|
|
|
setV['noticeRemark'] = val[0]['desc'] |
|
|
|
ScrapRequestMain.allSchemas.formSchema.forEach((item) => { |
|
|
|
if (item.field == 'q2Number' || item.field == 'q3Number') { |
|
|
|
item.componentProps.enterSearch = false |
|
|
@ -200,7 +200,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
}) |
|
|
|
} |
|
|
|
if (formField == 'q2Number') { |
|
|
|
setV['remark'] = val[0]['desc'] |
|
|
|
setV['noticeRemark'] = val[0]['desc'] |
|
|
|
ScrapRequestMain.allSchemas.formSchema.forEach((item) => { |
|
|
|
if (item.field == 'q1Number' || item.field == 'q3Number') { |
|
|
|
item.componentProps.enterSearch = false |
|
|
@ -210,7 +210,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
}) |
|
|
|
} |
|
|
|
if (formField == 'q3Number') { |
|
|
|
setV['remark'] = val[0]['desc'] |
|
|
|
setV['noticeRemark'] = val[0]['desc'] |
|
|
|
ScrapRequestMain.allSchemas.formSchema.forEach((item) => { |
|
|
|
if (item.field == 'q1Number' || item.field == 'q2Number') { |
|
|
|
item.componentProps.enterSearch = false |
|
|
@ -249,7 +249,7 @@ const clearSearchInput = (field) => { |
|
|
|
} |
|
|
|
}) |
|
|
|
formRef.value.formRef.setValues({ |
|
|
|
remark:'' |
|
|
|
noticeRemark:'' |
|
|
|
}) |
|
|
|
} |
|
|
|
if (field == 'q2Number') { |
|
|
@ -261,7 +261,7 @@ const clearSearchInput = (field) => { |
|
|
|
} |
|
|
|
}) |
|
|
|
formRef.value.formRef.setValues({ |
|
|
|
remark:'' |
|
|
|
noticeRemark:'' |
|
|
|
}) |
|
|
|
} |
|
|
|
if (field == 'q3Number') { |
|
|
@ -273,7 +273,7 @@ const clearSearchInput = (field) => { |
|
|
|
} |
|
|
|
}) |
|
|
|
formRef.value.formRef.setValues({ |
|
|
|
remark:'' |
|
|
|
noticeRemark:'' |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|