Browse Source

fix:发票管理导出添加账套,页面修改样式

ly 11 months ago
parent
commit
f5055b2b73

+ 1 - 2
src/main/java/cn/ezhizao/project/business/invoice/controller/BizInvoiceController.java

@@ -92,6 +92,7 @@ public class BizInvoiceController extends BaseController {
     @Log(title = "开票管理导出", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, BizInvoice bizInvoice) throws NoSuchFieldException, IllegalAccessException {
+        bizInvoice.setTenantId(getTenantId());
         List<BizInvoice> list = bizInvoiceService.getList(bizInvoice);
         ExcelUtil<BizInvoice> util = new ExcelUtil<BizInvoice>(BizInvoice.class);
         util.exportExcel(response, list, "开票管理数据");
@@ -231,7 +232,6 @@ public class BizInvoiceController extends BaseController {
             case 0:
                 //待提交(页面上的保存)
                 bizInvoiceRecord.setInvoiceStatus(0);
-                bizInvoiceRecord.setRemark(bizInvoice.getRemark());
                 break;
             case 1:
                 //页面上的提交 ,状态叫待开票
@@ -245,7 +245,6 @@ public class BizInvoiceController extends BaseController {
             case 3:
                 //审核通过, 状态时已开票
                 bizInvoiceRecord.setInvoiceStatus(3);
-                bizInvoiceRecord.setRemark(bizInvoice.getInvoiceRemark());
                 break;
             case 4:
                 //退回