Commit 837e3d46 authored by tanjunxin's avatar tanjunxin

fix: 领料申请查看弹窗优化

parent b9c211e9
......@@ -165,17 +165,14 @@
},
},
watch: {
applyNos:{
handler(newVal, oldVal){
showFlag(newVal, oldVal) {
console.log(newVal, oldVal)
if(newVal) {
this.$nextTick(() =>{
if(this.applyNos !='' && this.applyNos!=null){
this.queryParams.applyNo=this.applyNos;
this.queryParams.applyNo = this.applyNos ? this.applyNos : "";
this.getList();
}
})
},
immediate: true,
deep: true
}
}
},
data() {
......@@ -233,6 +230,8 @@
},
// 表单参数
form: {},
rules: [],
optType: ""
};
},
created() {
......@@ -246,7 +245,7 @@
this.open = false;
this.reset();
},
submitForm() {},
/** 查询生产任务列表 */
getList() {
this.loading = true;
......@@ -320,7 +319,7 @@
// 取消按钮
cancels() {
this.showFlag=false
this.queryParams();
// this.queryParams();
},
// 单选选中数据
......
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