From b7a65bded34f23beb3d37bbea7c7c23be02d4920 Mon Sep 17 00:00:00 2001
From: chenhc <2369838784@qq.com>
Date: Tue, 27 Feb 2024 15:50:47 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E8=80=97=E6=9D=90=E5=AD=97=E5=85=B8?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/basic/product/udiRelevance.js | 8 ++
src/views/basic/product/product.vue | 30 ++++-
src/views/basic/product/productAdd.vue | 177 +++++++++++++++++++++++++
3 files changed, 214 insertions(+), 1 deletion(-)
create mode 100644 src/views/basic/product/productAdd.vue
diff --git a/src/api/basic/product/udiRelevance.js b/src/api/basic/product/udiRelevance.js
index 516b0c1d..78141f69 100644
--- a/src/api/basic/product/udiRelevance.js
+++ b/src/api/basic/product/udiRelevance.js
@@ -95,6 +95,14 @@ export function addErp(query) {
});
}
+export function addProduct(query) {
+ return axios({
+ url: "/udi/udirel/addProduct",
+ method: "post",
+ data: query
+ });
+}
+
export function addAllErp(query) {
return axios({
url: "/udi/udirel/addAllErp",
diff --git a/src/views/basic/product/product.vue b/src/views/basic/product/product.vue
index 92f90111..ba533116 100644
--- a/src/views/basic/product/product.vue
+++ b/src/views/basic/product/product.vue
@@ -298,6 +298,10 @@
>关联添加
+ 新增产品
+
@@ -1622,6 +1626,22 @@
:isImportUdi="isImportUdi"
>
+
+
+
+
+
+
{
@@ -2475,6 +2502,7 @@ export default {
components: {
ProductSingleEdit,
ProductEdit,
+ ProductAdd,
selectUdi,
selectErp,
selectLocalUdi,
diff --git a/src/views/basic/product/productAdd.vue b/src/views/basic/product/productAdd.vue
new file mode 100644
index 00000000..8dacf83d
--- /dev/null
+++ b/src/views/basic/product/productAdd.vue
@@ -0,0 +1,177 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+ 取消
+
+
+
+
+
+
+