From 22f9e1efd4c77a2c665d2e3e2c84c25e6ae775d4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 17:07:01 +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