解决附件不能删除的bug

This commit is contained in:
季圣华 2022-01-09 22:50:43 +08:00
parent f57a4fa99b
commit fc69e634f8
13 changed files with 65 additions and 13 deletions

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}