lilei 3 anni fa
parent
commit
24a28bd7be
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  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)