Commit 5f1b70da authored by 徐来柯's avatar 徐来柯

update

parent d9c40ec4
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</div> </div>
</div> </div>
<SchedulingPop :typePop='type' ref="linePop" :data='editData' v-if="popShow" @openRelate="openRelate" ></SchedulingPop> <SchedulingPop :typePop='type' ref="linePop" :data='editData' v-if="popShow" @openRelate="openRelate" ></SchedulingPop>
<deletePop ref="delete" :deletetext="deletetext" v-if="deleteShow" :pathE="pathE" :type="typeV"></deletePop> <deletePop ref="delete" :deletetext="deletetext" @editPop="editPop" v-if="deleteShow" :pathE="pathE" :flag="type" :type="typeV"></deletePop>
<div v-if="popShow || deleteShow" class="box"></div> <div v-if="popShow || deleteShow" class="box"></div>
<relate-dialog v-if="relateShow" :relateType="relateType" @conserve="saveData" @closeDialog="closeDialog" /> <relate-dialog v-if="relateShow" :relateType="relateType" @conserve="saveData" @closeDialog="closeDialog" />
</div> </div>
...@@ -384,6 +384,21 @@ export default { ...@@ -384,6 +384,21 @@ export default {
}) })
}, },
// 编辑二次确认提交
editPop (num) {
this.deleteShow = false
if (num === '2') {
this.$axios({
method:"post",
url:`/api/Schedule/Schedule_WindowEditSave`,
data: this.pathE
}).then((res)=>{
var postData = this.resetData()
this.popShow = false
this.query(postData)
})
}
},
resetData () { resetData () {
return { return {
argKeyWord: this.$refs.head.input, argKeyWord: this.$refs.head.input,
......
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
text:'是否确认删除?' text:'是否确认删除?'
} }
}, },
props:['type','pathE','deletetext'], props:['type','pathE','deletetext','flag'],
created(){ created(){
//1下发 2勾选删除 3页码不存在 4删除 4_1多选删除 5保存失败 6保存成功 7校验不通过 8 Bom表添加物料 9排查暂停 //1下发 2勾选删除 3页码不存在 4删除 4_1多选删除 5保存失败 6保存成功 7校验不通过 8 Bom表添加物料 9排查暂停
if(this.type=='1'){ if(this.type=='1'){
...@@ -84,7 +84,11 @@ export default { ...@@ -84,7 +84,11 @@ export default {
}else if(this.type == '4_1'){ }else if(this.type == '4_1'){
this.$parent.many_deleteFun() this.$parent.many_deleteFun()
}else if(this.type=='9'){ }else if(this.type=='9'){
this.$parent.addFun2(this.pathE) if (this.flag && this.flag === 'edit') {
this.$emit('editPop', num)
} else {
this.$parent.addFun2(this.pathE)
}
}else if(this.type == '10'){ }else if(this.type == '10'){
this.$parent.zantin(this.pathE) this.$parent.zantin(this.pathE)
console.log('this==4',this.pathE) console.log('this==4',this.pathE)
......
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