|
@@ -1,5 +1,5 @@
|
|
|
import React,{Component} from 'react';
|
|
|
-import {Button, Form, Input, message, Modal, Spin} from "antd";
|
|
|
+import {Button, Form, Input, message, Modal, Radio, Spin} from "antd";
|
|
|
import propType from 'prop-types';
|
|
|
import $ from "jquery";
|
|
|
|
|
@@ -48,8 +48,8 @@ class ApplyPaymentModal extends Component{
|
|
|
loading: true
|
|
|
})
|
|
|
values.tid = this.props.tid;
|
|
|
- if(this.props.nodeId){ //催款
|
|
|
- values.nodeId = this.props.nodeId;
|
|
|
+ if(this.props.previewPayInfor.nodeId){ //催款
|
|
|
+ values.nodeId = this.props.previewPayInfor.nodeId;
|
|
|
values.chooseType = 1; //支付选择 0第三方 1催款
|
|
|
values.tcpid = this.props.previewPayInfor.cid; //第三方机构id
|
|
|
}else{
|
|
@@ -235,6 +235,26 @@ class ApplyPaymentModal extends Component{
|
|
|
<Input style={{ width: '200px' }} placeholder="请输入备注" type={'textarea'}/>
|
|
|
)}
|
|
|
</Form.Item>
|
|
|
+ {/* 0正常 1专利 2软著 3审计 */}
|
|
|
+ {
|
|
|
+ this.props.projectType === 3 && this.props.patentType === 3 ?
|
|
|
+ <Form.Item
|
|
|
+ {...formItemLayout}
|
|
|
+ style={{
|
|
|
+ display:'flex'
|
|
|
+ }}
|
|
|
+ label="支付状态:"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('paymentStatus', {
|
|
|
+ rules: [{ required: true, message: '请选择支付状态!' }],
|
|
|
+ })(
|
|
|
+ <Radio.Group>
|
|
|
+ <Radio value={0}>半款</Radio>
|
|
|
+ <Radio value={1}>全款</Radio>
|
|
|
+ </Radio.Group>
|
|
|
+ )}
|
|
|
+ </Form.Item> : <div/>
|
|
|
+ }
|
|
|
<Form.Item>
|
|
|
<Button type="primary" htmlType="submit">
|
|
|
确定申请支付
|