From 4e8e3e93ece9d7b9db3d082cce92ba925c8e7ab8 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 18 二月 2025 10:54:27 +0800 Subject: [PATCH] 原材料报检迁移 --- src/api/standard/standardLibrary.js | 87 ++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 84 insertions(+), 3 deletions(-) diff --git a/src/api/standard/standardLibrary.js b/src/api/standard/standardLibrary.js index 914f70b..184ee68 100644 --- a/src/api/standard/standardLibrary.js +++ b/src/api/standard/standardLibrary.js @@ -19,11 +19,11 @@ } // 鍒犻櫎鏍囧噯鏍戠殑灞傜骇 -export function delStandardTree(data) { +export function delStandardTree(query) { return request({ url: "/standardTree/delStandardTree", - method: "post", - data: data, + method: "delete", + params: query, }); } @@ -206,3 +206,84 @@ data: data, }); } + +// 妫�楠岄」澶嶅埗鎺掑簭 +export function copyStandardProductSort(data) { + return request({ + url: "/standardTree/copyStandardProductSort", + method: "post", + data: data, + }); +} + +// 鎻愪氦闇�瑕佸鍒剁殑妫�楠岄」 +export function copyStandardProductOne(data) { + return request({ + url: "/standardTree/copyStandardProductOne", + method: "post", + data: data, + }); +} + +// 澶嶅埗妫�楠岄」 +export function copyStandardProductList(data) { + return request({ + url: "/standardTree/copyStandardProductList", + method: "post", + data: data, + }); +} + +// 鎻愪氦闇�瑕佸鍒剁殑妫�楠岄」 +export function updateStandardProductListBatch(data) { + return request({ + url: "/standardTree/updateStandardProductListBatch", + method: "post", + data: data, + }); +} + +// 鑾峰彇鏍囧噯鏍� +export function selectStandardTreeList2(query) { + return request({ + url: "/standardTree/selectStandardTreeList2", + method: "get", + params: query, + }); +} + +// 鏍囧噯搴撶粦瀹氬巶瀹� +export function selectSupplierAsk(data) { + return request({ + url: "/standardTree/selectSupplierAsk", + method: "post", + data: data, + }); +} + +// 鏂板鏍囧噯搴撶粦瀹氬巶瀹� +export function addProductSupplierAsk(data) { + return request({ + url: "/standardTree/addProductSupplierAsk", + method: "post", + data: data, + }); +} + +// 淇敼鏍囧噯搴撶粦瀹氬巶瀹� +export function updateProductSupplierAsk(data) { + return request({ + url: "/standardTree/updateProductSupplierAsk", + method: "post", + data: data, + }); +} + +// 鍒犻櫎鏍囧噯搴撶粦瀹氬巶瀹� +export function deleteProductSupplierAsk(query) { + return request({ + url: "/standardTree/deleteProductSupplierAsk", + method: "delete", + params: query, + }); +} -- Gitblit v1.9.3