Commit d05845e5 by wong.peiyi

转单申请添加部门信息

parent f4c56687
...@@ -48,6 +48,10 @@ export const reqTransOrganizations = async (global_domain_config, params) => { ...@@ -48,6 +48,10 @@ export const reqTransOrganizations = async (global_domain_config, params) => {
return await GetRequest(global_domain_config, getUrlParams('/authorized_inventory/search', params)) return await GetRequest(global_domain_config, getUrlParams('/authorized_inventory/search', params))
} }
export const reqOrgDepartments = async (global_domain_config, params) => {
return await GetRequest(global_domain_config, getUrlParams('/sale/sale_relationship/search', params))
}
// 获取客户名称 params={access_token:'', org_code:'', seller_code:''} // 获取客户名称 params={access_token:'', org_code:'', seller_code:''}
export function requestTransSurgeryHospital(params) { export function requestTransSurgeryHospital(params) {
return (dispatch, getState) => { return (dispatch, getState) => {
......
...@@ -1610,9 +1610,7 @@ class EquipConsuPage extends Component { ...@@ -1610,9 +1610,7 @@ class EquipConsuPage extends Component {
if(res && res.error_code === 0){ if(res && res.error_code === 0){
const value = res.data.profile_value const value = res.data.profile_value
sysValues[code] = isNaN(value) ? value : Number(value) sysValues[code] = isNaN(value) ? value : Number(value)
this.setState({ sysValues }, () => { this.setState({ sysValues })
console.log(sysValues)
})
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment