|
@@ -243,7 +243,7 @@
|
|
|
onLoad(options){
|
|
|
this.id=options.id
|
|
|
if(options.customerName){
|
|
|
- this.deptList.procurementPlanNo = options.customerName
|
|
|
+ this.deptList.buyer = options.customerName
|
|
|
}
|
|
|
|
|
|
},
|
|
@@ -253,9 +253,9 @@
|
|
|
this.$api.doRequest('get', '/identityAuthenticationInfo/getInfo',{commonId:this.userInfo.id}).then(res => {
|
|
|
if(res.data.code==200){
|
|
|
if(res.data.data.customerTypeFlag==1){
|
|
|
- that.$set(this.deptList,'procurementPlanNo',res.data.data.customerName)
|
|
|
+ that.$set(this.deptList,'buyer',res.data.data.customerName)
|
|
|
}else{
|
|
|
- that.$set(this.deptList,'procurementPlanNo',res.data.data.compName)
|
|
|
+ that.$set(this.deptList,'buyer',res.data.data.compName)
|
|
|
}
|
|
|
this.goods=res.data.data
|
|
|
}
|