Files
waf-platform/EdgeUser/web/views/@default/finance/bills/index.js

15 lines
315 B
JavaScript

Tea.context(function () {
this.payBill = function (billId) {
teaweb.confirm("确定要支付此账单吗? ", function () {
this.$post(".pay")
.params({
billId: billId
})
.success(function () {
teaweb.success("支付成功", function () {
teaweb.reload()
})
})
})
}
})