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
fc5fcf4e
Commit
fc5fcf4e
authored
Sep 12, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款记录 删除按钮
parent
290ecf36
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
getCollection.html
application/index/view/collection/getCollection.html
+2
-2
getCollection.js
public/resource/js/getCollection.js
+6
-2
get_collection_template_tpl.html
public/resource/template/get_collection_template_tpl.html
+4
-2
No files found.
application/index/view/collection/getCollection.html
View file @
fc5fcf4e
...
@@ -426,9 +426,9 @@
...
@@ -426,9 +426,9 @@
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"confirm_delete"
>
<button
type=
"button"
class=
"btn btn-primary"
id=
"confirm_delete"
data-dismiss=
"modal"
>
删除
删除
</button>
</button>
</div>
</div>
...
...
public/resource/js/getCollection.js
View file @
fc5fcf4e
...
@@ -441,13 +441,17 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
...
@@ -441,13 +441,17 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
// 删除收款记录
// 删除收款记录
delete_collection
:
function
(
params
)
{
delete_collection
:
function
(
params
)
{
$
.
ajax
({
$
.
ajax
({
url
:
'/index/
getDistrictStoreList
'
,
url
:
'/index/
updatePayLog
'
,
type
:
'POST'
,
type
:
'POST'
,
async
:
true
,
async
:
true
,
data
:
params
,
data
:
params
,
dataType
:
'json'
,
dataType
:
'json'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
alert
(
'删除成功'
)
}
else
{
alert
(
data
[
'msg'
]);
};
}
}
});
});
},
},
...
...
public/resource/template/get_collection_template_tpl.html
View file @
fc5fcf4e
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'real_money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'real_money'
]
%
]
<
/td
>
<!--<
td
>
[
%=
it
[
item
][
'transaction_fee'
]
%
]
<
/td>--
>
<
td
>
[
%=
it
[
item
][
'type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'internal_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'internal_address'
]
%
]
<
/td
>
...
@@ -17,7 +16,10 @@
...
@@ -17,7 +16,10 @@
<
a
class
=
"btn1 btn-success add-pic"
href
=
"#modal-addPic"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
father
-
id
=
'[%= it[item]["father_id"] %]'
>
收款图片
<
/a
>
<
a
class
=
"btn1 btn-success add-pic"
href
=
"#modal-addPic"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
father
-
id
=
'[%= it[item]["father_id"] %]'
>
收款图片
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success submit_edit2"
href
=
"#modal-linetime"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"]%]'
data
-
fee
=
'[%= it[item]["transaction_fee"]%]'
data
-
money
=
'[%= it[item]["real_money"] %]'
>
实付金额
<
/a
>
<
a
class
=
"btn1 btn-success submit_edit2"
href
=
"#modal-linetime"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"]%]'
data
-
fee
=
'[%= it[item]["transaction_fee"]%]'
data
-
money
=
'[%= it[item]["real_money"] %]'
>
实付金额
<
/a
>
<
a
class
=
"btn1 btn-danger collection-del"
href
=
"#modal-delete"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
删除
<
/a
>
[
%
if
(
check_auth
(
'index/updatePayLog'
))
{
%
]
<
a
class
=
"btn1 btn-danger collection-del"
href
=
"#modal-delete"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
删除
<
/a
>
[
%
}
%
]
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
...
...
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