Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
XDJK
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wechatminiprogram
XDJK
Commits
ab36d678
Commit
ab36d678
authored
Apr 23, 2021
by
liuquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
F 修复物流查询不准确问题,重构物流查询方式
F 修复报告列表下拉不刷新问题 F 修复搜索地区bug U新增一个量表的答题方式
parent
53f2657c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
packageA/logistics/logistics.js
+3
-6
packageA/logistics/logistics.wxml
+3
-4
No files found.
packageA/logistics/logistics.js
View file @
ab36d678
...
...
@@ -15,7 +15,7 @@ Page({
time2
:
''
,
time3
:
''
,
img
:
''
,
status
:
''
,
//物流状态
status
:
-
1
,
//物流状态
sforderid
:
''
,
//物流单号
logistics
:
false
,
mobileTail
:
''
,
...
...
@@ -31,6 +31,7 @@ Page({
ordernumber
:
options
.
ordernumber
,
})
this
.
getLogisticsInfo
(
options
.
ordernumber
);
// this.getLogisticsInfo("20210422589380")
},
/**
* 生命周期函数--监听页面显示
...
...
@@ -84,11 +85,7 @@ Page({
status
:
res
.
data
.
status
,
sforderid
:
res
.
data
.
sf_waybillno
})
}
else
{
that
.
setData
({
status
:
0
,
})
}
}
that
.
getWl
()
// that.setData({
// address: res.data,
...
...
packageA/logistics/logistics.wxml
View file @
ab36d678
...
...
@@ -6,13 +6,12 @@
<image src="{{img}}"></image>
</view>
<view class="marl">
<view class="dfh mt" wx:if="{{status==
0
}}">待发货</view>
<view class="dfh" wx:if="{{status==
1
}}">待收货</view>
<view class="dfh mt" wx:if="{{status==
-1
}}">待发货</view>
<view class="dfh" wx:if="{{status==
0||status==1||status==6
}}">待收货</view>
<view class="dfh" wx:if="{{status==2}}">已完成</view>
<view class="dfh" wx:if="{{status==3}}">已取消</view>
<view class="dfh" wx:if="{{status==4}}">已拒收</view>
<view class="dfh" wx:if="{{status==5}}">派件异常</view>
<view class="dfh" wx:if="{{status==6}}">运输中</view>
<view class="dh" wx:if="{{sforderid}}">
<text >顺丰速运</text>
:{{sforderid}}
...
...
@@ -22,7 +21,7 @@
<!-- <text class="wuliuzx">物流咨询:</text>
<text class="wuliutel" bindtap="ddh">95338</text> -->
</view>
<view class="mt" wx:if="{{
status==0
}}">
<view class="mt" wx:if="{{
!sforderid
}}">
<text class="wuliuzx02">暂无运单信息</text>
</view>
</view>
...
...
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