修改权限展示、增加库存导入导出
This commit is contained in:
+22
-1
@@ -263,7 +263,28 @@ export default {
|
||||
post: async function (params) {
|
||||
return await http.post(this.url,params);
|
||||
}
|
||||
}
|
||||
},
|
||||
import:{
|
||||
url: `${config.API_URL}/inventory.import`,
|
||||
name: "库存导入",
|
||||
post: async function (params) {
|
||||
return await http.post(this.url,params,{'Content-Type': 'multipart/form-data'});
|
||||
}
|
||||
},
|
||||
template:{
|
||||
url: `${config.API_URL}/stock.import.template`,
|
||||
name: "库存导入模版",
|
||||
post: async function (params) {
|
||||
return await http.get(this.url,params,{responseType: 'arraybuffer'});
|
||||
}
|
||||
},
|
||||
export:{
|
||||
url: `${config.API_URL}/inventory.export`,
|
||||
name: "库存导出",
|
||||
post: async function (params) {
|
||||
return await http.post(this.url,params);
|
||||
}
|
||||
},
|
||||
},
|
||||
out:{
|
||||
list:{
|
||||
|
||||
Reference in New Issue
Block a user