增加客户维护
This commit is contained in:
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user