From 77aac213172a049141f488bde60e93a9964bd462 Mon Sep 17 00:00:00 2001 From: lewis <604446095@qq.com> Date: Sun, 13 Apr 2025 17:06:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=89=AB=E6=8F=8F=E5=95=86?= =?UTF-8?q?=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 7 ++ package.json | 1 + src/api/purchase_product_offer.ts | 8 ++ src/views/order/sort_list/index.vue | 5 + src/views/order/sort_list/scan.vue | 170 ++++++++++++++++++++++++++++ 5 files changed, 191 insertions(+) create mode 100644 src/views/order/sort_list/scan.vue diff --git a/package-lock.json b/package-lock.json index 9b041c737..e39276e68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,7 @@ "moment": "^2.30.1", "nprogress": "^0.2.0", "pinia": "^2.0.14", + "tracking": "^1.1.3", "vditor": "^3.9.9", "vue": "^3.5.12", "vue-clipboard3": "^2.0.0", @@ -8028,6 +8029,12 @@ "node": ">=0.10.0" } }, + "node_modules/tracking": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/tracking/-/tracking-1.1.3.tgz", + "integrity": "sha512-XS9CVMzjp6AHT5e7oRamU8U5Lz3k6BIRTkBVs0XqepwgwXQ4kbbmxrWzTG2v6RMvJC/9MKuSBQiX/5hwsQFcCQ==", + "license": "BSD" + }, "node_modules/traverse": { "version": "0.6.8", "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.8.tgz", diff --git a/package.json b/package.json index e393e8bd0..356b1c5b5 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "moment": "^2.30.1", "nprogress": "^0.2.0", "pinia": "^2.0.14", + "tracking": "^1.1.3", "vditor": "^3.9.9", "vue": "^3.5.12", "vue-clipboard3": "^2.0.0", diff --git a/src/api/purchase_product_offer.ts b/src/api/purchase_product_offer.ts index ca339d45e..81edd8d84 100644 --- a/src/api/purchase_product_offer.ts +++ b/src/api/purchase_product_offer.ts @@ -63,3 +63,11 @@ export function apiPurchaseProductOffersetStoreroomInfoTwo(params: any) { export function apiPurchaseProductOfferDetail(params: any) { return request.get({ url: '/purchase_product_offer/purchaseproductoffer/detail', params }) } + +// 上传商品图片 +export function apiPurchaseProductOfferUpload(params: any) { + return request.post({ + url: '/purchase_product_offer/purchaseproductoffer/upload', + params + }) +} \ No newline at end of file diff --git a/src/views/order/sort_list/index.vue b/src/views/order/sort_list/index.vue index 8e215fb37..c29607c09 100644 --- a/src/views/order/sort_list/index.vue +++ b/src/views/order/sort_list/index.vue @@ -17,6 +17,11 @@ + + 扫描商品 +
diff --git a/src/views/order/sort_list/scan.vue b/src/views/order/sort_list/scan.vue new file mode 100644 index 000000000..b0cf1693c --- /dev/null +++ b/src/views/order/sort_list/scan.vue @@ -0,0 +1,170 @@ + + + + + \ No newline at end of file