Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangzhonghua
/
BoneHouse_Business_APP
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2970a610
authored
Aug 10, 2020
by
Denglingling
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化【消耗确认】联动信息选择后,查询出联动字段只有一条数据时,给联动字段赋值这条数据;
parent
30919775
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
112 additions
and
52 deletions
app/action/EquipAction.js
app/containers/equipConsu/EquipConsuPage.js
app/containers/quickOrder/QuickOrderPage.js
app/action/EquipAction.js
View file @
2970a610
...
@@ -67,6 +67,10 @@ export function requestEquipSurgeryHospital(params) {
...
@@ -67,6 +67,10 @@ export function requestEquipSurgeryHospital(params) {
}
}
}
}
export
const
reqEquipSurgeryHospital
=
async
(
global_domain_config
,
params
)
=>
{
return
await
GetRequest
(
global_domain_config
,
getUrlParams
(
'/sale/seller_customer/search'
,
params
))
}
// 获取订单信息 params={access_token:'', org_code:'', seller_code:'', customer_code:'', collect_header_status: 'RETURNED,COLLECTED'}
// 获取订单信息 params={access_token:'', org_code:'', seller_code:'', customer_code:'', collect_header_status: 'RETURNED,COLLECTED'}
export
function
requestEquipOrderInfo
(
params
)
{
export
function
requestEquipOrderInfo
(
params
)
{
return
(
dispatch
,
getState
)
=>
{
return
(
dispatch
,
getState
)
=>
{
...
@@ -94,13 +98,17 @@ export function requestEquipOrderInfo(params) {
...
@@ -94,13 +98,17 @@ export function requestEquipOrderInfo(params) {
}
}
}
}
export
const
reqEquipOrderInfo
=
async
(
global_domain_config
,
params
)
=>
{
return
await
GetRequest
(
global_domain_config
,
getUrlParams
(
'/surgery/collect_order/search'
,
params
))
}
function
requestListDataing
()
{
function
requestListDataing
()
{
return
{
return
{
type
:
EQUIP_CONSU_LIST_DOING
type
:
EQUIP_CONSU_LIST_DOING
}
}
}
}
function
requestListDataSuccess
(
data
)
{
export
function
requestListDataSuccess
(
data
)
{
return
{
return
{
type
:
EQUIP_CONSU_LIST_SUCCESS
,
type
:
EQUIP_CONSU_LIST_SUCCESS
,
rawData
:
data
rawData
:
data
...
...
app/containers/equipConsu/EquipConsuPage.js
View file @
2970a610
This diff is collapsed.
Click to expand it.
app/containers/quickOrder/QuickOrderPage.js
View file @
2970a610
...
@@ -512,7 +512,6 @@ class EquipConsuPage extends Component {
...
@@ -512,7 +512,6 @@ class EquipConsuPage extends Component {
this
.
setState
({
this
.
setState
({
listOptionData
:
listOptionData
.
map
((
item
,
index
)
=>
{
listOptionData
:
listOptionData
.
map
((
item
,
index
)
=>
{
if
(
index
>
curIndex
&&
index
<
11
)
{
if
(
index
>
curIndex
&&
index
<
11
)
{
// console.log('----优化,客户名称选择之后,收单地点、收货地点只有一个时,赋值第一个--', this.state.localCustomersOption)
item
.
name
=
localOtherObj
.
name
item
.
name
=
localOtherObj
.
name
item
.
value
=
localOtherObj
.
value
item
.
value
=
localOtherObj
.
value
if
(
listOptionData
[
1
].
value
&&
item
.
title
==
'客户名称'
)
{
if
(
listOptionData
[
1
].
value
&&
item
.
title
==
'客户名称'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment