Commit 8548db03 by 前端

Merge branch 'ybw_dev_v2.1.0' into 'master'

Ybw dev v2.1.0 ===> master

See merge request !9
2 parents afedd65c fe480935
......@@ -86,7 +86,7 @@ export default {
computed: {
totalPrice() {
let total = this.serviceItemsList.reduce(function(prev, cur) {
return prev + parseInt(cur.approveAmount * 100)
return prev + (+(cur.approveAmount * 100).toFixed(0))
}, 0)
return total / 100
}
......@@ -122,7 +122,10 @@ export default {
for (let key in this.accountForm) {
this.accountForm[key] = res[key]
}
if (this.accountForm.accountType !== 1) this.accountForm.accountType = 0
if (this.accountForm.accountType !== 1) {
this.accountForm.accountType = 0
this.accountForm.objectType = 0
}
if (this.accountForm.objectType !== 1) this.accountForm.accountType = 0
this.serviceItemsList = serviceItemsList
// 以下是文件数据
......
......@@ -86,7 +86,7 @@ export default {
computed: {
totalPrice() {
let total = this.serviceItemsList.reduce(function(prev, cur) {
return prev + parseInt(cur.approveAmount * 100)
return prev + (+(cur.approveAmount * 100).toFixed(0))
}, 0)
return total / 100
}
......@@ -122,7 +122,10 @@ export default {
for (let key in this.accountForm) {
this.accountForm[key] = res[key]
}
if (this.accountForm.accountType !== 1) this.accountForm.accountType = 0
if (this.accountForm.accountType !== 1) {
this.accountForm.accountType = 0
this.accountForm.objectType = 0
}
if (this.accountForm.objectType !== 1) this.accountForm.accountType = 0
this.serviceItemsList = serviceItemsList
// 以下是文件数据
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!