Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 41797ade
authored
Sep 04, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
BUG修复
1 parent
00fda0c2
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
103 additions
and
49 deletions
src/common/constants.js
src/views/goods/coupons/reservationDialog.vue
src/views/goods/coupons/scheduling.vue
src/views/goods/coupons/workSetDialog.vue
src/views/invoiceManage/components/editRuleDialog.vue
src/views/invoiceManage/components/inputRange.vue
src/views/invoiceManage/ruleChangeSet.vue
src/views/orderManage/orderDetail.vue
src/common/constants.js
View file @
41797ad
...
...
@@ -1475,7 +1475,8 @@ export const scheduling_inviteStatus = [
{
confId
:
1
,
confValue
:
"待预约"
},
{
confId
:
2
,
confValue
:
"已预约"
},
{
confId
:
3
,
confValue
:
"取消预约"
},
{
confId
:
4
,
confValue
:
"超时未到店"
},
{
confId
:
5
,
confValue
:
"已施工"
},
{
confId
:
6
,
confValue
:
"已撤销"
}
{
confId
:
4
,
confValue
:
"已施工"
},
{
confId
:
5
,
confValue
:
"超时未到店"
},
{
confId
:
6
,
confValue
:
"已撤销"
},
{
confId
:
7
,
confValue
:
"已支付"
}
]
src/views/goods/coupons/reservationDialog.vue
View file @
41797ad
...
...
@@ -202,6 +202,12 @@ export default {
params
.
inviteDateStr
=
params
.
dateTime
+
' '
+
params
.
times
+
':00'
delete
params
.
dateTime
delete
params
.
times
const
targetTime
=
new
Date
(
params
.
inviteDateStr
).
getTime
()
// 转为时间戳
const
now
=
new
Date
().
getTime
()
// 当前时间戳
if
(
targetTime
<
now
)
{
this
.
$message
.
warning
(
'预约时间不能选择已过去的时间'
)
return
}
dateUpdate
(
params
).
then
(
res
=>
{
this
.
notice
.
okTips
(
'操作成功'
)
this
.
dialogShow
=
true
...
...
src/views/goods/coupons/scheduling.vue
View file @
41797ad
...
...
@@ -69,8 +69,20 @@
</div>
<
template
slot=
"auth-button"
slot-scope=
"scope"
>
<auth-button
:show-btn-ids=
"['9030607', '9030608']"
:data=
"scope.scope"
/>
<!--
<auth-button
:show-btn-ids=
"['9030607', '9030608']"
:data=
"scope.scope"
/>
-->
<!-- 预约时间 -->
<span
style=
"margin-right: 10px;"
v-if=
"[1,2,3,5].includes(scope.scope.inviteStatus)"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9030607']"
/>
</span>
<!-- 备注 -->
<span
style=
"margin-right: 10px;"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9030608']"
/>
</span>
</
template
>
</d2-table>
</div>
...
...
@@ -209,9 +221,10 @@ export default {
1
:
'orgenSpot'
,
2
:
'greenSpot'
,
3
:
'redSpot'
,
4
:
'redSpot'
,
5
:
'greenSpot'
,
6
:
'ashSpot'
4
:
'greenSpot'
,
5
:
'redSpot'
,
6
:
'ashSpot'
,
7
:
'greenSpot'
}[
cellValue
.
inviteStatus
]
}
},
{
...
...
src/views/goods/coupons/workSetDialog.vue
View file @
41797ad
...
...
@@ -20,8 +20,8 @@
@
change=
"inviteStationSetGet"
>
<el-option
v-for=
"(item, key) in baseData.yqMerchantList"
:key=
"key"
:label=
"item.
m
erchantName"
:value=
"item.
m
erchantId"
>
:label=
"item.
yqM
erchantName"
:value=
"item.
yqM
erchantId"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -168,10 +168,20 @@ export default {
this
.
infoForm
.
saturdayFlag
=
item
.
saturdayFlag
this
.
infoForm
.
sundayFlag
=
item
.
sundayFlag
})
}
else
{
this
.
resetData
()
// 如果返回数据为空,则重置数据
}
})
},
resetData
()
{
this
.
infoForm
.
saturdayFlag
=
'N'
this
.
infoForm
.
sundayFlag
=
'N'
this
.
infoForm
.
workItem
.
forEach
(
item
=>
{
item
.
maxCount
=
0
})
},
yqMerchantPage
()
{
yqMerchantPage
({
currentPage
:
1
,
pageSize
:
99999
}).
then
((
res
)
=>
{
this
.
baseData
.
yqMerchantList
=
res
.
list
...
...
src/views/invoiceManage/components/editRuleDialog.vue
View file @
41797ad
...
...
@@ -37,7 +37,7 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"月开票总额上限/元:"
prop=
"monthlyLimit"
>
<el-input
placeholder=
"请填写"
<el-input
placeholder=
"请填写
(单位:元)
"
v-model=
"infoForm.monthlyLimit"
class=
"default-width"
clearable
...
...
@@ -67,13 +67,11 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"预警通知邮箱:"
prop=
"warningEmails"
>
<el-input
placeholder=
"请
输入邮箱地址,多个用英文逗号分隔
"
<el-input
placeholder=
"请
填写(多邮箱用逗号隔开,最多五个)
"
v-model=
"infoForm.warningEmails"
class=
"default-width"
maxlength=
"200"
show-word-limit
clearable
@
change=
"changeEmails"
>
clearable
>
</el-input>
</el-form-item>
</el-col>
...
...
@@ -84,7 +82,7 @@
<div
class=
"div-optShow-content"
>
当前开票主体
<span
class=
"contentSpan"
>
{{
infoForm
.
invoiceSubjectName
}}
</span>
,
月开票额上限达到
<span
class=
"contentSpan"
>
{{
infoForm
.
monthlyLimitShow
}}
</span>
时,
切换开票主体为
<span
class=
"contentSpan"
>
{{
infoForm
.
switchSubjectName
}}
</span>
时
,
切换开票主体为
<span
class=
"contentSpan"
>
{{
infoForm
.
switchSubjectName
}}
</span>
,
并邮件通知
<span
class=
"contentSpan"
>
{{
infoForm
.
warningEmailsShow
}}
</span>
</div>
</div>
...
...
@@ -157,8 +155,10 @@ export default {
mounted
()
{
this
.
getSaleCompany
()
if
(
this
.
paramsObj
)
{
this
.
dialogConfig
.
config
.
title
=
"修改规则"
this
.
getByIdForRule
()
}
else
{
this
.
dialogConfig
.
config
.
title
=
"新增规则"
this
.
loading
=
false
}
},
...
...
@@ -199,13 +199,8 @@ export default {
}
return
{
dialogConfig
:
{
// setting: {
// showClose: true,
// appendToBody: false,
// btnList: []
// },
config
:
{
title
:
"新增/修改规则"
,
title
:
''
,
width
:
"1080px"
}
},
...
...
@@ -268,6 +263,23 @@ export default {
actionOpt
:
deepClone
(
actionOpt
)
}
},
watch
:
{
'infoForm.monthlyLimit'
(
val
)
{
// 实时更新展示值,即使未失去焦点
if
(
val
)
{
this
.
infoForm
.
monthlyLimitShow
=
val
}
else
{
this
.
infoForm
.
monthlyLimitShow
=
'__________'
}
},
'infoForm.warningEmails'
(
val
)
{
if
(
val
)
{
this
.
infoForm
.
warningEmailsShow
=
val
}
else
{
this
.
infoForm
.
warningEmailsShow
=
'__________'
}
}
},
methods
:
{
beforeSearchFn
()
{
return
new
Promise
((
resolve
)
=>
{
...
...
@@ -280,8 +292,8 @@ export default {
getByIdForRule
()
{
getByIdForRule
({
id
:
this
.
paramsObj
.
id
}).
then
((
res
)
=>
{
this
.
infoForm
=
res
this
.
infoForm
.
monthlyLimitShow
=
deepClone
(
this
.
infoForm
.
monthlyLimit
)
this
.
infoForm
.
warningEmailsShow
=
deepClone
(
this
.
infoForm
.
warningEmails
)
this
.
infoForm
.
monthlyLimitShow
=
deepClone
(
res
.
monthlyLimit
)
this
.
infoForm
.
warningEmailsShow
=
deepClone
(
res
.
warningEmails
)
this
.
loading
=
false
})
},
...
...
@@ -298,13 +310,6 @@ export default {
changeSwitchSubject
(
val
)
{
this
.
infoForm
.
switchSubjectName
=
this
.
options
.
find
(
item
=>
item
.
companyCode
===
val
).
companyName
},
changeEmails
(
val
)
{
if
(
val
)
{
this
.
infoForm
.
warningEmailsShow
=
val
}
else
{
this
.
infoForm
.
warningEmailsShow
=
'__________'
}
},
handleUpgradeNum
(
newVal
)
{
this
.
infoForm
.
monthlyLimit
=
limitPrice
(
...
...
@@ -316,11 +321,6 @@ export default {
999999999999999999
)
this
.
oldVal
.
monthlyLimit
=
this
.
infoForm
.
monthlyLimit
if
(
this
.
infoForm
.
monthlyLimit
)
{
this
.
infoForm
.
monthlyLimitShow
=
this
.
infoForm
.
monthlyLimit
}
else
{
this
.
infoForm
.
monthlyLimitShow
=
'__________'
}
},
handleAddConfirm
()
{
...
...
@@ -329,7 +329,6 @@ export default {
var
params
=
deepClone
(
this
.
infoForm
)
// 提交前清理末尾逗号
params
.
warningEmails
=
params
.
warningEmails
.
trim
().
replace
(
/,+$/
,
''
)
// return console.log('params', params)
if
(
this
.
paramsObj
&&
this
.
paramsObj
.
id
)
{
params
.
id
=
this
.
paramsObj
.
id
updateRule
(
params
).
then
(
res
=>
{
...
...
src/views/invoiceManage/components/inputRange.vue
View file @
41797ad
...
...
@@ -132,17 +132,19 @@ export default {
contrastValue
()
{
const
val
=
this
.
userInput
if
(
Array
.
isArray
(
val
))
{
if
(
val
[
0
]
==
'-'
)
{
if
(
val
[
0
]
==
'-'
)
{
val
[
0
]
=
null
}
if
(
val
[
1
]
==
'-'
)
{
if
(
val
[
1
]
==
'-'
)
{
val
[
1
]
=
null
}
if
(
+
val
[
0
]
>
+
val
[
1
])
{
val
[
1
]
=
null
this
.
tipsShow
=
true
}
else
{
this
.
tipsShow
=
false
if
(
val
[
0
]
&&
val
[
1
])
{
if
(
+
val
[
0
]
>
+
val
[
1
])
{
val
[
1
]
=
null
this
.
tipsShow
=
true
}
else
{
this
.
tipsShow
=
false
}
}
}
}
...
...
src/views/invoiceManage/ruleChangeSet.vue
View file @
41797ad
...
...
@@ -254,8 +254,8 @@ export default {
delete
this
.
searchFormSearch
.
endDate
}
if
(
this
.
searchFormSearch
.
monthlyLimit
&&
this
.
searchFormSearch
.
monthlyLimit
.
length
>
0
)
{
this
.
searchFormSearch
.
monthlyLimitMin
=
this
.
searchFormSearch
.
monthlyLimit
[
0
]
this
.
searchFormSearch
.
monthlyLimitMax
=
this
.
searchFormSearch
.
monthlyLimit
[
1
]
this
.
searchFormSearch
.
monthlyLimitMin
=
this
.
searchFormSearch
.
monthlyLimit
[
0
]
||
''
this
.
searchFormSearch
.
monthlyLimitMax
=
this
.
searchFormSearch
.
monthlyLimit
[
1
]
||
''
}
else
{
delete
this
.
searchFormSearch
.
monthlyLimitMin
delete
this
.
searchFormSearch
.
monthlyLimitMax
...
...
src/views/orderManage/orderDetail.vue
View file @
41797ad
...
...
@@ -972,9 +972,16 @@ export default {
},
handleCarFileUpload
(
obj
)
{
// console.log('url', url)
// url && downLoadFile(url)
this
.
downloadPDF
(
obj
)
this
.
$confirm
(
'是否确定下载文件?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
closeOnClickModal
:
false
}).
then
(()
=>
{
this
.
downloadPDF
(
obj
)
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
},
handleCarFilePreview
(
url
)
{
...
...
@@ -1210,4 +1217,20 @@ export default {
opacity
:
1
;
background
:
#f4f6f7
;
}
.m-l-md
{
margin-left
:
20px
;
}
.import-btn
{
position
:
relative
;
}
.import-input
{
opacity
:
0
;
position
:
absolute
;
right
:
0
;
top
:
0
;
width
:
98px
;
height
:
36px
;
cursor
:
pointer
;
font-size
:
0
;
}
</
style
>
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