Commit 9558debf by Denglingling

增加查询【转单行数据】的查询参数;

parent 75dcb8df
...@@ -124,7 +124,7 @@ export function requestGetAllTrans(params) { ...@@ -124,7 +124,7 @@ export function requestGetAllTrans(params) {
} }
} }
// 转单订单-行表查询 params: {access_token: '', order_number: ''} // 转单订单-行表查询 params: {access_token: '', order_number: '', destination_surgery_collect_number: '', source_surgery_order_number: ''}
export const requestGetLineFormTrans = async (global_domain_config, params) => { export const requestGetLineFormTrans = async (global_domain_config, params) => {
return await GetRequest(global_domain_config, getUrlParams('/surgery/trans_line/search', params)) return await GetRequest(global_domain_config, getUrlParams('/surgery/trans_line/search', params))
} }
......
...@@ -200,9 +200,13 @@ class LineOrderPage extends Component { ...@@ -200,9 +200,13 @@ class LineOrderPage extends Component {
that.changeSubLoding(true) that.changeSubLoding(true)
let params = { let params = {
access_token: props.token, access_token: props.token,
order_number: supData.order_number order_number: supData.order_number,
destination_surgery_collect_number: supData.destination_surgery_collect_number,
source_surgery_order_number: supData.source_surgery_order_number
} }
console.log('params----------', params)
let conResult = await requestGetLineFormTrans(props.global_domain_config, params) let conResult = await requestGetLineFormTrans(props.global_domain_config, params)
console.log('conResult----------', conResult)
if(conResult.error_code == 0) { if(conResult.error_code == 0) {
that.changeSubLoding(false) that.changeSubLoding(false)
// 成功 // 成功
......
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