|
@@ -131,6 +131,7 @@ func StockManagerApiRegistRouters() {
|
131
|
131
|
beego.Router("/api/stock/getgoodinventorywarehouselist", &StockManagerApiController{}, "Get:GetGoodInventoryWarehouseList")
|
132
|
132
|
beego.Router("/api/stock/savestockinentorylist", &StockManagerApiController{}, "Post:SaveStockInventoryList")
|
133
|
133
|
beego.Router("/api/sotck/getdamagedetailbygoodid", &StockManagerApiController{}, "Get:GetDamageDetailByGoodId")
|
|
134
|
+ beego.Router("/api/stock/getinventoryexportlist", &StockManagerApiController{}, "Get:GetInventoryExportList")
|
134
|
135
|
}
|
135
|
136
|
|
136
|
137
|
func (c *StockManagerApiController) CreateWarehouse() {
|
|
@@ -6498,3 +6499,15 @@ func (this *StockManagerApiController) GetDamageDetailByGoodId() {
|
6498
|
6499
|
"damageList": damageList,
|
6499
|
6500
|
})
|
6500
|
6501
|
}
|
|
6502
|
+
|
|
6503
|
+func (this *StockManagerApiController) GetInventoryExportList() {
|
|
6504
|
+
|
|
6505
|
+ orgId := this.GetAdminUserInfo().CurrentOrgId
|
|
6506
|
+
|
|
6507
|
+ list, _ := service.GetInventoryExportList(orgId)
|
|
6508
|
+ manufacturerList, _ := service.GetAllManufacturerList(orgId)
|
|
6509
|
+ this.ServeSuccessJSON(map[string]interface{}{
|
|
6510
|
+ "list": list,
|
|
6511
|
+ "manufacturerList": manufacturerList,
|
|
6512
|
+ })
|
|
6513
|
+}
|