mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 20:26:44 +08:00
[FIX]卡单-回滚卡单分支合并时影响到的customer代码
This commit is contained in:
@@ -52,7 +52,6 @@ export default {
|
|||||||
mounted() {},
|
mounted() {},
|
||||||
methods: {
|
methods: {
|
||||||
choose(data) {
|
choose(data) {
|
||||||
console.log(data)
|
|
||||||
let params = {
|
let params = {
|
||||||
customerNumber: data.customerNumber
|
customerNumber: data.customerNumber
|
||||||
}
|
}
|
||||||
@@ -60,21 +59,17 @@ export default {
|
|||||||
console.log(res, '详情')
|
console.log(res, '详情')
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.isSuccess = true
|
this.isSuccess = true
|
||||||
let Data = []
|
|
||||||
let content = res.content
|
let content = res.content
|
||||||
let value = localStorage.getItem('value')
|
|
||||||
Data.push(content)
|
|
||||||
Data.push(value)
|
|
||||||
if (content.birthday) {
|
if (content.birthday) {
|
||||||
content.age = utils.jsGetAge(content.birthday)
|
content.age = utils.jsGetAge(content.birthday)
|
||||||
}
|
}
|
||||||
this.$emit('on-choose', Data)
|
this.$emit('on-choose', content)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
getCustomersList({}).then(res => {
|
getCustomersList({}).then(res => {
|
||||||
// console.log(res)
|
console.log(res)
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
let customerList = []
|
let customerList = []
|
||||||
//根据数据字典中的客户等级 展示
|
//根据数据字典中的客户等级 展示
|
||||||
|
|||||||
Reference in New Issue
Block a user