Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe
·
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
Plain Diff
Browse Files
Authored by
weiqingting
2016-03-17 18:04:42 +0800
Commit
372a03c40c81e02bd0067c4a0300398109a7e844
2 parents
e9983c98
e3fa29bc
Merge branch 'release/1.6' of
http://git.dev.yoho.cn/platform/yohobuy-portal-fe
into release/1.6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
client/js/market/productPool.js
server/views/pages/market/productPool.html
client/js/market/productPool.js
View file @
372a03c
...
...
@@ -53,9 +53,13 @@ var $ = require('jquery'),
__type
:
"batch-import"
},
onComplete
:
function
(
res
){
util
.
__tip
(
"上传成功"
,
'success'
);
if
(
res
.
code
==
200
)
{
util
.
__tip
(
res
.
message
,
'success'
);
$
(
"#sknVal"
).
val
(
JSON
.
stringify
(
res
.
data
.
productSkn
));
$
(
"#path"
).
val
(
$
(
"#productSkn"
).
val
());
}
else
{
util
.
__tip
(
res
.
message
);
}
}
});
...
...
server/views/pages/market/productPool.html
View file @
372a03c
...
...
@@ -74,8 +74,8 @@
<
div
class
=
"col-sm-6"
>
<
input
id
=
"path"
class
=
"form-control"
type
=
"text"
disabled
=
"disabled"
style
=
"cursor:default"
>
<
/div
>
<
div
class
=
"col-sm-4"
>
<
input
id
=
"productSkn"
name
=
"productSkn"
class
=
"btn btn-default excel-upload"
type
=
"file"
>
<
div
class
=
"col-sm-4"
style
=
"position: relative"
>
<
input
id
=
"productSkn"
name
=
"productSkn"
class
=
"btn btn-default excel-upload"
type
=
"file"
style
=
"position: absolute; top: 0;left: 0;"
>
<
div
class
=
"file-name btn btn-default"
>
请选择文件
<
/div
>
<
input
type
=
"hidden"
id
=
"sknVal"
/>
<
/div
>
...
...
Please
register
or
login
to post a comment