#
whycq
2023-11-17 04122cba75e50a407fc6bc6a1a77cb598f497fab
pages/business/goBusiness/addgoBusiness.vue
@@ -269,9 +269,17 @@
         const eventChannel = this.getOpenerEventChannel();
         eventChannel.on('goBusinessDel', function(data) {
            if (data.data == 'add') {
               _this.getOrderId('')
            }
         })
         // 项目跟踪传过来的
         eventChannel.on('addType', function(data) {
            if (data.data.comeFrom == 'saleManage') {
               _this.form2[0].info[0].submitVal = data.data.orderId
               _this.form2[0].info[0].unshow = true
               _this.form2[0].info[0].required = false
            }
            console.log(data.data);
         })
      },
@@ -400,6 +408,8 @@
                              this.form[sub.type] = odd.id
                           }
                        }
                     } else {
                        this.form[sub.type] = sub.submitVal
                     }
                  } else {
                     this.form[sub.type] = sub.value