|
@@ -262,6 +262,9 @@ const Organization = Form.create()(React.createClass({
|
|
|
retrialFinanceId: _this.state.theTypes3
|
|
|
? _this.state.theTypes3
|
|
|
: _this.state.reviewerId, // 复审人
|
|
|
+ expenseFinanceId: _this.state.theTypes4
|
|
|
+ ? _this.state.theTypes4
|
|
|
+ : _this.state.accountrId, // 报销审核人
|
|
|
superId: _this.state.editSuperId, //上级组织
|
|
|
status: _this.state.editStatus, //组织状态
|
|
|
remarks: remarksText, //组织职能说明
|
|
@@ -313,6 +316,9 @@ const Organization = Form.create()(React.createClass({
|
|
|
retrialFinanceId: _this.state.theTypes3
|
|
|
? _this.state.theTypes3
|
|
|
: _this.state.reviewerId, // 复审人
|
|
|
+ expenseFinanceId: _this.state.theTypes4
|
|
|
+ ? _this.state.theTypes4
|
|
|
+ : _this.state.accountrId, // 报销审核人
|
|
|
superId: oldId, //上级组织
|
|
|
status: _this.state.editStatus, //组织状态
|
|
|
remarks: remarksText, //组织职能说明
|
|
@@ -367,6 +373,9 @@ const Organization = Form.create()(React.createClass({
|
|
|
retrialFinanceId: _this.state.theTypes3
|
|
|
? _this.state.theTypes3
|
|
|
: _this.state.reviewerId, // 复审人
|
|
|
+ expenseFinanceId: _this.state.theTypes4
|
|
|
+ ? _this.state.theTypes4
|
|
|
+ : _this.state.accountrId, // 报销审核人
|
|
|
superId: _this.state.editSuperId, //上级组织
|
|
|
status: _this.state.editStatus, //组织状态
|
|
|
province: _this.state.province,//省份
|
|
@@ -418,6 +427,9 @@ const Organization = Form.create()(React.createClass({
|
|
|
retrialFinanceId: _this.state.theTypes3
|
|
|
? _this.state.theTypes3
|
|
|
: _this.state.reviewerId, // 复审人
|
|
|
+ expenseFinanceId: _this.state.theTypes4
|
|
|
+ ? _this.state.theTypes4
|
|
|
+ : _this.state.accountrId, // 报销审核人
|
|
|
superId: oldId, //上级组织
|
|
|
status: _this.state.editStatus, //组织状态
|
|
|
remarks: remarksText, //组织职能说明
|
|
@@ -483,6 +495,9 @@ const Organization = Form.create()(React.createClass({
|
|
|
financeId: thisdata.financeId, // 财务负责人
|
|
|
approvalAid: thisdata.approvalAid, // 审核人
|
|
|
reviewerId: thisdata.retrialFinanceId, // 财务复审
|
|
|
+ reviewerName: thisdata.retrialFinanceName,
|
|
|
+ accountrId: thisdata.expenseFinanceId, // 报销审核
|
|
|
+ accountrName: thisdata.expenseFinanceName,
|
|
|
hideSign: thisdata.hideSign,//显示标识
|
|
|
approval: thisdata.approval, // 特批审核
|
|
|
});
|
|
@@ -497,6 +512,8 @@ const Organization = Form.create()(React.createClass({
|
|
|
managerIdOrganizationId: thisdata.managerId, //负责人idmanagerName
|
|
|
reviewerId: thisdata.retrialFinanceId, // 财务复审
|
|
|
reviewerName: thisdata.retrialFinanceName,
|
|
|
+ accountrId: thisdata.expenseFinanceId, // 报销审核
|
|
|
+ accountrName: thisdata.expenseFinanceName,
|
|
|
editType: thisdata.type, //组织类型
|
|
|
editStatus: thisdata.status, //组织状态
|
|
|
province: thisdata.province, //省份
|
|
@@ -706,6 +723,23 @@ const Organization = Form.create()(React.createClass({
|
|
|
theTypes3: theType
|
|
|
})
|
|
|
},
|
|
|
+ selectAuto4(value, options) {
|
|
|
+ this.setState({
|
|
|
+ accountrId: value
|
|
|
+ })
|
|
|
+ let theType = '';
|
|
|
+ let contactLists = this.state.customerArr || [];
|
|
|
+ if (value) {
|
|
|
+ contactLists.map(function (item) {
|
|
|
+ if (item.name == value.toString()) {
|
|
|
+ theType = item.id;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.setState({
|
|
|
+ theTypes4: theType
|
|
|
+ })
|
|
|
+ },
|
|
|
//失去焦点时
|
|
|
blurChange(e) {
|
|
|
let theType = '';
|
|
@@ -758,6 +792,14 @@ const Organization = Form.create()(React.createClass({
|
|
|
reviewerName: e
|
|
|
})
|
|
|
},
|
|
|
+ httpChange4(e) {
|
|
|
+ if (e.length >= 1) {
|
|
|
+ this.supervisor(e);
|
|
|
+ }
|
|
|
+ this.setState({
|
|
|
+ accountrName: e
|
|
|
+ })
|
|
|
+ },
|
|
|
addClick() {
|
|
|
this.state.DepN = '';//组织编号
|
|
|
this.state.theTypes = '';
|
|
@@ -769,6 +811,8 @@ const Organization = Form.create()(React.createClass({
|
|
|
this.state.approvalName = "";//审核人清零
|
|
|
this.state.reviewerId = "";//复审人
|
|
|
this.state.reviewerName = "";//复审人
|
|
|
+ this.state.accountrId = "";//报销审核人
|
|
|
+ this.state.accountrName = "";//报销审核人
|
|
|
this.state.approvalName = ""; //特批审核人
|
|
|
this.state.typeOrganization = undefined; //组织类型清零
|
|
|
this.state.upOrganization = undefined;//上级组织清零
|
|
@@ -1297,6 +1341,31 @@ const Organization = Form.create()(React.createClass({
|
|
|
<FormItem
|
|
|
labelCol={{ span: 7 }}
|
|
|
wrapperCol={{ span: 12 }}
|
|
|
+ label="报销审核人"
|
|
|
+ >
|
|
|
+ <AutoComplete
|
|
|
+ className="certain-category-search"
|
|
|
+ dropdownClassName="certain-category-search-dropdown"
|
|
|
+ dropdownMatchSelectWidth={false}
|
|
|
+ dataSource={options}
|
|
|
+ placeholder="输入名称"
|
|
|
+ value={this.state.accountrName}
|
|
|
+ onChange={this.httpChange4}
|
|
|
+ filterOption={true}
|
|
|
+ // onBlur={this.blurChange}
|
|
|
+ onSelect={this.selectAuto4}
|
|
|
+ // style={{ width: '95%' }}
|
|
|
+ >
|
|
|
+ <Input />
|
|
|
+ </AutoComplete>
|
|
|
+ {/* <span className="mandatory" style={{color:'red',marginLeft:'5px'}}>*</span> */}
|
|
|
+ </FormItem>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div className="clearfix">
|
|
|
+ <FormItem
|
|
|
+ labelCol={{ span: 7 }}
|
|
|
+ wrapperCol={{ span: 12 }}
|
|
|
label="选择作息时间类型"
|
|
|
>
|
|
|
<Select placeholder="请选择作息时间类型"
|