| | |
| | | this.visible = true |
| | | this.tempIndex = tempIndex |
| | | this.solutionId = obj.solutionId |
| | | this.dispatching=[] |
| | | this.dispatching = [] |
| | | this.list = [ |
| | | { |
| | | memberName: '', |
| | |
| | | }) |
| | | }, |
| | | selectChangeWT (index) { |
| | | this.list[index].workTypeName =null |
| | | this.list[index].workTypeName = null |
| | | this.list[index].options.forEach(item => { |
| | | if (item.id === this.list[index].worktypeId) { |
| | | this.list[index].workTypeName = item.name |
| | |
| | | this.$message.warning(`第${i + 1}项员工身份证不合法`) |
| | | return |
| | | } |
| | | const s=parseInt(this.list[i].idCard.substring(16,17)) |
| | | // const s = parseInt(this.list[i].idCard.slice(16, 1)) |
| | | if (s % 2 === 0) { |
| | | this.list[i].sex = 1 |
| | | } else { |
| | | this.list[i].sex = 0 |
| | | } |
| | | } |
| | | // 判断详情列表数据身份证是否有重复 |
| | | let next = true |
| | |
| | | this.list.forEach(item => { |
| | | item.fee = this.price |
| | | }) |
| | | console.log(this.list) |
| | | this.$emit('result', this.list) |
| | | this.visible = false |
| | | } else { |