From e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 17 十月 2022 17:57:34 +0800
Subject: [PATCH] 2022-10-17

---
 src/templates/zshare/verifycard/voucherform/index.jsx |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/templates/zshare/verifycard/voucherform/index.jsx b/src/templates/zshare/verifycard/voucherform/index.jsx
index 6341055..7dd3ba2 100644
--- a/src/templates/zshare/verifycard/voucherform/index.jsx
+++ b/src/templates/zshare/verifycard/voucherform/index.jsx
@@ -6,7 +6,6 @@
 
 class UniqueForm extends Component {
   static propTpyes = {
-    dict: PropTypes.object,         // 瀛楀吀椤�
     voucherobj: PropTypes.object,   // 鍑瘉淇℃伅
     voucher: PropTypes.array,       // 琛ㄥ崟
     columns: PropTypes.array,       // 琛ㄥ崟
@@ -167,7 +166,7 @@
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.select'] + '涓荤被鍨�!'
+                    message: '璇烽�夋嫨涓荤被鍨�!'
                   }
                 ]
               })(
@@ -181,13 +180,13 @@
             </Form.Item>
           </Col>
           <Col span={11}>
-            <Form.Item label={'鍑瘉绫诲瀷'}>
+            <Form.Item label="鍑瘉绫诲瀷">
               {getFieldDecorator('VoucherType', {
                 initialValue: voucherobj.VoucherType || (this.state.voucher[0] && this.state.voucher[0].ID) || '',
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.input'] + '鍑瘉绫诲瀷!'
+                    message: '璇烽�夋嫨鍑瘉绫诲瀷!'
                   }
                 ]
               })(
@@ -206,13 +205,13 @@
             </Form.Item>
           </Col>
           <Col span={11}>
-            <Form.Item label={'鍑瘉鏍囪瘑'}>
+            <Form.Item label="鍑瘉鏍囪瘑">
               {getFieldDecorator('VoucherTypeOne', {
                 initialValue: voucherobj.VoucherTypeOne || (this.state.voucherDetail[0] && this.state.voucherDetail[0].ModularDetailCode) || '',
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.input'] + '鍑瘉鏍囪瘑!'
+                    message: '璇烽�夋嫨鍑瘉鏍囪瘑!'
                   }
                 ]
               })(
@@ -231,13 +230,13 @@
             </Form.Item>
           </Col>
           <Col span={11}>
-            <Form.Item label={'鍏宠仈瀛楁'}>
+            <Form.Item label="鍏宠仈瀛楁">
               {getFieldDecorator('linkField', {
                 initialValue: voucherobj.linkField || (columns[0] && columns[0].field) || '',
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.input'] + '鍏宠仈瀛楁!'
+                    message: '璇烽�夋嫨鍏宠仈瀛楁!'
                   }
                 ]
               })(

--
Gitblit v1.8.0