zxz 2 年之前
父节点
当前提交
108dbeec04
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/views/profitable/fixedAssets.vue

+ 4 - 0
src/views/profitable/fixedAssets.vue

@@ -554,6 +554,9 @@ export default {
                         if (this.fixedAssetsInfoList[i].statusFlag != '7') {
                             this.allTotalPrice += Number(this.fixedAssetsInfoList[i].totalPrice)
                         }
+                        if (response.records[i].status) {
+                            response.records[i].currectstatus = response.records[i].status
+                        }
                         this.fixedAssetsInfoList[i].select = false
                     }
                     this.allTotalPrice = this.allTotalPrice.toFixed(2)
@@ -604,6 +607,7 @@ export default {
                             this.getList()
                         })
                         .catch((response) => {
+                            row.status = row.currectstatus
                             // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
                         })
                 })