|
@@ -353,23 +353,22 @@ func (b *ProductBillExcel) FormatToEmpty(str *string) {
|
|
|
|
|
|
}
|
|
|
|
|
|
-func (b *ProductBillExcel) PrintPurchType() string {
|
|
|
- return "process"
|
|
|
-}
|
|
|
-
|
|
|
-func (b *ProductBillExcel) SetContent(content *model.ProductBill) {
|
|
|
- b.Content = content
|
|
|
+func (b *ProductBillExcel) SetContent(content interface{}) {
|
|
|
+ b.Content = content.(*model.ProductBill)
|
|
|
|
|
|
}
|
|
|
func (b *ProductBillExcel) SetTitle(title string) {
|
|
|
b.Title = title
|
|
|
|
|
|
}
|
|
|
-func (b *ProductBillExcel) SetOffset(offset int) {
|
|
|
- b.Offset = offset
|
|
|
-
|
|
|
+func (b *ProductBillExcel) SetRow(row int) {
|
|
|
+ b.Row = row
|
|
|
}
|
|
|
-func (b *ProductBillExcel) SetSignatures(sign []*model.Signature) {
|
|
|
- b.Signatures = sign
|
|
|
+func (b *ProductBillExcel) GetRow() int {
|
|
|
+ return b.Row
|
|
|
+}
|
|
|
+
|
|
|
+func (b *ProductBillExcel) SetSignatures(sign interface{}) {
|
|
|
+ b.Signatures = sign.([]*model.Signature)
|
|
|
|
|
|
}
|