|
|
@ -147,7 +147,7 @@ |
|
|
|
if (res.data.length > 0) { |
|
|
|
var list = res.data; |
|
|
|
list.forEach(item => { |
|
|
|
item.text = item.name |
|
|
|
item.text = item.code+'-'+item.name |
|
|
|
item.value = item.code |
|
|
|
}) |
|
|
|
this.customerList = list; |
|
|
@ -520,14 +520,12 @@ |
|
|
|
} |
|
|
|
// 选择完客户后查询默认库位 |
|
|
|
getCustomerdockList(params).then(res => { |
|
|
|
console.log(res.data) |
|
|
|
if(res && res.data && res.data.list && res.data.list.length>0){ |
|
|
|
console.log(res) |
|
|
|
this.scanLocationCode('',res.data.list[0].defaultLocationCode) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|