From 2c687f86a2fdd8bdffc3ac8ce04eca1126646288 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 13 十一月 2023 16:14:54 +0800 Subject: [PATCH] 所有涉及到产品的增加单位回显、收款计划增加金额不能为零、销售明细单未确认状态显示修改 --- src/api/common/standard.js | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/api/common/standard.js b/src/api/common/standard.js index f46e844..57f78df 100644 --- a/src/api/common/standard.js +++ b/src/api/common/standard.js @@ -1,5 +1,5 @@ -// import request from "@/common/untils/request.js" import axios from "axios" +import request from "@/common/untils/request.js" //缂栫爜瑙勮寖鍒楄〃 // export function getCodeStandardList (data) { // return request({ @@ -9,7 +9,21 @@ // }); // } export function getCodeStandardList(data) { - return axios.get(`/api/code/getCodeList`, { + // return axios.get(`/api/code/getCodeList`, { + // params: data + // }) + + return request({ + url: "/api/code/getCodeList", + method: "get", params: data }) } +// 鑾峰彇鑷姩缂栫爜 +export function getAutoCode(data) { + return request({ + url: "/api/code/getAutoCode", + method: "post", + data + }) +} -- Gitblit v1.8.0