Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-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 e549376a
authored
Dec 10, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
refactor(goodsOrder): 移除云中鹤订单类型的发货时间列逻辑
自营商品订单才有发货时间需求,云中鹤订单无需展示该列。直接移除相关条件判断代码,简化逻辑。
1 parent
9eaf7bde
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
src/views/goodsOrder/detail.vue
src/views/goodsOrder/detail.vue
View file @
e549376
...
@@ -259,12 +259,6 @@ export default {
...
@@ -259,12 +259,6 @@ export default {
res
.
subOrderGoodsList
=
res
?.
subOrderGoodsList
?.
length
?
res
?.
subOrderGoodsList
:
[]
res
.
subOrderGoodsList
=
res
?.
subOrderGoodsList
?.
length
?
res
?.
subOrderGoodsList
:
[]
// res.logisticsStatus = undefined
// res.logisticsStatus = undefined
this
.
orderInfo
=
res
this
.
orderInfo
=
res
// 1.云中鹤 2.自营商品;只有自营商品有发货时间
if
(
res
.
orderType
!=
'2'
)
{
const
tableIdx
=
this
.
shipmentsParams
.
tableColumns
.
findIndex
(
item
=>
item
.
prop
==
'deliverTime'
)
console
.
log
(
tableIdx
,
'tableIdx'
)
this
.
shipmentsParams
.
tableColumns
.
splice
(
tableIdx
,
1
)
}
}
}
}
).
catch
(
err
=>
{
}
).
catch
(
err
=>
{
this
.
isLoading
=
false
this
.
isLoading
=
false
...
...
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