Browse Source

HL-5565报废出库申请选完Q1、Q2\Q3通知单号后可以自动带出描述

hella_online_20240828
zhang_li 3 months ago
parent
commit
2d2dc382cb
  1. 9
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
  2. 1
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

9
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue

@ -248,6 +248,9 @@ const clearSearchInput = (field) => {
item.componentProps.disabled = false item.componentProps.disabled = false
} }
}) })
formRef.value.formRef.setValues({
remark:''
})
} }
if (field == 'q2Number') { if (field == 'q2Number') {
ScrapRequestMain.allSchemas.formSchema.forEach((item) => { ScrapRequestMain.allSchemas.formSchema.forEach((item) => {
@ -257,6 +260,9 @@ const clearSearchInput = (field) => {
item.componentProps.disabled = false item.componentProps.disabled = false
} }
}) })
formRef.value.formRef.setValues({
remark:''
})
} }
if (field == 'q3Number') { if (field == 'q3Number') {
ScrapRequestMain.allSchemas.formSchema.forEach((item) => { ScrapRequestMain.allSchemas.formSchema.forEach((item) => {
@ -266,6 +272,9 @@ const clearSearchInput = (field) => {
item.componentProps.disabled = false item.componentProps.disabled = false
} }
}) })
formRef.value.formRef.setValues({
remark:''
})
} }
} }
// //

1
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -620,7 +620,6 @@ export const ScrapRequestMain = useCrudSchemas(
label: '通知单描述', label: '通知单描述',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
isTable: false,
table: { table: {
width: 150 width: 150
} }

Loading…
Cancel
Save