| | |
| | | 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); |
| | | }) |
| | | |
| | | }, |
| | |
| | | this.form[sub.type] = odd.id |
| | | } |
| | | } |
| | | } else { |
| | | this.form[sub.type] = sub.submitVal |
| | | } |
| | | } else { |
| | | this.form[sub.type] = sub.value |