浏览代码

拍照添加条码和库位

zh 5 月之前
父节点
当前提交
7dd556535c
共有 1 个文件被更改,包括 8 次插入3 次删除
  1. 8 3
      src/views/processing/photoTask/index.vue

+ 8 - 3
src/views/processing/photoTask/index.vue

@@ -251,12 +251,17 @@ onMounted(() => {
   })
 })
 
-// 显示notes信息 - 改为弹框方式
+// 显示任务详情信息
 function showNotes(row) {
+  const location = row.location || '暂无库位信息'
+  const barcode = row.barcode || '暂无条码信息'
   const notes = row.notes || '暂无备注信息'
+  
+  const detailMessage = `库位:${location}\n\n条码:${barcode}\n\n备注:${notes}`
+  
   showDialog({
-    title: '任务备注',
-    message: notes,
+    title: '任务详情',
+    message: detailMessage,
     confirmButtonText: '确定',
     messageAlign: 'left'
   })