Commit 915ec2df authored by linxin's avatar linxin

fix:租金还款

parent edd7e3c6
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
vm.sumMoney = vm.money vm.sumMoney = vm.money
for (let i of this.info) { for (let i of this.info) {
i.con_lists.forEach(j => { i.con_lists.forEach(j => {
sumL.push(j.pay) sumL.push(j.amount)
}) })
let a = 0 let a = 0
let newSum = sumL.filter(item => { let newSum = sumL.filter(item => {
......
...@@ -96,7 +96,9 @@ export default { ...@@ -96,7 +96,9 @@ export default {
let vm = this let vm = this
let url = process.env.basePath + 'create_order_1_amount' let url = process.env.basePath + 'create_order_1_amount'
let param = { let param = {
bp_id: window.sessionStorage.getItem('bp_id'), info: {
bp_id: window.sessionStorage.getItem('bp_id'),
},
} }
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
...@@ -115,13 +117,15 @@ export default { ...@@ -115,13 +117,15 @@ export default {
window.sessionStorage.setItem('order_id', 123) window.sessionStorage.setItem('order_id', 123)
// let url = process.env.basePath + 'do_order_1_con' // let url = process.env.basePath + 'do_order_1_con'
// let param = { // let param = {
// bp_id: vm.$route.params.bp_id, // info: {
// bp_id: window.sessionStorage.getItem('bp_id'),
// },
// } // }
// hlsPopup.showLoading('请稍候') // hlsPopup.showLoading('请稍候')
// vm.$post(url, param).then(function (res) { // vm.$post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading() // vm.hlsPopup.hideLoading()
// if (res.result === 'S') { // if (res.result === 'S') {
// window.sessionStorage.setItem('order_id', res.info.order_id) // window.sessionStorage.setItem('order_id', res.info.order_id)
// vm.toContractRecord(vm.liquidated_damages) // vm.toContractRecord(vm.liquidated_damages)
// } else { // } else {
// hlsPopup.showLongCenter(res.message) // hlsPopup.showLongCenter(res.message)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment