From ef9674e9be8baa57b6abf7fb6ea7ab141ef4ac79 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 17:04:38 +0800 Subject: [PATCH] 增加销售单价,成本单价,毛利,毛利率之间的数据关系+增加产品选择列表的删除操作 --- src/api/common/address.js | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/api/common/address.js b/src/api/common/address.js index 1a22d46..66e2460 100644 --- a/src/api/common/address.js +++ b/src/api/common/address.js @@ -1,9 +1,16 @@ // import request from "@/common/untils/request.js" import axios from "axios" +import request from "@/common/untils/request"; // 鑾峰彇鍩庡競鍒楄〃 export const getCityList = async (data) => { - return await axios.get(`/api/city/list`, { + return await request({ + url: "/api/city/list", + method: "get", params: data }) + // + // return await axios.get(`/api/city/list`, { + // params: data + // }) } -- Gitblit v1.8.0