|
@ -389,7 +389,7 @@ export default { |
|
|
changeStaff(value) { |
|
|
changeStaff(value) { |
|
|
const choosetItem = this.staff_list.filter((item) => item.staffName === value) |
|
|
const choosetItem = this.staff_list.filter((item) => item.staffName === value) |
|
|
this.temp.staffSid = choosetItem[0].staffSid |
|
|
this.temp.staffSid = choosetItem[0].staffSid |
|
|
selectCustomerList({ staffSid: this.temp.staffSid, userSid: window.sessionStorage.getItem('userSid'), orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
selectCustomerList({ staffSid: this.temp.staffSid, userSid: '', orgPath: '' }).then((resp) => { |
|
|
if (resp.success) { |
|
|
if (resp.success) { |
|
|
this.customer_list = resp.data |
|
|
this.customer_list = resp.data |
|
|
} |
|
|
} |
|
@ -487,7 +487,7 @@ export default { |
|
|
this.staff_list = choosetItem[0].staffinfoVoList |
|
|
this.staff_list = choosetItem[0].staffinfoVoList |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
selectCustomerList({ staffSid: this.temp.staffSid, userSid: window.sessionStorage.getItem('userSid'), orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
selectCustomerList({ staffSid: this.temp.staffSid, userSid: '', orgPath: '' }).then((resp) => { |
|
|
if (resp.success) { |
|
|
if (resp.success) { |
|
|
this.customer_list = resp.data |
|
|
this.customer_list = resp.data |
|
|
} |
|
|
} |
|
|