bill.go 517 B

123456789101112131415161718192021222324252627282930
  1. package controllers
  2. import (
  3. "wb/ctrl"
  4. "wb/ii"
  5. )
  6. type BillControllers struct {
  7. ctrl.ItemController
  8. }
  9. func (this *BillControllers) NestPrepare() {
  10. this.CtxItemInfo, _ = ii.ItemInfoMap["bill"]
  11. }
  12. func (this *BillControllers) UiList() {
  13. this.TplName = "bill/list.tpl"
  14. }
  15. func (this *BillControllers) UiAdd() {
  16. this.TplName = "bill/add.tpl"
  17. }
  18. func (this *BillControllers) UiPaymentAdd() {
  19. this.TplName = "bill/payment.tpl"
  20. }
  21. func (this *BillControllers) UiCreateAdd() {
  22. this.TplName = "bill/createred.tpl"
  23. }