| | |
| | | uni.$on('updateData',(data)=>{ |
| | | console.log('监听到事件来自 updateData ,携带参数为:' + JSON.parse( JSON.stringify(data)) , JSON.parse(data) .id ); |
| | | const params = JSON.parse(data); |
| | | // this.checkList2 = params.map(item=>{ |
| | | // item.text = item.orderCode + '/' + item.customerName; |
| | | // return item; |
| | | // }); |
| | | // let temp = this.checkList2; |
| | | // this.closeOrderIds = temp.map(item=>item.id).join(',') |
| | | this.activeName = params.orderCode +'/' + params.customerName; |
| | | this.closeOrderId = params.id; |
| | | this.activeName = params.orderCode + '/' + params.customerName; |
| | | |
| | | |
| | | |
| | | }) |
| | |
| | | checkList:[], |
| | | deptName: '', |
| | | activeName:'', |
| | | isNumOk:false, |
| | | isNumData:[], |
| | | checkList2:[], |
| | | deptList: [], |
| | | uncoidCard:'', |
| | | productName: '', |
| | |
| | | sendDateStart: '', |
| | | sendDateEnd: '', |
| | | customerId: '', |
| | | closeOrderId:'', |
| | | closeOrderIds:'', |
| | | value:'', |
| | | customerName: '', |
| | | customerNameList: [], |
| | |
| | | |
| | | if(this.deptId){ |
| | | this.subDataList = this.customerNameList.filter(item=>item.id === e).length ? |
| | | |
| | | this.customerNameList.filter(item=>item.id === e)[0].tmOrderList : []; |
| | | console.log(this.subDataList,'subDataList') |
| | | const tempArr = this.customerNameList.filter(item=>item.id === e); |
| | | if(tempArr.length){ |
| | | this.unionParams = { |
| | |
| | | todoUncoid(){ |
| | | console.log('todoUncoid'); |
| | | uni.navigateTo({ |
| | | url: `/subPages/unionCard/unionCard?unionParams=${JSON.stringify(this.unionParams) }` |
| | | url: `/subPages/unionCard/unionCard?unionParams=${JSON.stringify(this.unionParams)}&checkArray=${JSON.stringify(this.checkList2) }` |
| | | }); |
| | | |
| | | }, |
| | | clearInp(){ |
| | | this.closeOrderId = ''; |
| | | this.activeName = ''; |
| | | } |
| | | }, |
| | | } |