Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
247525b7
authored
Jul 03, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
b12a2996
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
dist/js/goodmanage/index.js
dist/js/goodmanage/index.js
View file @
247525b7
!
function
()
{
window
.
GoodManageController
=
{
init
:
function
()
{
this
.
created
(
this
).
mounted
(
this
).
render
(
this
,
{
offset
:
10
,
p
:
1
},
1
).
handleBind
(
this
);
this
.
created
(
this
).
mounted
(
this
).
render
(
this
,
{
offset
:
10
,
p
:
1
,
token
:
Util
.
getCookie
(
'token'
)
||
''
},
1
).
handleBind
(
this
);
},
created
:
function
(
opt
)
{
...
...
@@ -21,7 +21,7 @@
mounted
:
function
(
opt
)
{
//商品数量获取
IcController
.
getData
(
apis
.
goodsCount
,
'
POST'
,
null
,
function
(
res
)
{
IcController
.
getData
(
apis
.
goodsCount
,
'
GET'
,
{
token
:
Util
.
getCookie
(
'token'
)
||
''
}
,
function
(
res
)
{
if
(
res
.
errcode
==
0
)
{
...
...
@@ -43,7 +43,7 @@
render
:
function
(
opt
,
params
,
curr
)
{
//商品列表初始化
IcController
.
getData
(
apis
.
goodsInfo
,
'
POS
T'
,
params
,
function
(
res
)
{
IcController
.
getData
(
apis
.
goodsInfo
,
'
GE
T'
,
params
,
function
(
res
)
{
var
getTpl
=
listHtml
.
innerHTML
;
...
...
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