Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
Jz-Php
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
PHP
Jz-Php
Commits
e848cc8c
提交
e848cc8c
authored
2月 09, 2020
作者:
chengye
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复文字描述
上级
ac5d40c1
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
42 行增加
和
8 行删除
+42
-8
EmInvoice.php
application/em/model/EmInvoice.php
+14
-0
detail.html
application/em/view/invoice/detail.html
+24
-1
index.html
application/em/view/invoice/index.html
+0
-3
detail.html
application/em/view/payment/detail.html
+2
-2
detail.html
application/em/view/settle/detail.html
+2
-2
没有找到文件。
application/em/model/EmInvoice.php
浏览文件 @
e848cc8c
...
...
@@ -100,6 +100,7 @@ class EmInvoice extends Base
if
(
$receipt
)
$useage
[
'photo'
]
=
$receipt
;
}
else
{
$useage
[
'photo'
]
=
[];
}
//获取电表信息
...
...
@@ -196,6 +197,19 @@ class EmInvoice extends Base
$totle
[
'settle_amount'
]
=
0
;
}
}
if
(
$inv
->
payment_balance
==
0
){
$inv
->
paid_amount
=
$inv
->
payment_amount
;
}
else
{
$inv
->
paid_amount
=
$inv
->
payment_amount
-
$inv
->
payment_balance
;
}
if
(
$inv
->
settle_balance
==
0
){
$inv
->
sett_amount
=
$inv
->
settle_amount
;
}
else
{
$inv
->
sett_amount
=
$inv
->
settle_amount
-
$inv
->
settle_balance
;
}
return
$inv
;
}
...
...
application/em/view/invoice/detail.html
浏览文件 @
e848cc8c
...
...
@@ -142,6 +142,16 @@
</div>
</div>
</div>
<div
class=
"layui-col-md5"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
已缴金额:
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"paid_amount"
name=
"paid_amount"
autocomplete=
"off"
class=
"layui-input"
value=
"{$inv.payment_amount|round=3}"
disabled=
"disabled"
>
</div>
</div>
</div>
<div
class=
"layui-col-md5"
>
<div
class=
"layui-form-item"
>
...
...
@@ -162,7 +172,20 @@
应结金额:
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"settle_amount"
name=
"settle_amount"
autocomplete=
"off"
class=
"layui-input"
value=
"{$inv.useage.totle.settle_amount|round=3}"
disabled=
"disabled"
>
<input
type=
"text"
id=
"settle_amount"
name=
"settle_amount"
autocomplete=
"off"
class=
"layui-input"
value=
"{$inv.settle_amount|round=3}"
disabled=
"disabled"
>
</div>
</div>
</div>
<div
class=
"layui-col-md5"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
已结金额:
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"sett_amount"
name=
"sett_amount"
autocomplete=
"off"
class=
"layui-input"
value=
"{$inv.sett_amount|round=3}"
disabled=
"disabled"
>
</div>
...
...
application/em/view/invoice/index.html
浏览文件 @
e848cc8c
...
...
@@ -132,7 +132,6 @@
function
merge_list
()
{
var
iDs
=
''
;
if
(
$list
.
size
!=
0
){
$list
.
forEach
(
...
...
@@ -144,9 +143,7 @@
url
=
url
.
substr
(
0
,(
url
.
length
-
1
))
xadmin
.
open
(
'合并账单'
,
url
)
}
}
</script>
{/block}
...
...
application/em/view/payment/detail.html
浏览文件 @
e848cc8c
...
...
@@ -42,7 +42,7 @@
<div
class=
"layui-col-md5"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label layui-text-left"
>
实
缴合计:
已
缴合计:
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
name=
"paid_totle"
id=
"paid_totle"
...
...
@@ -111,7 +111,7 @@
<th>
所属基站名
</th>
<th>
电表识别号
</th>
<th>
应缴金额
</th>
<th>
实
缴金额
</th>
<th>
已
缴金额
</th>
</thead>
<tbody>
{volist name="invs" id="item"}
...
...
application/em/view/settle/detail.html
浏览文件 @
e848cc8c
...
...
@@ -42,7 +42,7 @@
<div
class=
"layui-col-md5"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label layui-text-left"
>
实
结合计:
已
结合计:
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
name=
"paid_totle"
id=
"paid_totle"
...
...
@@ -112,7 +112,7 @@
<th>
所属基站名
</th>
<th>
电表识别号
</th>
<th>
应结金额
</th>
<th>
实
结金额
</th>
<th>
已
结金额
</th>
</thead>
<tbody>
{volist name="invs" id="item"}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论