Commit 616958fa authored by 康振飞's avatar 康振飞

派工

parent 9544c914
......@@ -519,10 +519,11 @@ export default {
this.pentity.taskTime = [timebegin,timend]
if(formData.map(t=>{
this.newList.filter(m=>{
m.id = t.id
if(m.id = t.id){
console.log(m.checked)
}
})
})){
}
this.manModal = true
}
......@@ -560,7 +561,6 @@ export default {
u.userIds = this.peploeId
u.remark = this.pentity.remark
})
// console.log(item)
this.$refs['formpepole'].validate((valid) => {
if(valid){
let params = {
......@@ -602,12 +602,6 @@ export default {
},
// 拆分保存
saveFameData() {
// let item = this.newList
// item.map((u) => {
// u.userIds = this.peploeId
// u.remark = this.pentity.remark
// })
// console.log(item)
let params = {
isDispatch: 0,//派工是1,保存是0
entryList: this.listTask
......@@ -615,8 +609,6 @@ export default {
Api.saveTeamentry(params).then((res) => {
if (res.success) {
this.$Message.success('拆分成功。')
// this.getUserInfoFn()
// this.manModal = false
} else {
this.$Message.error('拆分失败...')
}
......@@ -650,7 +642,6 @@ export default {
return ids
},
listOrder(){
let orders= this.$u.group(this.listTask,u=>{
return u.mesCode
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment