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
738b4b2a
Commit
738b4b2a
authored
Sep 17, 2022
by
dcy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
15893218
af062f3a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
8 deletions
+60
-8
index.vue
src/components/customerComplaints/index.vue
+46
-3
index.js
src/router/index.js
+7
-0
index.vue
src/views/ecw/customerComplaint/index.vue
+0
-2
discount.vue
src/views/ecw/order/special/discount.vue
+6
-2
index.vue
src/views/ecw/order/special/index.vue
+1
-1
No files found.
src/components/customerComplaints/index.vue
View file @
738b4b2a
...
@@ -20,10 +20,34 @@
...
@@ -20,10 +20,34 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"订单号"
prop=
"orderId"
>
<el-form-item
label=
"订单号"
prop=
"orderId"
>
<el-input
v-model=
"form.orderId"
placeholder=
"请输入订单号"
/>
<el-select
v-model=
"form.orderId"
filterable
remote
placeholder=
"请输入订单号"
:remote-method=
"getOrderList"
>
<el-option
v-for=
"item in orderList"
:key=
"item.value"
:label=
"item.value"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"提单号"
prop=
"ladingbillId"
>
<el-form-item
label=
"提单号"
prop=
"ladingbillId"
>
<el-input
v-model=
"form.ladingbillId"
placeholder=
"请输入提单号"
/>
<el-select
v-model=
"form.ladingbillId"
filterable
remote
placeholder=
"请输入提单号"
:remote-method=
"getBillList"
>
<el-option
v-for=
"item in billList"
:key=
"item.value"
:label=
"item.value"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"投诉内容"
prop=
"content"
>
<el-form-item
label=
"投诉内容"
prop=
"content"
>
<el-input
v-model=
"form.content"
type=
"textarea"
placeholder=
"请输入内容"
/>
<el-input
v-model=
"form.content"
type=
"textarea"
placeholder=
"请输入内容"
/>
...
@@ -88,6 +112,7 @@ import { createCustomerComplaint, updateCustomerComplaint, deleteCustomerComplai
...
@@ -88,6 +112,7 @@ import { createCustomerComplaint, updateCustomerComplaint, deleteCustomerComplai
import
{
getCustomerSelect
}
from
'
@/api/ecw/customer
'
import
{
getCustomerSelect
}
from
'
@/api/ecw/customer
'
import
DictSelector
from
'
@/components/DictSelector
'
import
DictSelector
from
'
@/components/DictSelector
'
import
{
DICT_TYPE
,
getDictDatas
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
{
DICT_TYPE
,
getDictDatas
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
{
getBillNoSearch
,
getOrderNoSearch
}
from
"
@/api/ecw/order
"
export
default
{
export
default
{
name
:
"
customerComplaints
"
,
name
:
"
customerComplaints
"
,
...
@@ -147,7 +172,10 @@ export default {
...
@@ -147,7 +172,10 @@ export default {
// 处理
// 处理
handle
:
{
handle
:
{
dialogVisible
:
false
dialogVisible
:
false
}
},
billList
:
[],
orderList
:
[]
};
};
},
},
created
()
{
created
()
{
...
@@ -156,6 +184,21 @@ export default {
...
@@ -156,6 +184,21 @@ export default {
})
})
},
},
methods
:
{
methods
:
{
getBillList
(
key
){
getBillNoSearch
({
key
,
pageNo
:
1
,
pageSize
:
20
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
billList
=
r
.
data
.
list
}
})
},
getOrderList
(
key
){
getOrderNoSearch
({
key
,
pageNo
:
1
,
pageSize
:
20
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
orderList
=
r
.
data
.
list
}
})
},
/** 查询列表 */
/** 查询列表 */
/** 取消按钮 */
/** 取消按钮 */
cancel
()
{
cancel
()
{
...
...
src/router/index.js
View file @
738b4b2a
...
@@ -303,6 +303,13 @@ export const constantRoutes = [
...
@@ -303,6 +303,13 @@ export const constantRoutes = [
name
:
'
discount
'
,
name
:
'
discount
'
,
meta
:
{
title
:
'
订单优惠申请
'
,
icon
:
''
,
activeMenu
:
'
/order/index
'
}
meta
:
{
title
:
'
订单优惠申请
'
,
icon
:
''
,
activeMenu
:
'
/order/index
'
}
},
},
{
path
:
'
discount1/:orderItemId(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/order/special/discount
'
),
props
:
true
,
name
:
'
discount1
'
,
meta
:
{
title
:
'
订单折扣申请
'
,
icon
:
''
,
activeMenu
:
'
/order/index
'
}
},
{
{
path
:
'
speciallight/:orderId(
\\
d+)
'
,
path
:
'
speciallight/:orderId(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/order/special/light
'
),
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/order/special/light
'
),
...
...
src/views/ecw/customerComplaint/index.vue
View file @
738b4b2a
...
@@ -116,7 +116,6 @@
...
@@ -116,7 +116,6 @@
v-model=
"form.orderId"
v-model=
"form.orderId"
filterable
filterable
remote
remote
reserve-keyword
placeholder=
"请输入订单号"
placeholder=
"请输入订单号"
:remote-method=
"getOrderList"
:remote-method=
"getOrderList"
:loading=
"loading"
>
:loading=
"loading"
>
...
@@ -133,7 +132,6 @@
...
@@ -133,7 +132,6 @@
v-model=
"form.ladingbillId"
v-model=
"form.ladingbillId"
filterable
filterable
remote
remote
reserve-keyword
placeholder=
"请输入提单号"
placeholder=
"请输入提单号"
:remote-method=
"getBillList"
:remote-method=
"getBillList"
:loading=
"loading"
>
:loading=
"loading"
>
...
...
src/views/ecw/order/special/discount.vue
View file @
738b4b2a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<el-col
:xs=
"24"
:sm=
"24"
:md=
"24"
:lg=
"20"
:xl=
"16"
>
<el-col
:xs=
"24"
:sm=
"24"
:md=
"24"
:lg=
"20"
:xl=
"16"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
v-if=
"!readonly"
>
<div
slot=
"header"
class=
"clearfix"
v-if=
"!readonly"
>
<span
>
优惠申请
</span>
<span
style=
"font-size: 18px;font-weight: bold"
>
{{
isDiscount
?
'
折扣管理
'
:
'
优惠申请
'
}}
</span>
</div>
</div>
<el-form
v-if=
"!readonly"
ref=
"form"
:model=
"form"
label-width=
"80px"
>
<el-form
v-if=
"!readonly"
ref=
"form"
:model=
"form"
label-width=
"80px"
>
<el-form-item
label=
"商品类型"
>
<el-form-item
label=
"商品类型"
>
...
@@ -216,7 +216,7 @@ export default {
...
@@ -216,7 +216,7 @@ export default {
methods
:
{
methods
:
{
handleSubmit
(){
handleSubmit
(){
createOrderSpecial
({
createOrderSpecial
({
"
applyType
"
:
'
1
'
,
"
applyType
"
:
this
.
isDiscount
?
'
2
'
:
'
1
'
,
clearanceFreight
:
this
.
form
.
clearanceFreight
,
clearanceFreight
:
this
.
form
.
clearanceFreight
,
clearanceFreightCurrency
:
this
.
form
.
clearanceFreightCurrency
,
clearanceFreightCurrency
:
this
.
form
.
clearanceFreightCurrency
,
clearanceFreightVolume
:
this
.
form
.
clearanceFreightVolume
,
clearanceFreightVolume
:
this
.
form
.
clearanceFreightVolume
,
...
@@ -244,6 +244,10 @@ export default {
...
@@ -244,6 +244,10 @@ export default {
}
}
}
,
}
,
computed
:
{
computed
:
{
// 折扣管理页面
isDiscount
(){
return
this
.
$route
.
query
.
discount
}
,
// 根据渠道id显示渠道名
// 根据渠道id显示渠道名
getChannelNameById
(){
getChannelNameById
(){
return
channelId
=>
{
return
channelId
=>
{
...
...
src/views/ecw/order/special/index.vue
View file @
738b4b2a
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"$router.push(`/order/discount/$
{row.orderItemId}?orderId=${row.orderId}`)">优惠申请
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"$router.push(`/order/discount/$
{row.orderItemId}?orderId=${row.orderId}`)">优惠申请
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"$router.push(`/order/specialCommission/$
{row.orderItemId}`)">佣金规则
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"$router.push(`/order/specialCommission/$
{row.orderItemId}`)">佣金规则
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
>
管理折扣
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"$router.push(`/order/discount1/$
{row.orderItemId}?orderId=${row.orderId}
&
discount=1`)"
>管理折扣
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
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