Browse Source

关闭支付数量填写

HW 4 years ago
parent
commit
e2a503be15

+ 5 - 4
js/component/manageCenter/components/checkProject/applyPaymentModal.js

@@ -238,7 +238,8 @@ class ApplyPaymentModal extends Component{
                                     rules: [{ required: false, message: '请输入本次申请支付数量!' }],
                                 })(
                                     <InputNumber
-                                        disabled={previewPayInfor.quantity <= 1 || this.state.paymentStatus !== 0}
+                                        // disabled={previewPayInfor.quantity <= 1 || this.state.paymentStatus !== 0}
+                                        disabled={true}
                                         style={{ width: '200px' }}
                                         precision={0}
                                         placeholder="请输入本次申请支付数量"
@@ -265,7 +266,7 @@ class ApplyPaymentModal extends Component{
                                 )}
                             </Form.Item>
                             {/* 0正常 1专利 2软著 3审计 */}
-                            {this.props.projectType !== 2 && !(this.props.projectType === 1 && this.props.patentType === 0)  ? <Form.Item
+                            <Form.Item
                                 {...formItemLayout}
                                 style={{
                                     display:'flex'
@@ -295,7 +296,7 @@ class ApplyPaymentModal extends Component{
                                         style={{ width: '200px' }}
                                         placeholder="请输入本次申请支付金额"/>
                                 )}
-                            </Form.Item> : <div/>}
+                            </Form.Item>
                             <Form.Item
                                 {...formItemLayout}
                                 style={{
@@ -329,4 +330,4 @@ class ApplyPaymentModal extends Component{
 
 const WrappedNormalLoginForm = Form.create()(ApplyPaymentModal);
 
-export default WrappedNormalLoginForm
+export default WrappedNormalLoginForm

+ 5 - 1
js/component/tools.js

@@ -1643,7 +1643,11 @@ module.exports = {
       if (e == 0) {
         return "非特批";
       } else if (e == 1) {
-        return "特批";
+        return "特批待审核";
+      } else if (e == 2) {
+        return "特批通过";
+      } else if (e == 3) {
+        return "特批驳回";
       } else {
         return "未知";
       }

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "afanti",
-  "version": "1.1.67",
+  "version": "1.1.69",
   "description": "",
   "main": "index.js",
   "scripts": {