From f0bee3de48c1e039c0e07e729db5d9fa4f6b9a21 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 06 十一月 2024 15:51:15 +0800 Subject: [PATCH] 2024-11-06 --- src/menu/components/module/invoice/verifycard/callbackcustomscript/index.jsx | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/menu/components/module/invoice/verifycard/callbackcustomscript/index.jsx b/src/menu/components/module/invoice/verifycard/callbackcustomscript/index.jsx index 6eb1a0d..d18ce3e 100644 --- a/src/menu/components/module/invoice/verifycard/callbackcustomscript/index.jsx +++ b/src/menu/components/module/invoice/verifycard/callbackcustomscript/index.jsx @@ -71,7 +71,7 @@ let pass = checkSQL(values.sql, 'customscript') - if (!pass) return + if (!pass && !skip) return let sql = ` /* 绯荤粺瀛楁 */ @@ -195,7 +195,7 @@ } render() { - const { systemScripts, type } = this.props + const { systemScripts, type, cbTable } = this.props const { getFieldDecorator } = this.props.form const { editItem, skip } = this.state const formItemLayout = { @@ -213,8 +213,13 @@ <Form {...formItemLayout} className="verify-form"> <Row gutter={24}> {!type ? <Col span={8}> + <Form.Item label="鍥炶皟琛ㄥ悕" style={{margin: 0, whiteSpace: 'nowrap'}}> + {cbTable || ''} + </Form.Item> + </Col> : null} + {!type ? <Col span={8}> <Form.Item label="鎶ラ敊瀛楁" style={{margin: 0, whiteSpace: 'nowrap'}}> - errorcode锛堝鍔犲悗缂�NT琛ㄧず鏁版嵁涓嶅洖婊氾紝濡侲NT銆丯NT銆丗NT銆丯MNT銆丆NT銆�-2NT锛�, retmsg + errorcode, retmsg </Form.Item> </Col> : null} {!type ? <Col span={24} className="sqlfield"> @@ -248,7 +253,6 @@ filterOption={(input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0} onChange={this.selectScript} > - <Select.Option key="default" value="defaultSql">榛樿sql</Select.Option> {systemScripts.map((option, i) => <Select.Option key={i} value={option.value}>{option.name}</Select.Option> )} -- Gitblit v1.8.0