|
@@ -403,17 +403,24 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
onSearchProductionOrg(){
|
|
onSearchProductionOrg(){
|
|
-
|
|
|
|
this.$refs.organizationPopup.visible = true
|
|
this.$refs.organizationPopup.visible = true
|
|
this.$refs.organizationPopup.getData()
|
|
this.$refs.organizationPopup.getData()
|
|
},
|
|
},
|
|
onSearchPerson(){
|
|
onSearchPerson(){
|
|
|
|
+ if(this.form.orgName&&this.form.orgName!==''){
|
|
this.$refs.OperatorsPopup.visible = true
|
|
this.$refs.OperatorsPopup.visible = true
|
|
- this.$refs.OperatorsPopup.getData()
|
|
|
|
|
|
+ this.$refs.OperatorsPopup.getData(this.form.pkOrg)
|
|
|
|
+ }else{
|
|
|
|
+ this.$message.warning('请选择生产组织!')
|
|
|
|
+ }
|
|
},
|
|
},
|
|
onSearchPlanDept(){
|
|
onSearchPlanDept(){
|
|
|
|
+ if(this.form.orgName&&this.form.orgName!==''){
|
|
this.$refs.deparmentPopup.visible = true
|
|
this.$refs.deparmentPopup.visible = true
|
|
- this.$refs.deparmentPopup.getData()
|
|
|
|
|
|
+ this.$refs.deparmentPopup.getData(this.form.pkOrg)
|
|
|
|
+ }else{
|
|
|
|
+ this.$message.warning('请选择生产组织!')
|
|
|
|
+ }
|
|
},
|
|
},
|
|
okData(data){
|
|
okData(data){
|
|
this.$set(this.form,'projectCode',data.Code)
|
|
this.$set(this.form,'projectCode',data.Code)
|