记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
19edf425
Commit
19edf425
authored
Jan 19, 2022
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改创建分类下拉显示问题
parent
50c3ea96
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
26 deletions
+12
-26
setGoodsRole.html
...s/templates/zhengzai/store/placingOrder/setGoodsRole.html
+12
-26
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/setGoodsRole.html
View file @
19edf425
...
@@ -110,51 +110,39 @@
...
@@ -110,51 +110,39 @@
// width: '80'
// width: '80'
// },
// },
{
{
field
:
'
bindTyp
e'
,
field
:
'
pric
e'
,
title
:
'原价'
,
title
:
'原价'
,
width
:
'100'
,
width
:
'100'
,
align
:
'center'
,
align
:
'center'
formatter
:
function
(
value
,
row
,
index
)
{
return
'299999999'
}
},
},
{
{
field
:
'bindType'
,
field
:
'bindType'
,
title
:
'其他活动占用库存'
,
title
:
'其他活动占用库存'
,
width
:
'120'
,
width
:
'120'
,
align
:
'center'
,
align
:
'center'
formatter
:
function
(
value
,
row
,
index
)
{
return
'2021'
}
},
},
{
{
field
:
'bindType'
,
field
:
'bindType'
,
// title: `线下售价
<
a
onclick
=
"setPrice(1)"
>
批量
<
/a>`
,
// title: `线下售价
<
a
onclick
=
"setPrice(1)"
>
批量
<
/a>`
,
title
:
`线下售价`
,
title
:
`线下售价`
,
width
:
'150'
,
width
:
'150'
,
align
:
'center'
,
align
:
'center'
formatter
:
function
(
value
,
row
,
index
)
{
return
`<input id="price
${
index
}
" class='form-control' type='text' name='' value=''>`
}
},
},
{
{
field
:
'b
indType
'
,
field
:
'b
uyLimit
'
,
// title: '库存限量
<
a
onclick
=
"setPrice(2)"
>
批量
<
/a>'
,
// title: '库存限量
<
a
onclick
=
"setPrice(2)"
>
批量
<
/a>'
,
title
:
'库存限量'
,
title
:
'库存限量'
,
width
:
'150'
,
width
:
'150'
,
align
:
'center'
,
align
:
'center'
formatter
:
function
(
value
,
row
,
index
)
{
return
`<input id="goodsNum
${
index
}
" class='form-control' type='text' name='' value=''>`
}
},
},
{
{
field
:
'b
indType
'
,
field
:
'b
uyRoster
'
,
// title: '用户限购
<
a
onclick
=
"setPrice(3)"
>
批量
<
/a>'
,
// title: '用户限购
<
a
onclick
=
"setPrice(3)"
>
批量
<
/a>'
,
title
:
'用户限购'
,
title
:
'用户限购'
,
width
:
'150'
,
width
:
'150'
,
align
:
'center'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
formatter
:
function
(
value
,
row
)
{
return
`<input id="purchasing
${
index
}
" class='form-control' type='text' name='' value=''>`
}
}
},
},
{
{
...
@@ -180,10 +168,7 @@
...
@@ -180,10 +168,7 @@
let
obj
=
{
let
obj
=
{
field
:
''
,
field
:
''
,
title
:
''
,
title
:
''
,
align
:
'center'
,
align
:
'center'
formatter
:
function
(
value
,
row
)
{
return
'七彩湛蓝色'
}
}
}
columnsData
.
forEach
((
item
,
index
)
=>
{
columnsData
.
forEach
((
item
,
index
)
=>
{
obj
.
field
=
'specVname'
+
index
+
''
;
obj
.
field
=
'specVname'
+
index
+
''
;
...
@@ -193,7 +178,7 @@
...
@@ -193,7 +178,7 @@
}
}
datas
=
data
.
map
(
item
=>
{
datas
=
data
.
map
(
item
=>
{
item
.
skuSpecList
.
forEach
((
d
,
i
)
=>
[
item
.
skuSpecList
.
forEach
((
d
,
i
)
=>
[
item
[
'specVname'
+
i
+
''
]
=
d
.
spec
N
ame
item
[
'specVname'
+
i
+
''
]
=
d
.
spec
Vn
ame
])
])
return
item
return
item
})
})
...
@@ -216,6 +201,7 @@
...
@@ -216,6 +201,7 @@
data
:
datas
,
data
:
datas
,
columns
:
column
columns
:
column
};
};
console
.
log
(
options
)
$
.
table
.
init
(
options
);
$
.
table
.
init
(
options
);
}
}
...
...
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