Commit 837e3d46 authored by tanjunxin's avatar tanjunxin

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

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