Commit d3b32363 authored by liudong1993's avatar liudong1993

1 付款对象 领队导游账号绑定优化

parent 57ad0829
...@@ -341,7 +341,8 @@ ...@@ -341,7 +341,8 @@
CountryStr: "", CountryStr: "",
ProvinceStr: "", ProvinceStr: "",
CityStr: "", CityStr: "",
DistrictStr: "" DistrictStr: "",
ID :0
}, },
loading: true, loading: true,
accountList: [], accountList: [],
...@@ -395,7 +396,7 @@ ...@@ -395,7 +396,7 @@
AccountClassify: '2', AccountClassify: '2',
Type: '9', Type: '9',
DutyNo: '', DutyNo: '',
SupplierName: '', SupplierName: ''
}, },
rules: { rules: {
BankName: [{ BankName: [{
...@@ -502,15 +503,17 @@ ...@@ -502,15 +503,17 @@
url = "leader_post_GetPageList" url = "leader_post_GetPageList"
msg = { msg = {
Type: "0", Type: "0",
FullName: this.supplierMsg.Name, ID: this.supplierMsg.ID,
FullName: this.supplierMsg.ID>0?'': this.supplierMsg.Name,
RB_Branch_id: -1, RB_Branch_id: -1,
pageIndex: 1, pageIndex: 1,
pageSize: this.supplierMsg.pageSize, pageSize: 20,
total: 0, total: 0,
currentPage: 1, currentPage: 1,
QueryType: 0, QueryType: 0,
LeaderGuidClass: -1 LeaderGuidClass: -1
} }
this.supplierMsg.ID=0;
} }
if (this.addMsg.Type == 8) { if (this.addMsg.Type == 8) {
url = "app_customer_GetCustomerListForCareOf" url = "app_customer_GetCustomerListForCareOf"
...@@ -601,7 +604,7 @@ ...@@ -601,7 +604,7 @@
} }
} else if (this.addMsg.Type == 7) { } else if (this.addMsg.Type == 7) {
Obj = { Obj = {
Name: x.Surname + x.Name, Name: x.Surname + x.Name + x.MobilePhone,
ID: x.ID ID: x.ID
} }
} else if (this.addMsg.Type == 6) { } else if (this.addMsg.Type == 6) {
...@@ -778,6 +781,7 @@ ...@@ -778,6 +781,7 @@
this.addMsg.SupplierName = res.data.data.SupplierName this.addMsg.SupplierName = res.data.data.SupplierName
if (this.addMsg.ObjIdStr) { if (this.addMsg.ObjIdStr) {
this.supplierMsg.Name = this.addMsg.ObjIdStr this.supplierMsg.Name = this.addMsg.ObjIdStr
this.supplierMsg.ID = this.addMsg.ObjID
this.getSupplierGetPageList() this.getSupplierGetPageList()
} else { } else {
this.addMsg.ObjID = null this.addMsg.ObjID = null
......
...@@ -530,7 +530,8 @@ export default { ...@@ -530,7 +530,8 @@ export default {
CountryStr:"", CountryStr:"",
ProvinceStr:"", ProvinceStr:"",
CityStr:"", CityStr:"",
DistrictStr:"" DistrictStr:"",
ID:0
}, },
loading: false, loading: false,
accountList: [], accountList: [],
...@@ -678,15 +679,17 @@ export default { ...@@ -678,15 +679,17 @@ export default {
url = "leader_post_GetPageList" url = "leader_post_GetPageList"
msg = { msg = {
Type:"0", Type:"0",
FullName:this.supplierMsg.Name, ID : this.supplierMsg.ID,
FullName: this.supplierMsg.ID>0?'': this.supplierMsg.Name,
RB_Branch_id:-1, RB_Branch_id:-1,
pageIndex:1, pageIndex:1,
pageSize:this.supplierMsg.pageSize, pageSize:20,
total:0, total:0,
currentPage:1, currentPage:1,
QueryType:0, QueryType:0,
LeaderGuidClass:-1 LeaderGuidClass:-1
} }
this.supplierMsg.ID=0;
} }
if(this.addMsg.Type==8) { if(this.addMsg.Type==8) {
url = "app_customer_GetCustomerListForCareOf" url = "app_customer_GetCustomerListForCareOf"
...@@ -778,7 +781,7 @@ export default { ...@@ -778,7 +781,7 @@ export default {
} }
}else if(this.addMsg.Type==7){ }else if(this.addMsg.Type==7){
Obj = { Obj = {
Name: x.Surname+x.Name, Name: x.Surname+x.Name+x.MobilePhone,
ID: x.ID ID: x.ID
} }
}else if(this.addMsg.Type==6){ }else if(this.addMsg.Type==6){
...@@ -985,6 +988,7 @@ export default { ...@@ -985,6 +988,7 @@ export default {
this.supplierMsg.Type = this.addMsg.Type this.supplierMsg.Type = this.addMsg.Type
if(this.addMsg.ObjIdStr){ if(this.addMsg.ObjIdStr){
this.supplierMsg.Name = this.addMsg.ObjIdStr this.supplierMsg.Name = this.addMsg.ObjIdStr
this.supplierMsg.ID = this.addMsg.ObjID
this.getSupplierGetPageList() this.getSupplierGetPageList()
}else{ }else{
this.addMsg.ObjID = null this.addMsg.ObjID = null
......
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