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 @@ + + + + +