Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
3de041ee
Commit
3de041ee
authored
Feb 13, 2025
by
Smile
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求100:空运屏蔽已关闭的渠道价格
parent
7a7ed0aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
5 deletions
+17
-5
en_US.json
src/i18n/languages/en_US.json
+2
-1
index.vue
src/views/ecw/productPrice/index.vue
+15
-4
No files found.
src/i18n/languages/en_US.json
View file @
3de041ee
...
...
@@ -4939,6 +4939,7 @@
"标题(中文)"
:
"Title (Chinese)"
,
"标题(英文)"
:
"Title (English)"
,
"标题(法文)"
:
"Title (French)"
,
"是否确认删除广告设置编号为'{0}'的数据项?"
:
"Are you sure you want to delete the advertisement setting with ID '{0}'?"
"是否确认删除广告设置编号为'{0}'的数据项?"
:
"Are you sure you want to delete the advertisement setting with ID '{0}'?"
,
"渠道已关闭,禁止下单"
:
"The channel has been closed and orders are prohibited"
}
src/views/ecw/productPrice/index.vue
View file @
3de041ee
...
...
@@ -437,13 +437,18 @@
<el-table-column
prop=
"price"
:label=
"$t('价格')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"
scope.row.needOrderInquiry == 1
"
>
<div
v-if=
"scope.row.needOrderInquiry == 1
"
>
{{
$t
(
"
单询无价格,请联系市场部
"
)
}}
<template
v-if=
"
!isChannelClosed(scope.row.shippingChannelId)
"
>
<div
style=
"color: red"
v-if=
"!isChannelClosed(scope.row.shippingChannelId)
"
>
{{
$t
(
"
渠道已关闭,禁止下单
"
)
}}
</div>
</
template
>
<
template
v-else
>
<template
v-if=
"scope.row.stepPrice == 1"
>
<template
v-if=
"scope.row.needOrderInquiry == 1"
>
<div
v-if=
"scope.row.needOrderInquiry == 1"
>
{{
$t
(
"
单询无价格,请联系市场部
"
)
}}
</div>
</
template
>
<
template
v-else-if=
"scope.row.stepPrice == 1"
>
<!--全包价-->
<div
v-if=
"scope.row.priceType"
>
<div
...
...
@@ -1052,6 +1057,12 @@ export default {
return
this
.
keyedChannel
[
id
]
?
this
.
keyedChannel
[
id
].
nameZh
:
null
;
}
;
}
,
// 根据渠道id获取渠道是否关闭
isChannelClosed
()
{
return
(
id
)
=>
{
return
this
.
keyedChannel
[
id
]
?
this
.
keyedChannel
[
id
].
status
:
null
;
}
;
}
,
// 根据类型获取类型名称
getTypeName
()
{
return
(
typeId
)
=>
{
...
...
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