From e469a34f26637e177854b960bbd35c900ce0daff Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 30 一月 2023 15:50:34 +0800 Subject: [PATCH] 2023-01-30 --- src/tabviews/custom/components/module/voucher/index.jsx | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/tabviews/custom/components/module/voucher/index.jsx b/src/tabviews/custom/components/module/voucher/index.jsx index c7cfe01..a36f5ef 100644 --- a/src/tabviews/custom/components/module/voucher/index.jsx +++ b/src/tabviews/custom/components/module/voucher/index.jsx @@ -27,7 +27,9 @@ charType: '', charInt: '', vouDate: null, - book: null + book: null, + username: sessionStorage.getItem('User_Name'), + change: false } UNSAFE_componentWillMount () { @@ -196,7 +198,7 @@ {remark: '鎻愮幇', subjectscode: '1001', subjectsname: '搴撳瓨鐜伴噾', debtor: 124, creditor: ''}, {remark: '璐叆鍥哄畾璧勪骇', subjectscode: '1001', subjectsname: '搴撳瓨鐜伴噾', debtor: '', creditor: 124}, {remark: '杞粨閿�鍞垚鏈�', subjectscode: '1001', subjectsname: '搴撳瓨鐜伴噾', debtor: -524, creditor: ''}, - {remark: '鎻愮幇', subjectscode: '1001', subjectsname: '搴撳瓨鐜伴噾', debtor: 34, creditor: ''}, + {remark: '鎻愮幇', subjectscode: '1001', subjectsname: '搴撳瓨鐜伴噾', debtor: 34, creditor: '', i: Math.random()}, ] this.setState({ @@ -217,7 +219,7 @@ } render() { - const { config, disableSave, disableAdd, typeOptions, charType, charInt, data, vouDate } = this.state + const { config, disableSave, disableAdd, typeOptions, charType, charInt, data, vouDate, username } = this.state return ( <div className="menu-voucher-wrap" style={config.style}> @@ -265,6 +267,7 @@ </div> <VoucherTable config={config} data={data}/> </div> : null} + <div className="user">鍒跺崟浜猴細{username}</div> </div> ) } -- Gitblit v1.8.0