Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wechat
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈卓 Joechan Chen
wechat
Commits
272eb81d
Commit
272eb81d
authored
Jun 29, 2023
by
陈卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交修改代码
parent
c9a1907c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.js
src/views/dstributorOnTheWayQuery/index.js
+4
-4
No files found.
src/views/dstributorOnTheWayQuery/index.js
View file @
272eb81d
...
...
@@ -58,13 +58,15 @@ class DstributorOnTheWayQuery extends React.Component {
data
:[]
})
}
else
{
var
pacid
=
this
.
state
.
partid
||
''
if
(
this
.
state
.
ordernum
){
//根据箱号查询
var
ordernum
=
this
.
state
.
ordernum
let
code
=
this
.
state
.
userInfo
.
code
||
""
//站点
Toast
.
loading
(
'Loading...'
,
0
,
()
=>
{
},
true
);
pdaApi
.
getqueryinfo
({
ordernum
,
code
}).
then
(
res
=>
{
pdaApi
.
getqueryinfo
({
ordernum
,
pacid
,
code
}).
then
(
res
=>
{
Toast
.
hide
();
console
.
log
(
'在途查询--箱号'
,
res
);
if
(
res
.
code
==
1
&&
res
.
result
.
length
!=
0
){
...
...
@@ -88,7 +90,7 @@ class DstributorOnTheWayQuery extends React.Component {
let
code
=
this
.
state
.
userInfo
.
code
||
""
//站点
Toast
.
loading
(
'Loading...'
,
0
,
()
=>
{
},
true
);
pdaApi
.
getqueryinfo
({
box_number
,
code
}).
then
(
res
=>
{
pdaApi
.
getqueryinfo
({
box_number
,
pacid
,
code
}).
then
(
res
=>
{
Toast
.
hide
();
console
.
log
(
'在途查询--箱号'
,
res
);
if
(
res
.
code
==
1
&&
res
.
result
.
length
!=
0
){
...
...
@@ -108,7 +110,6 @@ class DstributorOnTheWayQuery extends React.Component {
}
if
(
this
.
state
.
id
){
//根据注册号查询
var
pacid
=
this
.
state
.
partid
||
''
var
regid
=
this
.
state
.
id
let
code
=
this
.
state
.
userInfo
.
code
||
""
//站点
Toast
.
loading
(
'Loading...'
,
0
,
()
=>
{
...
...
@@ -237,7 +238,6 @@ class DstributorOnTheWayQuery extends React.Component {
icon
=
{
clear
}
/
>
<
/SingleItem
>
<
SingleItem
outerStyle
=
{{
marginTop
:
'0.5rem'
}}
name
=
"订单号"
>
<
SingleInput
...
...
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