|
|
@@ -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'
|
|
|
})
|
|
|
@@ -308,10 +313,8 @@ function showPhotos(row) {
|
|
|
showNotify({ type: 'warning', message: '没有对应的拍摄' })
|
|
|
return
|
|
|
}
|
|
|
- const baseUrl = import.meta.env.VITE_APP_BASE_API + 'statics/storage/'
|
|
|
- const paths = baseUrl.split('.')
|
|
|
- paths[1] = 'swms'
|
|
|
- const base = paths.join('.')
|
|
|
+ let baseUrl = import.meta.env.VITE_APP_BASE_API + 'statics/storage/'
|
|
|
+ const base = baseUrl.replace("api","swms")
|
|
|
// 解构图片url
|
|
|
reviewImages.value = items.map(item => {
|
|
|
const {path,module} = item
|