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
a8355bac
Commit
a8355bac
authored
Sep 11, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告详情 复制功能
parent
662df2f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
5 deletions
+26
-5
account_statement.html
application/index/view/finance/account_statement.html
+15
-4
reportList.js
public/resource/js/reportList.js
+11
-1
No files found.
application/index/view/finance/account_statement.html
View file @
a8355bac
...
...
@@ -22,7 +22,10 @@
margin-top
:
10px
;
margin-left
:
10px
;
}
#bargaininfo_shop_num
{
width
:
100px
;
display
:
inline-block
;
}
</style>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
...
...
@@ -142,7 +145,9 @@
<span
id=
"bargaininfo_shop_type"
></span>
<br
/>
<span>
商铺地址:
</span><span
id=
"bargaininfo_internal_address"
></span><br>
<span>
商铺地址:
</span><span
id=
"bargaininfo_internal_address"
></span>
<button
type=
"button"
class=
"bargain-detail-shop btn-info btn btn-sm"
>
商铺
</button>
<br>
<span>
业态:
</span>
<input
class=
"form-control"
id=
"bargaininfo_yetai"
type=
"text"
><br>
<span>
客户姓名:
</span><span
id=
"bargaininfo_user_name"
></span><br>
<span>
成交类型:
</span>
...
...
@@ -162,10 +167,16 @@
<option
value=
"0"
>
否
</option>
<option
value=
"1"
>
是
</option>
</select>
<br
/>
<span>
商铺号:
</span><span
id=
"bargaininfo_shop_num"
></span><br>
<span>
商铺号:
</span><input
class=
"form-control"
id=
"bargaininfo_shop_num"
/>
<input
type=
"text"
id=
"hide-input-value"
style=
"opacity: 0;width: 6px;"
/>
<button
type=
"button"
class=
"copy-text-shop btn-info btn btn-sm"
>
复制
</button>
<br>
<!--<span>商铺号:</span><span id="bargaininfo_shop_num"></span><br>-->
<!--<span>预计收款时间:</span><span id="bargaininfo_expect_payback_time"></span><br>-->
<span>
预计收款时间:
</span><input
type=
"date"
id=
"bargaininfo_expect_payback_time"
placeholder=
"请输入"
><br>
<span>
客户电话:
</span><span
id=
"bargaininfo_user_phone"
></span><br>
<span>
客户电话:
</span><span
id=
"bargaininfo_user_phone"
></span>
<button
type=
"button"
class=
"bargain-detail-user btn-info btn btn-sm"
>
客户
</button>
<br>
<span>
成交日期:
</span><span
id=
"bargaininfo_create_time"
></span><br>
<span>
成交价:
</span>
<input
class=
"form-control"
id=
"bargaininfo_chengjiao_price"
type=
"number"
>
元
</div>
...
...
public/resource/js/reportList.js
View file @
a8355bac
...
...
@@ -42,6 +42,15 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
$
(
document
).
delegate
(
".addphone"
,
"click"
,
function
()
{
//list消失新增客户 点击li事件 获取id ul消失
bargain
.
addphone
(
this
);
});
//成交报告详情 点击复制按钮 复制input 里的内容 商铺地址+商铺号
_doc
.
on
(
'click'
,
'.copy-text-shop'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
var
d_copy
=
document
.
getElementById
(
"hide-input-value"
);
d_copy
.
select
();
document
.
execCommand
(
"Copy"
);
alert
(
"复制成功!"
);
});
//搜索的重置
$
(
"#maintable_reset"
).
click
(
function
()
{
document
.
getElementById
(
"maintable_form_search"
).
reset
();
...
...
@@ -581,13 +590,14 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
$
(
"#bargaininfo_user_phone"
).
html
(
hideTel
(
data
.
data
.
user_phone
));
$
(
"#bargaininfo_user_name"
).
html
(
data
.
data
.
user_name
);
$
(
"#bargaininfo_internal_address"
).
html
(
data
.
data
.
internal_address
);
$
(
"#bargaininfo_shop_num"
).
htm
l
(
data
.
data
.
house_number
);
$
(
"#bargaininfo_shop_num"
).
va
l
(
data
.
data
.
house_number
);
$
(
"#bargaininfo_type"
).
val
(
data
.
data
.
trade_type
);
$
(
"#bargaininfo_total_commission"
).
val
(
data
.
data
.
commission
);
$
(
"#bargaininfo_create_time"
).
html
(
data
.
data
.
create_time
);
$
(
"#bargaininfo_expect_payback_time"
).
val
(
data
.
data
.
estimated_receipt_date
);
$
(
"#bargaininfo_yetai"
).
val
(
data
.
data
.
industry_type
);
$
(
"#bargaininfo_chengjiao_price"
).
val
(
data
.
data
.
price
);
$
(
'#hide-input-value'
).
val
(
data
.
data
.
internal_address
+
data
.
data
.
house_number
);
bargain
.
maidTotalCommission
=
Number
(
data
.
data
.
commission
);
//总佣金
bargain
.
order_id
=
Number
(
data
.
data
.
order_id
);
//订单id
...
...
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