Browse Source

1、工位选择设备重构

master_hella_20240701
bjang03 7 months ago
parent
commit
16d6798f49
  1. 2
      src/views/mes/workstation/components/Detail.vue
  2. 7
      src/views/mes/workstation/index.vue

2
src/views/mes/workstation/components/Detail.vue

@ -488,11 +488,13 @@ const openDetail = async (row: any, titleName: any, titleValue: any, tableName:
code: row.code
}
await getList()
}
isShowDrawer.value = true
if (row) {
detailLoading.value = true
try {
detailData.value = row
getRemarkList()
getFileList()

7
src/views/mes/workstation/index.vue

@ -104,17 +104,12 @@ const tableColumns = ref(Workstation.allSchemas.tableColumns)
//
const searchTableSuccess = (formField, searchField, val, formRef) => {
console.log(formField)
console.log(searchField)
console.log(val)
console.log(formRef)
nextTick(async () => {
debugger
if (formRef) {
const setV = {}
setV[formField] = val[0][searchField]
formRef.setValues(setV)
} else {
}
})
}

Loading…
Cancel
Save