|
@ -169,7 +169,8 @@ import request,{host} from '@/common/request' |
|
|
success: async res=>{ |
|
|
success: async res=>{ |
|
|
if(res.confirm){ |
|
|
if(res.confirm){ |
|
|
var res=await request("/api/WarehouseManageApi/delete",{ |
|
|
var res=await request("/api/WarehouseManageApi/delete",{ |
|
|
params:{id: this.list[index].warehouseId} |
|
|
method:"delete", |
|
|
|
|
|
params:{id: this.list[index].id} |
|
|
}) |
|
|
}) |
|
|
if(res.statu){ |
|
|
if(res.statu){ |
|
|
if(this.list.length>10){ |
|
|
if(this.list.length>10){ |
|
|