浏览代码

查看大图

lilei 3 年之前
父节点
当前提交
24a28bd7be
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/views/purchasingManagement/purchaseOrder/edit.vue

+ 7 - 1
src/views/purchasingManagement/purchaseOrder/edit.vue

@@ -500,7 +500,13 @@ export default {
       })
     },
     // 查看产品
-    handlePicDetail (row) {},
+    handlePicDetail (row) {
+      if (row.productMainPic && row.productMainPic.imageUrl) {
+        this.$viewerApi({
+          images: [row.productMainPic.imageUrl.replace('/small/', '/big/')]
+        })
+      }
+    },
     // 上次缺货 导入成功
     hanldeOkOutStock () {
       this.$refs.purchaseTable.refresh(true)