Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 4e55ac0d
authored
Dec 31, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
4b63b594
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
src/views/memberCenter/order.vue
src/views/memberCenter/order.vue
View file @
4e55ac0
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<el-input
:size=
"size"
v-model=
"searchForm.packageName"
placeholder=
"请输入名称"
clearable
></el-input>
<el-input
:size=
"size"
v-model=
"searchForm.packageName"
placeholder=
"请输入名称"
clearable
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"类型"
style=
"margin-left: -10px"
>
<el-form-item
size=
"small"
label=
"类型"
style=
"margin-left: -10px"
>
<el-select
size=
"small"
v-model=
"searchForm.orderType"
placeholder=
"请选择"
>
<el-select
size=
"small"
v-model=
"searchForm.orderType"
:disabled=
"merchantModel == 1 && accountLevel == 1"
placeholder=
"请选择"
>
<el-option
v-for=
"item in orderTypeList"
:key=
"item.dictValue"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
<el-option
v-for=
"item in orderTypeList"
:key=
"item.dictValue"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -59,6 +59,8 @@ import { getOrderListApi, orderExportApi } from '@/api/modules/order'
...
@@ -59,6 +59,8 @@ import { getOrderListApi, orderExportApi } from '@/api/modules/order'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
merchantModel
:
1
,
//集团:1,门店:2
accountLevel
:
0
,
//1,2,3,4工厂,省代,市代,门店
url
:
url
,
url
:
url
,
isReload
:
true
,
isReload
:
true
,
pickerOptions
:
{
pickerOptions
:
{
...
@@ -68,10 +70,10 @@ export default {
...
@@ -68,10 +70,10 @@ export default {
},
},
size
:
'small'
,
size
:
'small'
,
searchForm
:
{
searchForm
:
{
orderStatus
:
''
//默认查询全部
orderStatus
:
''
,
//默认查询全部
// name: '',
// name: '',
// daterange:''
// daterange:''
//
orderType: ''
orderType
:
''
},
},
choseList
:
[
'全部'
,
'待收货'
,
'已完成'
,
'退款|售后'
],
choseList
:
[
'全部'
,
'待收货'
,
'已完成'
,
'退款|售后'
],
currentIndex
:
1
,
currentIndex
:
1
,
...
@@ -150,6 +152,16 @@ export default {
...
@@ -150,6 +152,16 @@ export default {
}
}
}
}
},
},
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
console
.
log
(
'kkk'
,
this
.
$globalState
)
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
if
(
this
.
merchantModel
==
1
&&
this
.
accountLevel
==
1
)
{
this
.
searchForm
.
orderType
=
2
}
}
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
tabClick
(
index
)
{
tabClick
(
index
)
{
...
...
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