解决附件不能删除的bug

This commit is contained in:
季圣华 2022-01-09 22:41:21 +08:00
parent e36d2c5ded
commit f57a4fa99b
13 changed files with 13 additions and 39 deletions

View File

@ -219,9 +219,7 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -220,9 +220,7 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -219,9 +219,7 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -249,9 +249,7 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -247,9 +247,7 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -339,9 +339,7 @@
}
billMain.accountIdList = this.accountIdList.length>0 ? JSON.stringify(this.accountIdList) : ""
billMain.accountMoneyList = this.accountMoneyList.length>0 ? JSON.stringify(this.accountMoneyList) : ""
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -365,9 +365,7 @@
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) : ""
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -257,9 +257,7 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = 0-totalPrice
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -317,9 +317,7 @@
}
billMain.totalPrice = 0-totalPrice
billMain.changeAmount = 0-billMain.changeAmount
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -336,9 +336,7 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -351,9 +351,7 @@
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) : ""
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -265,9 +265,7 @@
totalPrice += item.allPrice-0
}
billMain.totalPrice = totalPrice
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}

View File

@ -370,9 +370,7 @@
}
billMain.accountIdList = this.accountIdList.length>0 ? JSON.stringify(this.accountIdList) : ""
billMain.accountMoneyList = this.accountMoneyList.length>0 ? JSON.stringify(this.accountMoneyList) : ""
if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList
}
billMain.fileName = this.fileList
if(this.model.id){
billMain.id = this.model.id
}