dev01 3 månader sedan
förälder
incheckning
e2ea37513a

+ 1 - 2
js/component/common/staffSearch/index.jsx

@@ -85,8 +85,7 @@ class StaffSearch extends Component {
         style={{ width: this.props.width || '200px' }}
         dataSource={options}
         placeholder={this.props.placeholder}
-        value={this.props.valueName}
-        // value={this.state.superior ? this.state.superior : this.props.valueName}
+        value={this.state.superior ? this.state.superior : this.props.valueName}
         onChange={this.httpChange}
         filterOption={true}
         onSelect={this.selectAuto}

+ 2 - 2
js/component/manageCenter/financialManage/account/accountDetails.jsx

@@ -1537,8 +1537,8 @@ class AccountDetails extends Component {
                 />
                 <div className="m_head">
                   {
-                    !!data.sonList && data.sonList.length > 0 && data.sonList.map(it =>
-                      !!it.countStr && <div style={{ width: "100%", marginTop: 8 }}>{it.countStr}</div>
+                    !!data.strList && data.strList.length > 0 && data.strList.map(it =>
+                      <div style={{ width: "100%", marginTop: 8 }}>{it}</div>
                     )
                   }
                   <div style={{ width: "100%", marginTop: 8 }}>审核日志: