Commit fc69e634 authored by 季圣华's avatar 季圣华
Browse files

解决附件不能删除的bug

parent f57a4fa9
......@@ -219,7 +219,11 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -220,7 +220,11 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -219,7 +219,11 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -249,7 +249,11 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -247,7 +247,11 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -339,7 +339,11 @@
}
billMain.accountIdList = this.accountIdList.length>0 ? JSON.stringify(this.accountIdList) : ""
billMain.accountMoneyList = this.accountMoneyList.length>0 ? JSON.stringify(this.accountMoneyList) : ""
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -365,7 +365,11 @@
this.accountMoneyList = changeListFmtMinus(this.accountMoneyList)
billMain.accountIdList = this.accountIdList.length>0 ? JSON.stringify(this.accountIdList) : ""
billMain.accountMoneyList = this.accountMoneyList.length>0 ? JSON.stringify(this.accountMoneyList) : ""
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -257,7 +257,11 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = 0-totalPrice
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -317,7 +317,11 @@
}
billMain.totalPrice = 0-totalPrice
billMain.changeAmount = 0-billMain.changeAmount
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -336,7 +336,11 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -351,7 +351,11 @@
this.accountMoneyList = changeListFmtMinus(this.accountMoneyList)
billMain.accountIdList = this.accountIdList.length>0 ? JSON.stringify(this.accountIdList) : ""
billMain.accountMoneyList = this.accountMoneyList.length>0 ? JSON.stringify(this.accountMoneyList) : ""
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -265,7 +265,11 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
......@@ -370,7 +370,11 @@
}
billMain.accountIdList = this.accountIdList.length>0 ? JSON.stringify(this.accountIdList) : ""
billMain.accountMoneyList = this.accountMoneyList.length>0 ? JSON.stringify(this.accountMoneyList) : ""
billMain.fileName = this.fileList
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
} else {
billMain.fileName = ''
}
if(this.model.id){
billMain.id = this.model.id
}
......
Supports Markdown
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