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
31c9f8d9
Commit
31c9f8d9
authored
Sep 06, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
置空
parent
c2a87919
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
reportListShop.js
public/resource/js/reportListShop.js
+12
-1
No files found.
public/resource/js/reportListShop.js
View file @
31c9f8d9
...
@@ -284,6 +284,11 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
...
@@ -284,6 +284,11 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
$
(
'#modal_new_maid'
).
removeAttr
(
'data-id'
).
find
(
'.modal-title'
).
html
(
'新增分佣提成'
);
$
(
'#modal_new_maid'
).
removeAttr
(
'data-id'
).
find
(
'.modal-title'
).
html
(
'新增分佣提成'
);
$
(
'#addmaid_input_ywy'
).
val
(
''
);
//先置空
$
(
'#addmaid_input_shop'
).
val
(
''
);
//先置空
$
(
'#addmaid_input_ratio'
).
val
(
''
);
//先置空
$
(
'#addmaid_input_cash'
).
val
(
''
);
//先置空
$
(
'#addmaid_input_servant'
).
val
(
''
);
//先置空
bargain
.
newAddMaid
();
bargain
.
newAddMaid
();
});
});
//中介费 类型切换 多收 正常
//中介费 类型切换 多收 正常
...
@@ -309,6 +314,12 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
...
@@ -309,6 +314,12 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
e
.
stopPropagation
();
e
.
stopPropagation
();
var
_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
'data-id'
);
var
_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
'data-id'
);
$
(
'#modal_new_maid'
).
attr
(
'data-id'
,
_id
).
find
(
'.modal-title'
).
html
(
'编辑分佣提成'
);
$
(
'#modal_new_maid'
).
attr
(
'data-id'
,
_id
).
find
(
'.modal-title'
).
html
(
'编辑分佣提成'
);
$
(
'#addmaid_input_ywy'
).
val
(
''
);
//先置空
$
(
'#addmaid_input_shop'
).
val
(
''
);
//先置空
$
(
'#addmaid_input_ratio'
).
val
(
''
);
//先置空
$
(
'#addmaid_input_cash'
).
val
(
''
);
//先置空
$
(
'#addmaid_input_servant'
).
val
(
''
);
//先置空
bargain
.
newAddMaid
(
function
(){
bargain
.
newAddMaid
(
function
(){
bargain
.
getMaidInfo
(
_id
);
bargain
.
getMaidInfo
(
_id
);
});
});
...
@@ -1602,7 +1613,7 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
...
@@ -1602,7 +1613,7 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
success
:
function
(
_data
)
{
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
alert
(
'编辑成功!请在离开页面时点击【保存】按钮'
);
layerTipsX
(
'编辑成功!请在离开页面时点击【保存】按钮'
);
bargain
.
maidShow
();
bargain
.
maidShow
();
}
else
{
}
else
{
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