From 1546c7846af8af970687e3c34bfe8f30cd16b6a4 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Thu, 1 Aug 2024 09:15:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8D=AF=E5=93=81=E5=AD=97=E5=85=B8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/product/udiRelevance.js | 19 + src/views/basic/product/drug/drugAdd.vue | 361 ++++++++++++------ src/views/basic/product/drug/drugMaintain.vue | 32 +- src/views/inout/split/codePanel.vue | 6 +- 4 files changed, 282 insertions(+), 136 deletions(-) diff --git a/src/api/basic/product/udiRelevance.js b/src/api/basic/product/udiRelevance.js index 555519a2..d6b5a3d0 100644 --- a/src/api/basic/product/udiRelevance.js +++ b/src/api/basic/product/udiRelevance.js @@ -102,6 +102,7 @@ export function addProduct(query) { data: query }); } + export function addDrug(query) { return axios({ url: "/udi/udirel/addDrug", @@ -109,6 +110,7 @@ export function addDrug(query) { data: query }); } + export function updatetDrug(query) { return axios({ url: "/udi/udirel/updatetDrug", @@ -117,6 +119,23 @@ export function updatetDrug(query) { }); } +export function updateLevelDrug(query) { + return axios({ + url: "/udi/udirel/updateLevelDrug", + method: "post", + data: query + }); +} + + +export function delDrugLevel(query) { + return axios({ + url: "udi/udirel/drug/delLevel", + method: "post", + data: query + }); +} + export function addAllErp(query) { return axios({ diff --git a/src/views/basic/product/drug/drugAdd.vue b/src/views/basic/product/drug/drugAdd.vue index 0f437c2c..b86e6488 100644 --- a/src/views/basic/product/drug/drugAdd.vue +++ b/src/views/basic/product/drug/drugAdd.vue @@ -1,6 +1,6 @@