Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe2
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuhongyun
6 years ago
Commit
79ae8d84e1e7c0c17964d89de63ce79266de4775
1 parent
cfecbe92
build
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
15 deletions
dist/yohobuy-portal-fe/5.0.2/jquery/goods.netsale.Edit.js
server/views/goods/netsale/__partail/basic_info.html
server/views/goods/netsale/__partail/goods_params.html
dist/yohobuy-portal-fe/5.0.2/jquery/goods.netsale.Edit.js
View file @
79ae8d8
...
...
@@ -13558,7 +13558,6 @@ webpackJsonp([47],{
util
.
__tip
(
tipText
,
'warning'
);
}
else
{
submitForm
();
submitPropertySave
();
saveNetSaleSearchKeys
();
}
}
...
...
@@ -14900,8 +14899,6 @@ webpackJsonp([47],{
/*陈超*/
/**
* 挪到基本信息里去,成为搜索条件
var
ag
=
new
common
.
grid
({
el
:
"#attributeTable"
,
hash
:
false
,
...
...
@@ -14945,7 +14942,6 @@ webpackJsonp([47],{
});
},
true
);
*/
/*马力*/
var
ag2
=
new
common
.
grid
({
...
...
@@ -15035,12 +15031,11 @@ webpackJsonp([47],{
item
.
val
=
$
(
this
).
val
();
});
/**
$
(
document
).
on
(
"change"
,
"#attributeTable .attr_input"
,
function
()
{
var
item
=
ag
.
rows
[
$
(
this
).
data
(
"index"
)];
item
.
val
=
$
(
this
).
val
();
});
*/
$
(
document
).
on
(
"change"
,
"#goodsParamWrap .attr_checkobx_class"
,
function
()
{
var
item
=
ag2
.
rows
[
$
(
this
).
data
(
"index"
)];
...
...
@@ -15056,6 +15051,9 @@ webpackJsonp([47],{
/*保存*/
function
TYgoodsParams
(){
var
data
=
{};
if
(
!
ag
.
__edit
.
validate
(
true
))
{
return
ag
.
__edit
.
errMessage
;
}
if
(
!
ag2
.
__edit
.
validate
(
true
))
{
return
ag2
.
__edit
.
errMessage
;
}
...
...
@@ -15063,6 +15061,25 @@ webpackJsonp([47],{
return
ag3
.
__edit
.
errMessage
;
}
var
productStandardRelationStr
=
[];
if
(
ag
.
rows
.
length
>
0
)
{
for
(
var
i
in
ag
.
rows
)
{
if
(
ag
.
rows
[
i
].
val
)
{
var
idNameList
=
ag
.
rows
[
i
].
idNameList
;
for
(
var
x
in
idNameList
)
{
if
(
ag
.
rows
[
i
].
val
==
idNameList
[
x
].
id
)
{
productStandardRelationStr
.
push
({
standardId
:
ag
.
rows
[
i
].
attributeId
,
standardVal
:
idNameList
[
x
].
text
,
parameterMakeId
:
idNameList
[
x
].
id
});
}
}
}
}
}
data
.
productStandardRelationStr
=
JSON
.
stringify
(
productStandardRelationStr
);
var
goodsParamArr
=
[];
if
(
ag2
.
rows
.
length
>
0
)
{
for
(
var
i
in
ag2
.
rows
)
{
...
...
server/views/goods/netsale/__partail/basic_info.html
View file @
79ae8d8
...
...
@@ -64,13 +64,7 @@
<
div
class
=
"form-group"
>
<
label
class
=
"col-sm-1"
>
搜索商品名称:
<
/label
>
<
div
class
=
"col-sm-11"
>
[[
brandName
]]
-
[[
shopName
]]
-
[[
maxSortName
]]
-
[[
middleSortName
]]
-
[[
middleSortName
]]
-
[[
smallSortName
]]
-
[[
gender
]]
-
<
span
id
=
"productStandardRelationSelected"
><
/span
>
<
div
class
=
"col-sm-12"
style
=
"padding: 10px 10px 10px 0px;"
>
搜索名称用于使商品在搜索结果页搜索到,建议完成以下内容,提高商品在搜索结果页的排序
<
/div
>
<
div
id
=
"goodsParamWrap4"
style
=
"padding: 10px 0 20px 0px;"
><
/div
>
[[
brandName
]]
-
[[
shopName
]]
-
[[
maxSortName
]]
-
[[
middleSortName
]]
-
[[
smallSortName
]]
-
[[
gender
]]
<
input
id
=
"searchKeys"
class
=
"form-control"
placeholder
=
"自定义内容"
type
=
"text"
value
=
"[[productExtBo.searchKeys]]"
required
maxlength
=
"100"
>
...
...
server/views/goods/netsale/__partail/goods_params.html
View file @
79ae8d8
...
...
@@ -7,8 +7,8 @@
<h2
class=
"panel-title"
>
商品参数
</h2>
</div>
<div
class=
"panel-body"
>
<!--<div id="attributeTable" class="panel-body nopadding">-->
<!--</div>-->
<div
id=
"attributeTable"
class=
"panel-body nopadding"
>
</div>
<div
id=
"goodsParamWrap"
class=
"panel-body nopadding"
>
</div>
<div
id=
"goodsParamWrap2"
class=
"panel-body nopadding"
>
...
...
Please
register
or
login
to post a comment