From 7facbed508592e842f9bca085cf0ffaebcbfc571 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 12 十一月 2020 19:22:37 +0800
Subject: [PATCH] 2020-11-12

---
 src/views/menudesign/index.jsx |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/views/menudesign/index.jsx b/src/views/menudesign/index.jsx
index 360391f..4cf1e23 100644
--- a/src/views/menudesign/index.jsx
+++ b/src/views/menudesign/index.jsx
@@ -22,8 +22,9 @@
 const { confirm } = Modal
 const _locale = localStorage.getItem('lang') !== 'en-US' ? antdZhCN : antdEnUS
 
+const MenuForm = asyncComponent(() => import('./menuform'))
+const PrintMenuForm = asyncComponent(() => import('./printmenuform'))
 const Header = asyncComponent(() => import('@/menu/header'))
-const MenuForm = asyncComponent(() => import('@/menu/menuform'))
 const SourceWrap = asyncComponent(() => import('@/menu/modelsource'))
 const MenuShell = asyncComponent(() => import('@/menu/menushell'))
 const BgController = asyncComponent(() => import('@/menu/bgcontroller'))
@@ -296,6 +297,9 @@
           config.FstID = 'BillPrintTemp'
           config.SndID = 'BillPrintTemp'
           config.ParentID = 'BillPrintTemp'
+          config.firstCount = config.firstCount || 5
+          config.everyPCount = config.everyPCount || 5
+          config.lastCount = config.lastCount || ''
         }
 
         this.setState({
@@ -467,6 +471,11 @@
                       initMenuList={this.initMenuList}
                       updateConfig={this.updateConfig}
                     /> : null}
+                    {config && MenuType === 'billPrint' ? <PrintMenuForm
+                      dict={dict}
+                      config={config}
+                      updateConfig={this.updateConfig}
+                    /> : null}
                     {/* 琛ㄥ悕娣诲姞 */}
                     {config ? <TableComponent config={config} updatetable={this.updatetable}/> : null}
                   </Panel>

--
Gitblit v1.8.0