From 264776c2e906e8c4c28e257b7b138ad8c7967058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com> Date: Mon, 9 Aug 2021 17:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E8=A7=88=E5=9B=BE=E7=89=87API?= =?UTF-8?q?=E5=85=A8=E9=83=A8=E6=9B=B4=E6=8D=A2=E6=88=90=E8=87=AA=E5=B7=B1?= =?UTF-8?q?=E5=B0=81=E8=A3=85=E7=9A=84=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lf-previewImage/lf-previewImage.vue | 230 ++++ canteen/main.js | 3 + canteen/pages/purchase/detail.vue | 1040 ++++++++-------- canteen/pages/purchase/receipt.vue | 1067 +++++++++-------- .../lf-previewImage/lf-previewImage.vue | 38 +- 5 files changed, 1310 insertions(+), 1068 deletions(-) create mode 100644 canteen/components/lf-previewImage/lf-previewImage.vue diff --git a/canteen/components/lf-previewImage/lf-previewImage.vue b/canteen/components/lf-previewImage/lf-previewImage.vue new file mode 100644 index 0000000..0143b20 --- /dev/null +++ b/canteen/components/lf-previewImage/lf-previewImage.vue @@ -0,0 +1,230 @@ + + + + + diff --git a/canteen/main.js b/canteen/main.js index 3733b29..7844d01 100644 --- a/canteen/main.js +++ b/canteen/main.js @@ -30,6 +30,9 @@ Vue.component('self-line', selfLine); // 将步骤条组件注入全局 import lfStepbar from '@/components/lf-stepbar/lf-stepbar'; Vue.component('lf-stepbar', lfStepbar); +// 预览图片组件 +import lfPreviewImage from '@/components/lf-previewImage/lf-previewImage'; +Vue.component('lf-previewimage', lfPreviewImage); const app = new Vue({ ...App diff --git a/canteen/pages/purchase/detail.vue b/canteen/pages/purchase/detail.vue index cd0d97f..5513399 100644 --- a/canteen/pages/purchase/detail.vue +++ b/canteen/pages/purchase/detail.vue @@ -1,521 +1,519 @@ - - - - - + + + + + diff --git a/canteen/pages/purchase/receipt.vue b/canteen/pages/purchase/receipt.vue index 65d3df9..0a744ff 100644 --- a/canteen/pages/purchase/receipt.vue +++ b/canteen/pages/purchase/receipt.vue @@ -1,533 +1,534 @@ - - - - - - + + + + + + diff --git a/supplier/components/lf-previewImage/lf-previewImage.vue b/supplier/components/lf-previewImage/lf-previewImage.vue index 9bb782d..0143b20 100644 --- a/supplier/components/lf-previewImage/lf-previewImage.vue +++ b/supplier/components/lf-previewImage/lf-previewImage.vue @@ -1,7 +1,8 @@