增加客户维护

This commit is contained in:
龙运模
2024-10-10 23:17:08 +08:00
parent deb73d972c
commit febd3ae210
6 changed files with 186 additions and 12 deletions
+30
View File
@@ -161,6 +161,36 @@ export default {
},
}
},
customer:{
add: {
url: `${config.API_URL}/customer.add`,
name: "客户新增配置",
post: async function (data) {
return await http.post(this.url, data);
},
},
delete: {
url: `${config.API_URL}/customer.delete`,
name: "客户删除",
post: async function (data) {
return await http.post(this.url, data);
},
},
status:{
url: `${config.API_URL}/customer.status`,
name: "客户状态",
post: async function (data) {
return await http.post(this.url, data);
},
},
list: {
url: `${config.API_URL}/customer.list`,
name: "客户列表",
get: async function (data) {
return await http.post(this.url, data);
},
},
},
bom:{
list:{
url: `${config.API_URL}/bom.list`,