From ef9674e9be8baa57b6abf7fb6ea7ab141ef4ac79 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 17:04:38 +0800 Subject: [PATCH] 增加销售单价,成本单价,毛利,毛利率之间的数据关系+增加产品选择列表的删除操作 --- src/api/common/standard.js | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/api/common/standard.js b/src/api/common/standard.js index f46e844..516fd3c 100644 --- a/src/api/common/standard.js +++ b/src/api/common/standard.js @@ -1,15 +1,18 @@ -// import request from "@/common/untils/request.js" import axios from "axios" -//缂栫爜瑙勮寖鍒楄〃 -// export function getCodeStandardList (data) { -// return request({ -// url: "/api/code/getCodeList", -// method: "post", -// data, -// }); -// } +import request from "@/common/untils/request.js" export function getCodeStandardList(data) { - return axios.get(`/api/code/getCodeList`, { + return request({ + url: "/api/code/getCodeList", + method: "get", params: data }) } +// 鑾峰彇鑷姩缂栫爜 +export function getAutoCode(data) { + return request({ + url: "/api/code/getAutoCode", + method: "post", + IsHeader:true, + data + }) +} -- Gitblit v1.8.0