Browse Source

修改状态提醒

caojunjie 3 years ago
parent
commit
1b884d9ef1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/landTransportation/dispatchingCars/detailPage.vue

+ 2 - 1
src/views/landTransportation/dispatchingCars/detailPage.vue

@@ -1841,6 +1841,7 @@ export default {
         }).then(() => {
           sendACarCollection(row).then(res => {
             this.$message.success('操作成功');
+            this.$refs.crudBoxTwo.rowCell(row, index)
             this.refreshData()
           })
         }).catch(() => {
@@ -1848,8 +1849,8 @@ export default {
             type: 'info',
             message: '已取消'
           });
+          this.$refs.crudBoxTwo.rowCell(row, index)
         });
-        this.$refs.crudBoxTwo.rowCell(row, index)
       }else {
         this.entrustOptionTwoT.column.forEach(item=>{
           if (item.prop === 'plateNo'){