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
375c16fe
Commit
375c16fe
authored
Mar 27, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退款
parent
158bcbb3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
5 deletions
+31
-5
reportList.html
application/index/view/report/reportList.html
+1
-1
inspectionRecordAll.js
public/resource/js/inspectionRecordAll.js
+5
-2
reportList.js
public/resource/js/reportList.js
+22
-2
refund_template_tpl.html
public/resource/template/refund_template_tpl.html
+3
-0
No files found.
application/index/view/report/reportList.html
View file @
375c16fe
...
@@ -297,7 +297,7 @@
...
@@ -297,7 +297,7 @@
</td>
</td>
<td>
<td>
<span
class=
"span-width-90"
>
转账户名:
</span>
<span
class=
"span-width-90"
>
转账户名:
</span>
<input
type=
"
number
"
placeholder=
"请输入"
class=
"intention-name"
>
<input
type=
"
text
"
placeholder=
"请输入"
class=
"intention-name"
>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
public/resource/js/inspectionRecordAll.js
View file @
375c16fe
...
@@ -349,7 +349,6 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
...
@@ -349,7 +349,6 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
params
.
house_number
=
$
(
".shop-num"
).
val
();
//商铺号
params
.
house_number
=
$
(
".shop-num"
).
val
();
//商铺号
params
.
industry_type
=
$
(
".yetai"
).
val
();
//业态
params
.
industry_type
=
$
(
".yetai"
).
val
();
//业态
params
.
remark
=
$
(
".beizhu"
).
val
();
params
.
remark
=
$
(
".beizhu"
).
val
();
params
.
transfer_img
=
$
(
"input[name=area_demand]"
).
val
();
// params.pay_id=$("input[name=area_demand]").val();
// params.pay_id=$("input[name=area_demand]").val();
params
.
transfer_name
=
$
(
".intention-name"
).
val
();
params
.
transfer_name
=
$
(
".intention-name"
).
val
();
params
.
receipt_number
=
$
(
".intention-num"
).
val
();
params
.
receipt_number
=
$
(
".intention-num"
).
val
();
...
@@ -371,7 +370,9 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
...
@@ -371,7 +370,9 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
imgname
[
i
]
=
$
(
'.result-du>img'
).
eq
(
i
).
attr
(
'data-imgname'
);
imgname
[
i
]
=
$
(
'.result-du>img'
).
eq
(
i
).
attr
(
'data-imgname'
);
};
};
if
(
imgname
.
join
(
','
))
{
if
(
imgname
.
join
(
','
))
{
params
.
transfer_img
=
imgname
.
join
(
','
);
// params.transfer_img = imgname.join(',');
params
.
transfer_img
=
imgname
;
}
else
{
}
else
{
return
return
};
};
...
@@ -385,6 +386,8 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
...
@@ -385,6 +386,8 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
alert
(
'提交成功!'
)
alert
(
'提交成功!'
)
$
(
"#modal-intention"
).
modal
(
'hide'
);
}
else
{
}
else
{
alert
(
data
.
msg
)
alert
(
data
.
msg
)
}
}
...
...
public/resource/js/reportList.js
View file @
375c16fe
...
@@ -651,6 +651,22 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -651,6 +651,22 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
$
(
'.anchangfei'
).
show
();
$
(
'.anchangfei'
).
show
();
};
};
});
});
//中介费类型 正常 多收
$
(
".fee-type-zhongjie"
).
change
(
function
()
{
if
(
$
(
'.fee-type-zhongjie'
).
val
()
*
1
==
0
){
//正常
var
shouldMoney
=
(
0.7
*
bargain
.
price_commission
).
toFixed
(
2
)
var
moreMoney
=
(
$
(
'.commission-money'
).
val
()
*
1
-
shouldMoney
+
$
(
'.commission-before-zhongjie'
).
val
()
*
1
).
toFixed
(
2
)
$
(
'.fee-money-zhongjie'
).
html
(
shouldMoney
);
//应收金额
$
(
'.fee-more-zhongjie'
).
html
(
moreMoney
);
//多收金额
}
else
{
//多收
var
shouldMoney
=
0
;
var
moreMoney
=
$
(
'.commission-money'
).
val
()
*
1
;
$
(
'.fee-money-zhongjie'
).
html
(
shouldMoney
);
//应收金额
$
(
'.fee-more-zhongjie'
).
html
(
moreMoney
);
//多收金额
};
});
//收款图片 和 收款详情切换
//收款图片 和 收款详情切换
$
(
'.tit_con'
).
unbind
(
'click'
).
bind
(
'click'
,
function
(
e
){
$
(
'.tit_con'
).
unbind
(
'click'
).
bind
(
'click'
,
function
(
e
){
...
@@ -968,7 +984,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -968,7 +984,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
});
});
},
},
resetInput
:
function
(
fn
)
{
resetInput
:
function
(
fn
)
{
$
(
".commission-money"
).
val
(
''
);
$
(
".commission-money"
).
val
(
0
);
$
(
'.commission-pay-type'
).
val
(
''
);
$
(
'.commission-pay-type'
).
val
(
''
);
$
(
".commission-transfer-name"
).
val
(
''
);
$
(
".commission-transfer-name"
).
val
(
''
);
$
(
".shop-num-liu"
).
val
(
''
);
//商铺号
$
(
".shop-num-liu"
).
val
(
''
);
//商铺号
...
@@ -981,7 +997,11 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -981,7 +997,11 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
$
(
'#container_body_img_area_liu'
).
html
(
''
);
$
(
'#container_body_img_area_liu'
).
html
(
''
);
$
(
'.commission-bargain-id'
).
html
(
bargain
.
bargainid_commission
);
//初始化 成交报告id
$
(
'.commission-bargain-id'
).
html
(
bargain
.
bargainid_commission
);
//初始化 成交报告id
$
(
'.commission-price-zhongjie'
).
html
(
bargain
.
price_commission
);
//初始化成交价
$
(
'.commission-price-zhongjie'
).
html
(
bargain
.
price_commission
);
//初始化成交价
//默认中介费 类型正常
var
shouldMoney
=
(
0.7
*
bargain
.
price_commission
).
toFixed
(
2
)
var
moreMoney
=
(
$
(
'.commission-money'
).
val
()
*
1
-
shouldMoney
+
$
(
'.commission-before-zhongjie'
).
val
()
*
1
).
toFixed
(
2
)
$
(
'.fee-money-zhongjie'
).
html
(
shouldMoney
);
//应收金额
$
(
'.fee-more-zhongjie'
).
html
(
moreMoney
);
//多收金额
bargain
.
getNum
();
bargain
.
getNum
();
},
},
...
...
public/resource/template/refund_template_tpl.html
View file @
375c16fe
...
@@ -44,7 +44,10 @@
...
@@ -44,7 +44,10 @@
<
td
>
<
td
>
<
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 rejected"
href
=
"#modal-check"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
审核
<
/a
>
<
a
class
=
"btn1 btn-success rejected"
href
=
"#modal-check"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
审核
<
/a
>
[
%
if
(
it
[
item
][
'status'
]
!=
2
){
%
]
<
a
class
=
"btn1 btn-success is_del"
href
=
"#modal-del"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
删除退款
<
/a
>
<
a
class
=
"btn1 btn-success is_del"
href
=
"#modal-del"
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