chenqilong пре 2 година
родитељ
комит
9c54eef90f
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      src/views/sales_policy/components/AddCondition.vue

+ 2 - 3
src/views/sales_policy/components/AddCondition.vue

@@ -443,13 +443,12 @@ export default {
   methods: {
     getList() {},
     handleBack() {
-      console.log(this.$parent)
       if (this.$parent.$parent.$parent.$parent.isShow == 10) {
         this.$parent.$parent.$parent.$parent.isShow = 8
       } else if (this.$parent.$parent.$parent.$parent.isShow == 12) {
         this.$parent.$parent.$parent.$parent.isShow = 4
-      } else if (this.$parent.$parent.$parent.isShow == 4) {
-        this.$parent.isEdit = 1
+      } else if (this.$parent.$parent.$parent.isShow == 12) {
+        this.$parent.$parent.$parent.isShow = 4
       } else {
         this.$parent.isCondition = 0
         Object.assign(this.$data, this.$options.data())