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
f1428f91
Commit
f1428f91
authored
Mar 25, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
fbd42b1d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
63 additions
and
5 deletions
+63
-5
daily_details.html
application/index/view/finance/daily_details.html
+31
-0
achieveFork.vue
public/appnew/src/components/achieveMain/achieveFork.vue
+4
-3
citySelect.vue
public/appnew/src/components/achieveMain/citySelect.vue
+2
-1
financial_manager_daily_list.js
public/resource/js/financial_manager_daily_list.js
+25
-1
financial_manager_daily_list_template_tpl.html
...e/template/financial_manager_daily_list_template_tpl.html
+1
-0
No files found.
application/index/view/finance/daily_details.html
View file @
f1428f91
...
@@ -1689,4 +1689,34 @@
...
@@ -1689,4 +1689,34 @@
<!-- /.modal-content -->
<!-- /.modal-content -->
</div>
</div>
<!-- /.modal -->
<!-- /.modal -->
</div>
<!-- /#撤销调整 -->
<div
class=
"modal fade"
id=
"modal_adjust"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
撤销调整
</h4>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<input
type=
"hidden"
value=
""
id=
"delete_id"
/>
确认撤销调整吗?
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"confirm_adjusment"
data-dismiss=
"modal"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
</div>
\ No newline at end of file
public/appnew/src/components/achieveMain/achieveFork.vue
View file @
f1428f91
...
@@ -146,8 +146,8 @@
...
@@ -146,8 +146,8 @@
let
_this
=
this
;
let
_this
=
this
;
_this
.
axios
({
_this
.
axios
({
method
:
'get'
,
method
:
'get'
,
//
url: '/broker/getSiteListApp',
url
:
'/broker/getSiteListApp'
,
url
:
'/broker/getAgentSiteList'
,
//
url: '/broker/getAgentSiteList',
responseType
:
'json'
,
responseType
:
'json'
,
data
:
{
data
:
{
'AuthToken'
:
_this
.
token
,
'AuthToken'
:
_this
.
token
,
...
@@ -160,7 +160,7 @@
...
@@ -160,7 +160,7 @@
localStorage
.
setItem
(
'tlAppSiteList'
,
encodeURIComponent
(
JSON
.
stringify
(
response
.
data
.
data
)));
localStorage
.
setItem
(
'tlAppSiteList'
,
encodeURIComponent
(
JSON
.
stringify
(
response
.
data
.
data
)));
let
_tempSiteId
=
_this
.
$route
.
query
.
siteId
;
let
_tempSiteId
=
_this
.
$route
.
query
.
siteId
;
let
_tempAgentId
=
localStorage
.
getItem
(
'userid'
);
let
_tempAgentId
=
localStorage
.
getItem
(
'userid'
);
console
.
log
(
_tempSiteId
);
//
console.log(_tempSiteId);
if
(
!
_tempSiteId
){
if
(
!
_tempSiteId
){
//如果app里没传siteid,则默认为上海
//如果app里没传siteid,则默认为上海
_tempSiteId
=
'10001'
;
_tempSiteId
=
'10001'
;
...
@@ -321,6 +321,7 @@
...
@@ -321,6 +321,7 @@
changeCity
(
c
)
{
changeCity
(
c
)
{
let
_this
=
this
;
let
_this
=
this
;
console
.
log
(
c
);
console
.
log
(
c
);
// localStorage.setItem('tlSiteid',);
_this
.
realSearch
(
'normal'
);
_this
.
realSearch
(
'normal'
);
}
}
}
}
...
...
public/appnew/src/components/achieveMain/citySelect.vue
View file @
f1428f91
...
@@ -29,7 +29,8 @@
...
@@ -29,7 +29,8 @@
changeCity
(
e
)
{
changeCity
(
e
)
{
let
_this
=
this
;
let
_this
=
this
;
let
_tempValue
=
JSON
.
parse
(
e
.
target
.
value
);
let
_tempValue
=
JSON
.
parse
(
e
.
target
.
value
);
localStorage
.
setItem
(
'tlSiteid'
,
_tempValue
.
site_id
);
// localStorage.setItem('tlSiteid', _tempValue.site_id);
localStorage
.
setItem
(
'tlSiteid'
,
_tempValue
.
id
);
localStorage
.
setItem
(
'tlYjAgentId'
,
_tempValue
.
id
);
//业绩里业务员id会变
localStorage
.
setItem
(
'tlYjAgentId'
,
_tempValue
.
id
);
//业绩里业务员id会变
_this
.
$emit
(
'changeCity'
,
_tempValue
.
site_id
);
_this
.
$emit
(
'changeCity'
,
_tempValue
.
site_id
);
}
}
...
...
public/resource/js/financial_manager_daily_list.js
View file @
f1428f91
...
@@ -19,7 +19,7 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
...
@@ -19,7 +19,7 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
house_fatherid
:
''
,
//收款id
house_fatherid
:
''
,
//收款id
house_id
:
''
,
house_id
:
''
,
caiwu_site_id
:
''
,
caiwu_site_id
:
''
,
adjusment_id
:
''
,
init
:
function
()
{
init
:
function
()
{
//初始化时间
//初始化时间
...
@@ -94,6 +94,18 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
...
@@ -94,6 +94,18 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
e
.
stopPropagation
();
e
.
stopPropagation
();
bargain
.
delDetail
();;
bargain
.
delDetail
();;
});
});
//点击撤销调整
_doc
.
on
(
'click'
,
'.modal-adjust'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
bargain
.
adjusment_id
=
e
.
target
.
dataset
.
id
;
});
_doc
.
on
(
'click'
,
'#confirm_adjusment'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
bargain
.
deleteTableRow
(
bargain
.
adjusment_id
);
});
//点击资料 显示图片
//点击资料 显示图片
_doc
.
on
(
'click'
,
'.record-pic'
,
function
(
e
)
{
_doc
.
on
(
'click'
,
'.record-pic'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
...
@@ -1075,6 +1087,18 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
...
@@ -1075,6 +1087,18 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
}
}
});
});
},
},
deleteTableRow
:
function
(
id
){
//撤销调整
var
params
=
{
'id'
:
id
};
$
.
post
(
'/index/delAdjustment'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
bargain
.
getList
();
}
else
{
alert
(
data
.
msg
);
}
},
'json'
)
},
//获取收款详情
//获取收款详情
getMoneyDetail
:
function
(
id
){
getMoneyDetail
:
function
(
id
){
var
that
=
bargain
;
var
that
=
bargain
;
...
...
public/resource/template/financial_manager_daily_list_template_tpl.html
View file @
f1428f91
...
@@ -174,6 +174,7 @@
...
@@ -174,6 +174,7 @@
<
td
>
<
td
>
<
a
class
=
"btn1 btn-info add-pic-liu"
href
=
"#modal-addPicLiu"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
<
/a
>
<
a
class
=
"btn1 btn-info add-pic-liu"
href
=
"#modal-addPicLiu"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
<
/a
>
<
a
class
=
"btn1 btn-info record-pic"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['pay_log_id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/a
>
<
a
class
=
"btn1 btn-info record-pic"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['pay_log_id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/a
>
<
a
class
=
"btn1 btn-info modal-adjust"
href
=
"#modal_adjust"
data
-
id
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
撤销调整
<
/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