Browse Source

缺陷:HL-5565报废出库备注改为通知单描述

hella_online_20240823
zhaoxuebing 3 months ago
parent
commit
fd8e27022e
  1. 2
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts
  2. 2
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts
  3. 3
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
  4. 2
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

2
src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts

@ -354,7 +354,7 @@ export const ScrapJobMain = useCrudSchemas(
} }
}, },
{ {
label: '备注', label: '通知单描述',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {

2
src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts

@ -357,7 +357,7 @@ export const ScrapRecordMain = useCrudSchemas(
} }
}, },
{ {
label: '备注', label: '通知单描述',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {

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

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

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

@ -617,7 +617,7 @@ export const ScrapRequestMain = useCrudSchemas(
} }
}, },
{ {
label: '备注', label: '通知单描述',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
isTable: false, isTable: false,

Loading…
Cancel
Save