LAPTOP-FO2T5SIU\35838 hace 6 meses
padre
commit
7640da77a9
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      src/views/customerManagement/roomChose/addHouse.vue

+ 6 - 1
src/views/customerManagement/roomChose/addHouse.vue

@@ -156,7 +156,7 @@ export default {
     },
     },
     methods: {
     methods: {
         initData(data) {
         initData(data) {
-            console.log('data', data)
+            // console.log('data', data)
             this.getByCustomerManagementId(data.customerManagementId)
             this.getByCustomerManagementId(data.customerManagementId)
             this.initDict(this.dc_key).then(res => {
             this.initDict(this.dc_key).then(res => {
                 this.customerManagementId = data.customerManagementId
                 this.customerManagementId = data.customerManagementId
@@ -235,6 +235,11 @@ export default {
                         type: 'success'
                         type: 'success'
                     })
                     })
                     this.cancel()
                     this.cancel()
+                } else {
+                    this.$message({
+                        message: res.data.msg,
+                        type: 'error'
+                    })
                 }
                 }
             }).catch((err) => {
             }).catch((err) => {
                 this.$message({
                 this.$message({