Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
viitto
pptist
Commits
6e2ec99c
Commit
6e2ec99c
authored
Jan 05, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化销售 首页 选项
parent
5fe29047
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
SellTemplate.vue
src/views/SellTemplate/SellTemplate.vue
+10
-2
No files found.
src/views/SellTemplate/SellTemplate.vue
View file @
6e2ec99c
...
...
@@ -6,7 +6,7 @@
<template
v-for=
"item in TemplateTypeList"
>
<el-button
type=
"primary"
:plain=
"queryObj.TemplateType==item.Id?false:true"
size=
"small"
@
click=
"
queryObj.TemplateType=item.Id,querySearchHandler(
)"
>
@
click=
"
setTemplateType(item.Id
)"
>
{{
item
.
Name
}}
</el-button>
</
template
>
...
...
@@ -115,12 +115,14 @@
const
searchData
=
ref
({}
as
any
)
searchData
.
value
=
inject
(
injectKeyTemplate
)
const
deleteLoading
=
ref
<
any
>
(
null
)
let
TemplateType
=
0
if
(
searchData
.
value
.
SellTemplateType
)
TemplateType
=
searchData
.
value
.
SellTemplateType
const
queryObj
=
reactive
({
Title
:
''
,
pageIndex
:
1
,
pageSize
:
20
,
pageCount
:
0
,
//总页数
TemplateType
:
0
,
TemplateType
:
TemplateType
,
})
searchData
.
value
.
sellId
=
0
const
dataList
=
ref
([]
as
Array
<
any
>
);
...
...
@@ -136,6 +138,12 @@
activeId
:
1
,
}
})
const
setTemplateType
=
(
Id
:
number
)
=>
{
console
.
log
(
Id
)
queryObj
.
TemplateType
=
Id
searchData
.
value
.
SellTemplateType
=
Id
querySearchHandler
()
}
const
DeleteTemplate
=
async
(
item
:
any
)
=>
{
ElMessageBox
.
confirm
(
'此操作将删除该模版,是否确定?'
,
...
...
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