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
649355cb
Commit
649355cb
authored
Feb 01, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
几个bug
parent
5c6c5a80
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
9 deletions
+23
-9
detail.vue
src/views/ecw/offer/detail.vue
+15
-2
edit.vue
src/views/ecw/offer/edit.vue
+5
-4
edit.vue
src/views/ecw/order/edit.vue
+3
-3
No files found.
src/views/ecw/offer/detail.vue
View file @
649355cb
...
...
@@ -226,8 +226,12 @@
<el-table-column
label=
""
>
<
template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
.
<dict-tag
:type=
"DICT_TYPE.ECW_COUPON_TYPE"
:value=
"scope.row.type"
/>
<!--
{{
$l
(
productNames
[
scope
.
row
.
prodId
],
'
title
'
)
||
$t
(
'
未知
'
)
}}
-->
{{
getProductName
(
scope
.
row
.
prodId
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
""
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_COUPON_TYPE"
:value=
"row.type"
/>
</
template
>
</el-table-column>
<el-table-column
label=
""
>
...
...
@@ -418,6 +422,15 @@
};
},
computed
:{
// 根据id获取商品名称(显示优惠列表的时候用)
getProductName
(){
return
prodId
=>
{
if
(
!
this
.
list
)
return
this
.
$t
(
'
未知
'
)
let
row
=
this
.
list
.
offerProdRespVOList
.
find
(
item
=>
item
.
prodId
==
prodId
)
if
(
!
row
)
return
this
.
$t
(
'
未知
'
)
return
this
.
$l
(
row
,
'
prodTitle
'
)
}
},
currentcyMap
(){
let
map
=
{}
this
.
currencyList
.
forEach
(
item
=>
{
...
...
src/views/ecw/offer/edit.vue
View file @
649355cb
...
...
@@ -11,10 +11,10 @@
</el-radio-group>
</el-form-item>
<br/>
<el-form-item
:label=
"$t('订单类型')"
>
<el-form-item
:label=
"$t('订单类型')"
v-if=
"routeOtherServices.indexOf('1') > -1 || routeOtherServices.indexOf('4') > -1"
>
<el-checkbox-group
v-model=
"form.type"
>
<el-checkbox
label=
"1"
>
{{
$t
(
'
集运服务
'
)
}}
</el-checkbox>
<el-checkbox
label=
"2"
>
{{
$t
(
'
海外仓
'
)
}}
</el-checkbox>
<el-checkbox
label=
"1"
v-if=
"routeOtherServices.indexOf('1') > -1"
>
{{
$t
(
'
集运服务
'
)
}}
</el-checkbox>
<el-checkbox
label=
"2"
v-if=
"routeOtherServices.indexOf('4') > -1"
>
{{
$t
(
'
海外仓
'
)
}}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
...
...
@@ -355,7 +355,7 @@
</el-table-column>
<el-table-column
label=
""
>
<
template
slot-scope=
"{row}"
>
-
{{
row
.
reduce
Total
Amount
}}
-
{{
row
.
reduceAmount
}}
{{
currencyMap
[
row
.
reduceCurrencyId
]
}}
</
template
>
</el-table-column>
...
...
@@ -678,6 +678,7 @@ export default {
titleEn
:
it
.
titleEn
,
endTime
:
it
.
endTime
,
reduceTotalAmount
:
it
.
reduceTotalAmount
,
reduceAmount
:
it
.
reduceAmount
,
reduceCurrencyId
:
it
.
reduceCurrencyId
})
}
...
...
src/views/ecw/order/edit.vue
View file @
649355cb
...
...
@@ -5,10 +5,10 @@
<el-card>
<div
slot=
"header"
class=
"card-title"
>
{{
editMode
?
$t
(
'
编辑订单
'
)
+
'
-
'
+
form
.
orderNo
:
$t
(
'
新建订单
'
)
}}
</div>
<!--默认显示类型(selectedRouter==null),如果选择路线后没开通则隐藏-->
<el-form-item
:label=
"$t('订单类型')"
v-if=
"
!selectedRouter ||
routeOtherServices.indexOf('1') > -1 || routeOtherServices.indexOf('4') > -1"
>
<el-form-item
:label=
"$t('订单类型')"
v-if=
"routeOtherServices.indexOf('1') > -1 || routeOtherServices.indexOf('4') > -1"
>
<el-checkbox-group
v-model=
"form.type"
:disabled=
"inWarehouse"
>
<el-checkbox
label=
"1"
v-if=
"
!selectedRouter ||
routeOtherServices.indexOf('1') > -1"
>
{{
$t
(
'
集运服务
'
)
}}
</el-checkbox>
<el-checkbox
label=
"2"
v-if=
"
!selectedRouter || routeOtherServices.indexOf('2
') > -1"
>
{{
$t
(
'
海外仓
'
)
}}
</el-checkbox>
<el-checkbox
label=
"1"
v-if=
"routeOtherServices.indexOf('1') > -1"
>
{{
$t
(
'
集运服务
'
)
}}
</el-checkbox>
<el-checkbox
label=
"2"
v-if=
"
routeOtherServices.indexOf('4
') > -1"
>
{{
$t
(
'
海外仓
'
)
}}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
...
...
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