diff --git a/src/api/basic/product/udiRelevance.js b/src/api/basic/product/udiRelevance.js index e74c7e3c..e765ac2f 100644 --- a/src/api/basic/product/udiRelevance.js +++ b/src/api/basic/product/udiRelevance.js @@ -8,13 +8,6 @@ export function getUdiInfos(query) { }); } -export function getAllUdiInfos(query) { - return axios({ - url: "/udi/udirel/download", - method: "get", - params: query - }); -} export function getMutiUdiInfos(query) { return axios({ diff --git a/src/api/basic/udiRelevance.js b/src/api/basic/udiRelevance.js index 7a9037e9..8521c26d 100644 --- a/src/api/basic/udiRelevance.js +++ b/src/api/basic/udiRelevance.js @@ -1,188 +1,177 @@ import axios from "@/utils/request"; export function getUdiInfos(query) { - return axios({ - url: "/udi/udirel/filterUdi", - method: "get", - params: query - }); + return axios({ + url: "/udi/udirel/filterUdi", + method: "get", + params: query + }); } -export function getAllUdiInfos(query) { - return axios({ - url: "/udi/udirel/download", - method: "get", - params: query - }); -} export function getMutiUdiInfos(query) { - return axios({ - url: "/udi/udirel/mutil/download", - method: "get", - params: query - }); + return axios({ + url: "/udi/udirel/mutil/download", + method: "get", + params: query + }); } - export function getSmUdiInfos(query) { - return axios({ - url: "/udi/udirel/filterSmUdi", - method: "get", - params: query - }); + return axios({ + url: "/udi/udirel/filterSmUdi", + method: "get", + params: query + }); } export function deletetUdiInfos(query) { - return axios({ - url: "/udi/udirel/deleteById", - method: "post", - data: query - }); + return axios({ + url: "/udi/udirel/deleteById", + method: "post", + data: query + }); } export function updatetUdiInfos(query) { - return axios({ - url: "/udi/udirel/update", - method: "post", - data: query - }); + return axios({ + url: "/udi/udirel/update", + method: "post", + data: query + }); } - - export function checkExitUdi(query) { - return axios({ - url: "/udi/udirel/check/udi", - method: "post", - data: query - }); + return axios({ + url: "/udi/udirel/check/udi", + method: "post", + data: query + }); } - export function combineUdi(query) { - return axios({ - url: "/udi/udirel/revleance", - method: "post", - data: query - }); + return axios({ + url: "/udi/udirel/revleance", + method: "post", + data: query + }); } export function combineAllUdi(query) { - return axios({ - url: "/udi/udirel/combineAll", - method: "get", - params: query - }); + return axios({ + url: "/udi/udirel/combineAll", + method: "get", + params: query + }); } export function modifyRel(query) { - return axios({ - url: "/udi/udirel/modifyRel", - method: "post", - data: query - }); + return axios({ + url: "/udi/udirel/modifyRel", + method: "post", + data: query + }); } export function addErp(query) { - return axios({ - url: "/udi/udirel/addErp", - method: "post", - data: query - }); + return axios({ + url: "/udi/udirel/addErp", + method: "post", + data: query + }); } export function addAllErp(query) { - return axios({ - url: "/udi/udirel/addAllErp", - method: "post", - data: query - }); + return axios({ + url: "/udi/udirel/addAllErp", + method: "post", + data: query + }); } export function updateErpProduct(query) { - return axios({ - url: "/udi/udirel/updateErp", - method: "get", - params: query - }); + return axios({ + url: "/udi/udirel/updateErp", + method: "get", + params: query + }); } export function uploadSmp(query) { - return axios({ - url: "/udiwms/smp/udirl/upload", - method: "post", - data: query - }); + return axios({ + url: "/udiwms/smp/udirl/upload", + method: "post", + data: query + }); } export function disableUdi(query) { - return axios({ - url: "/udi/udirel/disable", - method: "post", - data: query - }); + return axios({ + url: "/udi/udirel/disable", + method: "post", + data: query + }); } export function thirdSysDetail(query) { - return axios({ - url: "/udiwms/udirel/thirdSys/detail", - method: "get", - params: query - }); + return axios({ + url: "/udiwms/udirel/thirdSys/detail", + method: "get", + params: query + }); } export function removeRl(query) { - return axios({ - url: "/udiwms/udirl/thirdSys/remove", - method: "get", - params: query - }); + return axios({ + url: "/udiwms/udirl/thirdSys/remove", + method: "get", + params: query + }); } export function removeDiRl(query) { - return axios({ - url: "/udiwms/udirl/di/remove", - method: "get", - params: query - }); + return axios({ + url: "/udiwms/udirl/di/remove", + method: "get", + params: query + }); } export function sysFilter(query) { - return axios({ - url: "/udiwms/udirel/thirdSys/filter", - method: "get", - params: query - }); + return axios({ + url: "/udiwms/udirel/thirdSys/filter", + method: "get", + params: query + }); } export function spcombie(query) { - return axios({ - url: "/udiwms/udiinfo/spcombie", - method: "get", - params: query - }); + return axios({ + url: "/udiwms/udiinfo/spcombie", + method: "get", + params: query + }); } export function lockStatus(query) { - return axios({ - url: "/udiwms/udirl/lock/status", - method: "post", - data: query - }); + return axios({ + url: "/udiwms/udirl/lock/status", + method: "post", + data: query + }); } export function changeVersion(query) { - return axios({ - url: "/udi/udirel/changeVersion", - method: "post", - data: query - }); + return axios({ + url: "/udi/udirel/changeVersion", + method: "post", + data: query + }); } diff --git a/src/views/inout/DialogSelectRl.vue b/src/views/inout/DialogSelectRl.vue index f82dde29..c73eb67e 100644 --- a/src/views/inout/DialogSelectRl.vue +++ b/src/views/inout/DialogSelectRl.vue @@ -489,7 +489,7 @@