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
fa026b12
authored
Jan 29, 2021
by
Denglingling
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整转单模块,新增多仓调整
parent
70928b94
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
app/containers/transOrder/TransOrderPage.js
app/containers/transOrder/module/TransSearchPage.js
app/containers/transOrder/TransOrderPage.js
View file @
fa026b12
This diff is collapsed.
Click to expand it.
app/containers/transOrder/module/TransSearchPage.js
View file @
fa026b12
...
@@ -158,11 +158,11 @@ class TransSearchPage extends Component {
...
@@ -158,11 +158,11 @@ class TransSearchPage extends Component {
// 选择器弹窗回调函数
// 选择器弹窗回调函数
handleCallBack
(
item
,
itemTitle
)
{
handleCallBack
(
item
,
itemTitle
)
{
let
{
listOptionData
}
=
this
.
state
let
{
listOptionData
}
=
this
.
state
let
self
=
this
let
that
=
this
self
.
setState
({
that
.
setState
({
currentItem
:
item
,
currentItem
:
item
,
})
})
self
.
setState
({
that
.
setState
({
listOptionData
:
listOptionData
.
map
((
chItem
)
=>
{
listOptionData
:
listOptionData
.
map
((
chItem
)
=>
{
if
(
chItem
.
title
===
itemTitle
)
{
if
(
chItem
.
title
===
itemTitle
)
{
chItem
.
name
=
item
.
name
chItem
.
name
=
item
.
name
...
@@ -232,11 +232,13 @@ class TransSearchPage extends Component {
...
@@ -232,11 +232,13 @@ class TransSearchPage extends Component {
access_token
:
props
.
token
,
access_token
:
props
.
token
,
org_code
:
subTransObj
.
org_code
,
org_code
:
subTransObj
.
org_code
,
seller_code
:
props
.
userInfo
.
user_name
,
seller_code
:
props
.
userInfo
.
user_name
,
collect_header_status
:
'COLLECTING_WAITING_CONFIRM,CONFIRM_COLLECT,COLLECTED_WAITING_CONFIRMED,APPROVED,COLLECTED'
collect_header_status
:
'COLLECTING_WAITING_CONFIRM,CONFIRM_COLLECT,COLLECTED_WAITING_CONFIRMED,APPROVED,COLLECTED'
,
setting_type
:
'COLLECT'
}
}
let
{
global_domain_config
}
=
that
.
props
let
{
global_domain_config
}
=
that
.
props
that
.
changeLodingFlag
(
true
)
that
.
changeLodingFlag
(
true
)
let
sourResult
=
await
requestSubSourBorOrdNum
(
global_domain_config
,
params
)
let
sourResult
=
await
requestSubSourBorOrdNum
(
global_domain_config
,
params
)
console
.
log
(
'来源借货订单号 res====='
,
sourResult
);
if
(
sourResult
.
error_code
===
0
)
{
if
(
sourResult
.
error_code
===
0
)
{
that
.
changeLodingFlag
(
false
)
that
.
changeLodingFlag
(
false
)
let
{
data
:
{
surgery_collect_headers
}
}
=
sourResult
let
{
data
:
{
surgery_collect_headers
}
}
=
sourResult
...
@@ -389,7 +391,7 @@ class TransSearchPage extends Component {
...
@@ -389,7 +391,7 @@ class TransSearchPage extends Component {
if
(
detailResult
.
error_code
===
0
)
{
if
(
detailResult
.
error_code
===
0
)
{
let
{
data
:
{
sur_transfer_lines
}}
=
detailResult
let
{
data
:
{
sur_transfer_lines
}}
=
detailResult
if
(
sur_transfer_lines
.
length
==
0
)
{
if
(
sur_transfer_lines
.
length
==
0
)
{
show
(
'当前
明细为空
!'
)
show
(
'当前
订单无明细数据,请重新选择订单
!'
)
}
else
{
}
else
{
let
{
subTransDetOption
}
=
this
.
props
// 【转单】主页面已存在的明细
let
{
subTransDetOption
}
=
this
.
props
// 【转单】主页面已存在的明细
subTransDetOption
.
length
&&
subTransDetOption
.
forEach
((
item
)
=>
{
subTransDetOption
.
length
&&
subTransDetOption
.
forEach
((
item
)
=>
{
...
...
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