diff --git a/src/views/material/stquery/deviceOutBound.vue b/src/views/material/stquery/deviceOutBound.vue
index 0d0078e3..97ba98eb 100644
--- a/src/views/material/stquery/deviceOutBound.vue
+++ b/src/views/material/stquery/deviceOutBound.vue
@@ -21,7 +21,14 @@
/>
-->
-
+
-
+
0){
- this.queryParams.unitId=this.unitId[this.unitId.length - 1]
- }else if(val&&val.length==0){
- this.queryParams.unitId=""
- }
- this.GetProData()
+ // if(val&&val.length>0){
+ // this.queryParams.unitId=this.unitId[this.unitId.length - 1]
+ // }else if(val&&val.length==0){
+ // this.queryParams.unitId=""
+ // }
+ // this.GetProData()
+ setTimeout(()=>{
+ this.GetProData()
+ },500)
},
// 获取 工程名称 列表数据
async GetProData() {
const params = { unitId: this.queryParams.unitId}
const res = await getProjectList(params)
this.proList = res.data
+ this.queryParams.proId=null
},
proChange(val){
- if(val&&val.length>0){
- this.queryParams.proId=this.projectId[this.projectId.length - 1]
- }else if(val&&val.length==0){
- this.queryParams.proId=""
- }
- this.GetUnitData()
+ // if(val&&val.length>0){
+ // this.queryParams.proId=this.projectId[this.projectId.length - 1]
+ // }else if(val&&val.length==0){
+ // this.queryParams.proId=""
+ // }
+ // this.GetUnitData()
+ setTimeout(()=>{
+ this.GetUnitData()
+ },500)
},
//跳转领料
jumpLease(code){
diff --git a/src/views/material/stquery/deviceUsingHistory.vue b/src/views/material/stquery/deviceUsingHistory.vue
index 35cc71a6..f973e1c6 100644
--- a/src/views/material/stquery/deviceUsingHistory.vue
+++ b/src/views/material/stquery/deviceUsingHistory.vue
@@ -21,7 +21,14 @@
/>
-
+
-
+
0){
- this.queryParams.unitId=this.unitId[this.unitId.length - 1]
- }else if(val&&val.length==0){
- this.queryParams.unitId=""
- }
- this.GetProData()
+ // if(val&&val.length>0){
+ // this.queryParams.unitId=this.unitId[this.unitId.length - 1]
+ // }else if(val&&val.length==0){
+ // this.queryParams.unitId=""
+ // }
+ // this.GetProData()
+ setTimeout(()=>{
+ this.GetProData()
+ },500)
},
// 获取 工程名称 列表数据
async GetProData() {
const params = { unitId: this.queryParams.unitId}
const res = await getProjectList(params)
this.proList = res.data
+ this.queryParams.proId=null
},
proChange(val){
- if(val&&val.length>0){
- this.queryParams.proId=this.projectId[this.projectId.length - 1]
- }else if(val&&val.length==0){
- this.queryParams.proId=""
- }
- this.GetUnitData()
+ // if(val&&val.length>0){
+ // this.queryParams.proId=this.projectId[this.projectId.length - 1]
+ // }else if(val&&val.length==0){
+ // this.queryParams.proId=""
+ // }
+ // this.GetUnitData()
+ setTimeout(()=>{
+ this.GetUnitData()
+ },500)
},
// 获取列表
diff --git a/src/views/material/stquery/deviceUsingRecord.vue b/src/views/material/stquery/deviceUsingRecord.vue
index 3a0e77f2..79df15f9 100644
--- a/src/views/material/stquery/deviceUsingRecord.vue
+++ b/src/views/material/stquery/deviceUsingRecord.vue
@@ -21,7 +21,14 @@
/>
-
+
-
+
0){
- this.queryParams.unitId=this.unitId[this.unitId.length - 1]
- }else if(val&&val.length==0){
- this.queryParams.unitId=""
- }
- this.GetProData()
+ // if(val&&val.length>0){
+ // this.queryParams.unitId=this.unitId[this.unitId.length - 1]
+ // }else if(val&&val.length==0){
+ // this.queryParams.unitId=""
+ // }
+ // this.GetProData()
+ setTimeout(()=>{
+ this.GetProData()
+ },500)
},
// 获取 工程名称 列表数据
async GetProData() {
const params = { unitId: this.queryParams.unitId}
const res = await getProjectList(params)
this.proList = res.data
+ this.queryParams.proId=null
},
proChange(val){
- if(val&&val.length>0){
- this.queryParams.proId=this.projectId[this.projectId.length - 1]
- }else if(val&&val.length==0){
- this.queryParams.proId=""
- }
- this.GetUnitData()
+ // if(val&&val.length>0){
+ // this.queryParams.proId=this.projectId[this.projectId.length - 1]
+ // }else if(val&&val.length==0){
+ // this.queryParams.proId=""
+ // }
+ // this.GetUnitData()
+ setTimeout(()=>{
+ this.GetUnitData()
+ },500)
},
// 获取列表