From f4b9504cad034ddcdef21c2081d14a4984fcd2d3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 15 七月 2024 17:14:48 +0800 Subject: [PATCH] 2024-07-15 --- src/menu/components/share/actioncomponent/index.jsx | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/menu/components/share/actioncomponent/index.jsx b/src/menu/components/share/actioncomponent/index.jsx index 96a9190..77d657a 100644 --- a/src/menu/components/share/actioncomponent/index.jsx +++ b/src/menu/components/share/actioncomponent/index.jsx @@ -20,6 +20,7 @@ const VerifyExcelIn = asyncSpinComponent(() => import('@/templates/sharecomponent/actioncomponent/verifyexcelin')) const VerifyExcelOut = asyncSpinComponent(() => import('@/templates/sharecomponent/actioncomponent/verifyexcelout')) const VerifyMegvii = asyncSpinComponent(() => import('@/templates/sharecomponent/actioncomponent/verifymegvii')) +const VerifyPay = asyncSpinComponent(() => import('@/templates/sharecomponent/actioncomponent/verifypay')) class ActionComponent extends Component { static propTpyes = { @@ -162,6 +163,8 @@ addButton = (cardId, element) => { if (cardId !== this.props.config.uuid) return + delete element.eleType + const { actionlist } = this.state this.setState({actionlist: [...actionlist, element]}) @@ -522,7 +525,7 @@ verifySubmit = () => { const { config } = this.props const { card } = this.state - + this.verifyRef.handleConfirm().then(res => { let _actionlist = fromJS(this.state.actionlist).toJS() _actionlist = _actionlist.filter(item => !item.origin || item.uuid === card.uuid) @@ -696,6 +699,12 @@ columns={config.columns} wrappedComponentRef={(inst) => this.verifyRef = inst} /> + } else if (card.payMode === 'system') { + return <VerifyPay + card={card} + columns={config.columns} + wrappedComponentRef={(inst) => this.verifyRef = inst} + /> } } -- Gitblit v1.8.0