Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
b64e299a
Commit
b64e299a
authored
Jul 19, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
办公室 门店
parent
e565fb5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
costOffice.js
public/resource/js/costOffice.js
+6
-0
No files found.
public/resource/js/costOffice.js
View file @
b64e299a
...
@@ -67,6 +67,9 @@ define(['doT', 'text!temp/cost_office_template_tpl.html','text!temp/storeBinding
...
@@ -67,6 +67,9 @@ define(['doT', 'text!temp/cost_office_template_tpl.html','text!temp/storeBinding
});
});
//解绑门店
//解绑门店
$
(
document
).
delegate
(
".is_jiebang"
,
"click"
,
function
()
{
$
(
document
).
delegate
(
".is_jiebang"
,
"click"
,
function
()
{
if
(
!
confirm
(
'是否继续?'
))
{
return
;
}
cost
.
store_id
=
$
(
this
).
attr
(
'data-id'
);
cost
.
store_id
=
$
(
this
).
attr
(
'data-id'
);
that
.
delStore
();
that
.
delStore
();
});
});
...
@@ -186,6 +189,7 @@ define(['doT', 'text!temp/cost_office_template_tpl.html','text!temp/storeBinding
...
@@ -186,6 +189,7 @@ define(['doT', 'text!temp/cost_office_template_tpl.html','text!temp/storeBinding
if
(
data
.
code
==
200
){
if
(
data
.
code
==
200
){
// $('.modal').modal("hide");
// $('.modal').modal("hide");
cost
.
storeList
();
cost
.
storeList
();
cost
.
getList
();
}
}
alert
(
data
.
msg
)
alert
(
data
.
msg
)
}
}
...
@@ -206,6 +210,8 @@ define(['doT', 'text!temp/cost_office_template_tpl.html','text!temp/storeBinding
...
@@ -206,6 +210,8 @@ define(['doT', 'text!temp/cost_office_template_tpl.html','text!temp/storeBinding
if
(
data
.
code
==
200
){
if
(
data
.
code
==
200
){
// $('.modal').modal("hide");
// $('.modal').modal("hide");
cost
.
storeList
();
cost
.
storeList
();
cost
.
getList
();
}
}
alert
(
data
.
msg
)
alert
(
data
.
msg
)
}
}
...
...
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