1.4.5.2
This commit is contained in:
16
EdgeAdmin/web/views/@default/finance/bills/generate.js
Normal file
16
EdgeAdmin/web/views/@default/finance/bills/generate.js
Normal file
@@ -0,0 +1,16 @@
|
||||
Tea.context(function () {
|
||||
this.generateBills = function () {
|
||||
let that = this
|
||||
teaweb.confirm("确定要生成上个月的账单吗?", function () {
|
||||
that.$post(".generate")
|
||||
.params({
|
||||
month: that.month
|
||||
})
|
||||
.success(function () {
|
||||
teaweb.success("生成成功", function () {
|
||||
window.location = "/finance/bills"
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user