Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saas-manage
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chehuidong
saas-manage
Commits
26ced3ba
Commit
26ced3ba
authored
Dec 30, 2024
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sku修改
parent
731def42
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
10 deletions
+37
-10
src/views/system/sku-sort.vue
+37
-10
No files found.
src/views/system/sku-sort.vue
View file @
26ced3ba
...
...
@@ -239,6 +239,7 @@
<
script
>
import
axios
from
'../../common/api/axios'
import
MyTable
from
'@/common/components/base/tableView.vue'
export
default
{
name
:
'system_sku-sort'
,
components
:
{
...
...
@@ -296,8 +297,16 @@ export default {
computed
:
{
tableColumns
()
{
return
[
{
label
:
'中文名'
,
key
:
'cnname'
,
align
:
'left'
}
,
{
label
:
'英文名'
,
key
:
'enname'
,
align
:
'left'
}
,
{
label
:
'中文名'
,
key
:
'cnname'
,
align
:
'left'
}
,
{
label
:
'英文名'
,
key
:
'enname'
,
align
:
'left'
}
,
{
label
:
'sku属性'
,
key
:
'skuProperty'
,
...
...
@@ -536,8 +545,11 @@ export default {
this
.
getList
()
}
,
currentTabFn
(
val
)
{
if
(
val
)
this
.
formId
=
val
.
id
else
this
.
formId
=
null
if
(
val
)
{
this
.
formId
=
val
.
id
}
else
{
this
.
formId
=
null
}
}
,
selectionChange
(
selection
)
{
this
.
selection
=
selection
...
...
@@ -585,7 +597,10 @@ export default {
// 查询
getList
()
{
this
.
searchLoading
=
true
const
{
pageSize
,
currentPage
}
=
this
.
paginationOptions
const
{
pageSize
,
currentPage
}
=
this
.
paginationOptions
axios
.
get
(
'baseProperty/list_page'
,
{
params
:
{
...
...
@@ -643,7 +658,10 @@ export default {
}
)
}
)
axios
.
post
(
url
,
{
...
this
.
addcurrencyform
,
propertyValueIds
}
)
.
post
(
url
,
{
...
this
.
addcurrencyform
,
propertyValueIds
}
)
.
then
((
res
)
=>
{
// eslint-disable-next-line eqeqeq
if
(
res
.
code
==
200
)
{
...
...
@@ -698,8 +716,11 @@ export default {
// 删除
deleteSection
(
v
)
{
let
arr
=
[]
if
(
v
)
arr
.
push
(
v
)
else
arr
=
this
.
selection
if
(
v
)
{
arr
.
push
(
v
)
}
else
{
arr
=
this
.
selection
}
const
leng
=
arr
.
length
if
(
leng
===
0
)
{
return
this
.
$message
(
'请勾选至少一条记录'
)
...
...
@@ -756,6 +777,7 @@ export default {
.
prop
-
checkbox
{
margin
-
top
:
10
px
;
&
::
v
-
deep
{
.
el
-
checkbox__label
{
font
-
size
:
12
px
;
...
...
@@ -780,6 +802,7 @@ export default {
}
}
}
.
prop
-
label
{
font
-
size
:
16
px
;
font
-
weight
:
bold
;
...
...
@@ -840,7 +863,7 @@ export default {
}
.
customsize
-
label
.
el
-
select
-
dropdown
.
is
-
multiple
.
el
-
select
-
dropdown__item
.
selected
::
after
{
.
el
-
select
-
dropdown__item
.
selected
::
after
{
content
:
''
;
display
:
none
;
}
...
...
@@ -865,11 +888,15 @@ export default {
.
custom
-
dialog
.
el
-
dialog__body
{
height
:
600
px
;
}
.
close
-
icon
.
el
-
icon
-
close
::
before
{
border
:
1
px
solid
red
;
padding
:
1
px
;
border
-
radius
:
50
%
;
color
:
black
;
color
:
white
;
background
-
color
:
red
;
position
:
relative
;
z
-
index
:
3
;
font
-
size
:
10
px
;
}
<
/style
>
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