Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
罗超
SuperMan
Commits
8f498745
Commit
8f498745
authored
Dec 27, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改待申请改价提醒
parent
abb21965
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
85 deletions
+44
-85
index.vue
src/components/index.vue
+18
-2
OrderList.vue
src/components/myOrdersAllType/components/OrderList.vue
+6
-66
allList.vue
src/components/myOrdersAllType/components/allList.vue
+20
-17
No files found.
src/components/index.vue
View file @
8f498745
...
@@ -1936,7 +1936,7 @@
...
@@ -1936,7 +1936,7 @@
this
.
ChangeThePriceList
=
DateList
.
filter
(
x
=>
{
this
.
ChangeThePriceList
=
DateList
.
filter
(
x
=>
{
return
x
==
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
return
x
==
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
})
})
if
(
this
.
ChangeThePriceList
.
length
>
0
)
{
if
(
this
.
ChangeThePriceList
.
length
>
0
)
{
//1-10每2小时提醒
if
((
!
localStorage
.
getItem
(
"ChangeThePriceDataTime"
)
||
if
((
!
localStorage
.
getItem
(
"ChangeThePriceDataTime"
)
||
(
localStorage
.
getItem
(
"ChangeThePriceDataTime"
)
!=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
(
localStorage
.
getItem
(
"ChangeThePriceDataTime"
)
!=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
))
{
))
{
...
@@ -1957,6 +1957,13 @@
...
@@ -1957,6 +1957,13 @@
}
}
},
7200000
)
},
7200000
)
}
}
else
{
//其余时间每天提醒
if
((
!
localStorage
.
getItem
(
"ChangeThePriceDataTime"
)
||
(
localStorage
.
getItem
(
"ChangeThePriceDataTime"
)
!=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
))
{
this
.
GetChangeThePrice
()
}
}
},
},
created
()
{
created
()
{
let
DateTime
=
new
Date
();
let
DateTime
=
new
Date
();
...
@@ -2038,6 +2045,15 @@
...
@@ -2038,6 +2045,15 @@
},
},
// 获取改价提醒的数据
// 获取改价提醒的数据
GetChangeThePrice
(
type
)
{
GetChangeThePrice
(
type
)
{
let
changedate
=
new
Date
();
changedate
.
setDate
(
changedate
.
getDate
()
+
1
);
let
Year
=
changedate
.
getFullYear
()
let
Month
=
changedate
.
getMonth
()
+
1
let
Months
=
Month
>
9
?
Month
:
'0'
+
Month
let
day
=
changedate
.
getDate
()
let
days
=
day
>
9
?
day
:
'0'
+
Month
let
DepartETime
=
Year
+
'-'
+
Months
+
'-'
+
days
console
.
log
(
"ddddddd"
,
DepartETime
);
let
msg
=
{
let
msg
=
{
pageIndex
:
1
,
pageIndex
:
1
,
pagesize
:
5
,
pagesize
:
5
,
...
@@ -2049,7 +2065,7 @@
...
@@ -2049,7 +2065,7 @@
FinishsTime
:
""
,
FinishsTime
:
""
,
FinishETime
:
""
,
FinishETime
:
""
,
DepartSTime
:
""
,
DepartSTime
:
""
,
DepartETime
:
this
.
ExamineThePriceMsg
.
DepartETime
,
DepartETime
:
DepartETime
,
TCNUM
:
""
,
TCNUM
:
""
,
ProductName
:
""
,
ProductName
:
""
,
CustomerWame
:
""
,
CustomerWame
:
""
,
...
...
src/components/myOrdersAllType/components/OrderList.vue
View file @
8f498745
<
template
>
<
template
>
<div
class=
"myAllTypeOrder"
>
<div
class=
"myAllTypeOrder"
>
<div
v-if=
"pagesTitle=='申请'||pagesTitle=='审核'"
v-for=
"(item,index) in OrderList"
>
<div
v-if=
"pagesTitle=='申请'||pagesTitle=='审核'
||pagesTitle=='查看'
"
v-for=
"(item,index) in OrderList"
>
<el-table
<el-table
border
border
ref=
"multipleTable"
ref=
"multipleTable"
...
@@ -146,66 +146,6 @@
...
@@ -146,66 +146,6 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"DiscountsMoney"
label=
"优惠"
>
<el-table-column
prop=
"DiscountsMoney"
label=
"优惠"
>
</el-table-column>
</el-table-column>
<!--
<template v-if="pagesTitle == '审核'||pagesTitle == '申请'">
<el-table-column
prop="ApplyForMoney"
label="申请改价金额"
min-width="120"
show-overflow-tooltip
>
<template slot-scope="scope">
<span> {{ scope.row.ApplyForMoney }}</span>
</template>
</el-table-column>
<el-table-column
prop="ApplyForReason"
label="申请理由"
min-width="100"
show-overflow-tooltip
>
<template slot-scope="scope">
{{ scope.row.ApplyForReason }}
</template>
</el-table-column>
<el-table-column
v-if="pagesTitle=='审核'"
prop="ApplyForState"
label="改价状态"
show-overflow-tooltip
>
<template slot-scope="scope">
<span
>
<template v-if="scope.row.ApplyForState==1">
待主管审核
</template>
<template v-else-if="scope.row.ApplyForState==2">
主管审核通过
</template>
<template v-else-if="scope.row.ApplyForState==3">
审核通过
</template>
<template v-else-if="scope.row.ApplyForState==4">
驳回
</template>
</span>
</template>
</el-table-column>
</template> -->
<!--
<el-table-column
v-if="pagesTitle == '审核'&&userInfo.EmployeeId==1"
prop="StateName"
label="审核人"
show-overflow-tooltip
min-width="150"
>
<template slot-scope="scope">
<span v-if="scope.row.ManagerExamineName">{{scope.row.ManagerExamineName }}</span>
<p v-if="scene.row.ManagerExamineTimeStr">{{scene.row.ManagerExamineTimeStr}}</p>
</template>
</el-table-column> -->
<el-table-column
<el-table-column
v-if=
"pagesTitle != '审核'"
v-if=
"pagesTitle != '审核'"
prop=
"StateName"
prop=
"StateName"
...
@@ -220,7 +160,7 @@
...
@@ -220,7 +160,7 @@
<el-table-column
label=
"操作"
show-overflow-tooltip
<el-table-column
label=
"操作"
show-overflow-tooltip
fixed=
"right"
fixed=
"right"
min-width=
"105"
>
min-width=
"105"
v-if=
"pagesTitle!='查看'"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!--
<el-button
size=
"mini"
type=
"primary"
@
click=
"goDetails(scope.row)"
>
查看
</el-button>
-->
<!--
<el-button
size=
"mini"
type=
"primary"
@
click=
"goDetails(scope.row)"
>
查看
</el-button>
-->
<template
v-if=
"pagesTitle == '申请'"
>
<template
v-if=
"pagesTitle == '申请'"
>
...
@@ -268,7 +208,7 @@
...
@@ -268,7 +208,7 @@
</
template
>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
<
template
slot=
"append"
v-if=
"(pagesTitle == '审核'||pagesTitle == '申请')
<
template
slot=
"append"
v-if=
"(pagesTitle == '审核'||pagesTitle == '申请'
||pagesTitle=='查看'
)
&&(item.SaleRemarks||item.OP_Remarks||item.ApplyForState
&&(item.SaleRemarks||item.OP_Remarks||item.ApplyForState
||(userInfo.EmployeeId==1&&item.ManagerExamineName))"
>
||(userInfo.EmployeeId==1&&item.ManagerExamineName))"
>
<div
style=
"padding:10px;"
>
<div
style=
"padding:10px;"
>
...
@@ -319,7 +259,7 @@
...
@@ -319,7 +259,7 @@
审核状态:
审核状态:
<span
style=
"color: red;"
>
已驳回
</span>
<span
style=
"color: red;"
>
已驳回
</span>
</span>
</span>
<
template
v-if=
"pagesTitle=='审核'"
>
<
template
v-if=
"pagesTitle=='审核'
||pagesTitle=='查看'
"
>
<span
style=
"margin-left: 20px;"
>
<span
style=
"margin-left: 20px;"
>
改价状态:
<span
style=
"color: red;"
改价状态:
<span
style=
"color: red;"
>
>
...
@@ -963,12 +903,12 @@ export default {
...
@@ -963,12 +903,12 @@ export default {
},
},
OrderList
:
{
OrderList
:
{
handler
(
val
,
oldVal
)
{
handler
(
val
,
oldVal
)
{
if
((
this
.
pagesTitle
==
'申请'
||
this
.
pagesTitle
==
'审核'
)
&&
this
.
msgObj
.
OrderId
!=
0
&&
this
.
$route
.
query
.
OrderId
if
((
this
.
pagesTitle
==
'申请'
||
this
.
pagesTitle
==
'审核'
||
_this
.
pagesTitle
==
'查看'
)
&&
this
.
msgObj
.
OrderId
!=
0
&&
this
.
$route
.
query
.
OrderId
&&
this
.
$route
.
query
.
OrderType
&&
this
.
$route
.
query
.
OrderType
&&
this
.
$route
.
query
.
DepartSTime
&&
this
.
$route
.
query
.
DepartSTime
&&
this
.
$route
.
query
.
DepartSTime
&&
this
.
$route
.
query
.
DepartSTime
&&
val
&&
val
.
length
==
1
){
&&
val
&&
val
.
length
==
1
){
if
(
this
.
pagesTitle
==
'审核'
){
if
(
this
.
pagesTitle
==
'审核'
||
this
.
pagesTitle
==
'查看'
){
this
.
ckChangePrice
(
val
[
0
],
2
)
this
.
ckChangePrice
(
val
[
0
],
2
)
}
else
{
}
else
{
this
.
ckChangePrice
(
val
[
0
])
this
.
ckChangePrice
(
val
[
0
])
...
...
src/components/myOrdersAllType/components/allList.vue
View file @
8f498745
...
@@ -113,22 +113,22 @@
...
@@ -113,22 +113,22 @@
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li
v-if=
"Title!='申请'&&Title!='审核'"
>
<li
v-if=
"Title!='申请'&&Title!='审核'
&&Title!='查看'
"
>
<span><em>
商品名称
</em>
<span><em>
商品名称
</em>
<el-input
clearable
type=
""
v-model=
"msg.ProductName"
placeholder=
"请输入商品名称"
class=
"w200"
/>
<el-input
clearable
type=
""
v-model=
"msg.ProductName"
placeholder=
"请输入商品名称"
class=
"w200"
/>
</span>
</span>
</li>
</li>
<li
v-if=
"Title!='申请'&&Title!='审核'"
>
<li
v-if=
"Title!='申请'&&Title!='审核'
&&Title!='查看'
"
>
<span><em>
订单Id
</em>
<span><em>
订单Id
</em>
<el-input
clearable
type=
"Number"
v-model=
"msg.OrderId"
placeholder=
"请输入订单Id"
class=
"w200"
/>
<el-input
clearable
type=
"Number"
v-model=
"msg.OrderId"
placeholder=
"请输入订单Id"
class=
"w200"
/>
</span>
</span>
</li>
</li>
<li
v-if=
"Title!='申请'&&Title!='审核'"
>
<li
v-if=
"Title!='申请'&&Title!='审核'
&&Title!='查看'
"
>
<span><em>
团号
</em>
<span><em>
团号
</em>
<el-input
clearable
type=
""
v-model=
"msg.TCNUM"
placeholder=
"请输入团号"
class=
"w200"
/>
<el-input
clearable
type=
""
v-model=
"msg.TCNUM"
placeholder=
"请输入团号"
class=
"w200"
/>
</span>
</span>
</li>
</li>
<template
v-if=
"Title=='审核'"
>
<template
v-if=
"Title=='审核'
||Title=='查看'
"
>
<li>
<li>
<span>
<span>
<em>
公司
</em>
<em>
公司
</em>
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li
v-if=
"Title!='销售'&&Title!='申请'&&Title!='审核'"
>
<li
v-if=
"Title!='销售'&&Title!='申请'&&Title!='审核'
&&Title!='查看'
"
>
<span>
<span>
<em>
引流人
</em>
<em>
引流人
</em>
<el-select
filterable
v-model=
'msg.LureEmpId'
class=
"w200"
clearable
>
<el-select
filterable
v-model=
'msg.LureEmpId'
class=
"w200"
clearable
>
...
@@ -198,7 +198,7 @@
...
@@ -198,7 +198,7 @@
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li
v-if=
"Title!='审核'"
>
<li
v-if=
"Title!='审核'
&&Title!='查看'
"
>
<span>
<span>
<em>
订单类型
</em>
<em>
订单类型
</em>
<el-select
v-model=
"msg.OrderType"
class=
"w200 HworkInput"
>
<el-select
v-model=
"msg.OrderType"
class=
"w200 HworkInput"
>
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
</li>
</li>
<li
v-if=
"Title!='申请'&&Title!='审核'"
>
<li
v-if=
"Title!='申请'&&Title!='审核'
&&Title!='查看'
"
>
<span>
<span>
<em>
订单状态
</em>
<em>
订单状态
</em>
<el-select
v-model=
'msg.OrderState'
class=
"w200"
>
<el-select
v-model=
'msg.OrderState'
class=
"w200"
>
...
@@ -221,7 +221,7 @@
...
@@ -221,7 +221,7 @@
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li
v-if=
"Title!='申请'&&Title!='审核'"
>
<li
v-if=
"Title!='申请'&&Title!='审核'
&&Title!='查看'
"
>
<span>
<span>
<em>
收款状态
</em>
<em>
收款状态
</em>
<el-select
v-model=
'msg.Q_IsCollect'
class=
"w200"
>
<el-select
v-model=
'msg.Q_IsCollect'
class=
"w200"
>
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</span>
</span>
</li>
</li>
<li
v-if=
"Title!='申请'&&Title!='审核'"
>
<li
v-if=
"Title!='申请'&&Title!='审核'
&&Title!='查看'
"
>
<span>
<span>
<em>
报名时间
</em>
<em>
报名时间
</em>
<el-date-picker
<el-date-picker
...
@@ -262,7 +262,7 @@
...
@@ -262,7 +262,7 @@
</el-date-picker>
</el-date-picker>
</span>
</span>
</li>
</li>
<li
style=
"line-height: 30px; padding-left: 30px;"
v-if=
"Title!='申请'&&Title!='审核'"
>
<li
style=
"line-height: 30px; padding-left: 30px;"
v-if=
"Title!='申请'&&Title!='审核'
&&Title!='查看'
"
>
<el-popover
width=
"350"
trigger=
"click"
>
<el-popover
width=
"350"
trigger=
"click"
>
<div
class=
"groupSuperSearchLayer"
>
<div
class=
"groupSuperSearchLayer"
>
<p
style=
"padding-bottom: 10px;"
>
订单高级查询
</p>
<p
style=
"padding-bottom: 10px;"
>
订单高级查询
</p>
...
@@ -391,11 +391,11 @@
...
@@ -391,11 +391,11 @@
v-loading=
"loading"
v-loading=
"loading"
@
success=
"msg.pageIndex=1,msg2.pageIndex=1,GetList()"
>
</OrderList>
@
success=
"msg.pageIndex=1,msg2.pageIndex=1,GetList()"
>
</OrderList>
<div
v-if=
"OrderList&&OrderList.length==0"
style=
"text-align: center;padding: 100px;"
>
暂无数据
</div>
<div
v-if=
"OrderList&&OrderList.length==0"
style=
"text-align: center;padding: 100px;"
>
暂无数据
</div>
<el-pagination
v-if=
"OrderList&&OrderList.length>0&&pagesTitle!='审核'"
background
<el-pagination
v-if=
"OrderList&&OrderList.length>0&&pagesTitle!='审核'
&&pagesTitle!='查看'
"
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
</el-pagination>
</el-pagination>
<el-pagination
v-if=
"OrderList&&OrderList.length>0&&
pagesTitle=='审核'
"
background
<el-pagination
v-if=
"OrderList&&OrderList.length>0&&
(pagesTitle=='审核'||pagesTitle=='查看')
"
background
@
current-change=
"handleCurrentChange2"
:current-page
.
sync=
"currentPage2"
@
current-change=
"handleCurrentChange2"
:current-page
.
sync=
"currentPage2"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg2.pageSize"
:total=
total2
>
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg2.pageSize"
:total=
total2
>
</el-pagination>
</el-pagination>
...
@@ -732,13 +732,16 @@
...
@@ -732,13 +732,16 @@
url
=
"CarSingle_post_GetChangePriceOrderPageList"
url
=
"CarSingle_post_GetChangePriceOrderPageList"
this
.
msg
.
IsMyOrder
=
'1'
this
.
msg
.
IsMyOrder
=
'1'
this
.
msg
.
Q_IsCollect
=
'2'
this
.
msg
.
Q_IsCollect
=
'2'
}
else
if
(
this
.
pagesTitle
==
'审核'
){
}
else
if
(
this
.
pagesTitle
==
'审核'
||
this
.
pagesTitle
==
'查看'
){
url
=
"CarSingle_post_GetExaminePriceOrderPageList"
url
=
"CarSingle_post_GetExaminePriceOrderPageList"
}
else
{
}
else
{
this
.
msg
.
TicketStatus
=
''
this
.
msg
.
TicketStatus
=
''
this
.
msg
.
IsMyOrder
=
'0'
this
.
msg
.
IsMyOrder
=
'0'
}
}
msgObj
=
this
.
pagesTitle
==
'审核'
?
this
.
msg2
:
this
.
msg
msgObj
=
(
this
.
pagesTitle
==
'审核'
||
this
.
pagesTitle
==
'查看'
)?
this
.
msg2
:
this
.
msg
if
(
this
.
pagesTitle
==
'查看'
){
msgObj
.
TicketStatus
=
5
;
}
this
.
apipost
(
url
,
msgObj
,
this
.
apipost
(
url
,
msgObj
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
@@ -749,7 +752,7 @@
...
@@ -749,7 +752,7 @@
}
}
let
data
=
res
.
data
.
data
.
pageData
let
data
=
res
.
data
.
data
.
pageData
this
.
OrderList
=
data
;
this
.
OrderList
=
data
;
if
(
this
.
pagesTitle
==
'审核'
){
if
(
this
.
pagesTitle
==
'审核'
||
this
.
Title
==
'查看'
){
this
.
total2
=
res
.
data
.
data
.
count
;
this
.
total2
=
res
.
data
.
data
.
count
;
}
else
{
}
else
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
...
@@ -846,9 +849,9 @@
...
@@ -846,9 +849,9 @@
},
},
mounted
()
{
mounted
()
{
this
.
Title
=
this
.
pagesTitle
this
.
Title
=
this
.
pagesTitle
if
(
this
.
Title
==
'OP'
||
this
.
Title
==
'审核'
){
if
(
this
.
Title
==
'OP'
||
this
.
Title
==
'审核'
||
this
.
Title
==
'查看'
){
this
.
getEmployee
()
this
.
getEmployee
()
if
(
this
.
Title
==
'审核'
){
if
(
this
.
Title
==
'审核'
||
this
.
Title
==
'查看'
){
this
.
getCompany
()
this
.
getCompany
()
}
}
}
}
...
...
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