Browse Source

完善维修单

master
yunuo970428 10 months ago
parent
commit
f18f45cc33
  1. 9
      yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue

9
yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue

@ -1183,9 +1183,12 @@ export default {
handleRemove(file, fileList) {
if (this.formobj.fileName.length > 0) {
this.formobj.fileName.forEach((e, index) => {
if (e.url === fileList.response.data.fullUrl) {
this.formobj.fileName.splice(index, 1)
}
this.fileList.forEach((k, num) => {
if (e.url === k.response.data.fullUrl || e.url === k.url) {
this.formobj.fileName.splice(index, 1)
this.fileList.splice(num, 1)
}
})
})
}
},

Loading…
Cancel
Save