|
@@ -104,11 +104,11 @@ func DownLoadPlan(c *gin.Context, apictx *ApiSession) (interface{}, error) {
|
|
|
Query: repo.Map{"_id": produceId},
|
|
|
}, &produce)
|
|
|
if found {
|
|
|
- billExcel := NewProduceBill(f)
|
|
|
- billExcel.Content = &produce
|
|
|
+ produceExcel := NewProduceBill(f)
|
|
|
+ produceExcel.Content = &produce
|
|
|
//设置对应的数据
|
|
|
- billExcel.Draws()
|
|
|
- billExcel.Offset += 15
|
|
|
+ produceExcel.Draws()
|
|
|
+ produceExcel.Offset += 15
|
|
|
}
|
|
|
|
|
|
}
|