Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
points-mall
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5669fc40
authored
Sep 08, 2025
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(Express): 修正物流状态判断逻辑
更新物流状态映射和判断规则,移除未使用的1005状态,并调整状态判断条件以确保正确显示运输中状态
1 parent
523c31c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
packageMine/pages/order/components/Express/Express.js
packageMine/pages/order/components/Express/Express.js
View file @
5669fc4
...
...
@@ -4,7 +4,7 @@ const LOGISTICS_STATUS = {
1002
:
"运输中"
,
1003
:
"已签收"
,
1004
:
"拒收"
,
1005
:
"正在派件
"
,
// 新增状态
// 1005: "派件中
", // 新增状态
};
// 状态判断规则配置
...
...
@@ -29,7 +29,7 @@ const STATUS_RULES = [
"派件"
,
"派件中"
,
],
status
:
100
5
,
status
:
100
2
,
statusDesc
:
"派件中"
,
},
{
...
...
@@ -127,7 +127,7 @@ Component({
// 根据内容判断状态
let
{
status
,
statusDesc
}
=
this
.
_determineStatusByContent
(
content
);
let
type
=
"normal"
;
if
(
status
===
1002
)
{
if
(
status
===
1002
&&
statusDesc
===
"运输中"
)
{
if
(
status
===
lastStatus
)
{
statusDesc
=
""
;
type
=
"small"
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment