|
|
@ -58,7 +58,8 @@ |
|
|
|
<script> |
|
|
|
import { |
|
|
|
getBasicCustomerList, |
|
|
|
deliverRecordSubmit |
|
|
|
deliverRecordSubmit, |
|
|
|
getCustomerdockList |
|
|
|
} from '@/api/request2.js'; |
|
|
|
import { |
|
|
|
goHome, |
|
|
@ -514,6 +515,17 @@ |
|
|
|
this.customerCode = e.detail.value[0].value |
|
|
|
this.customerText = e.detail.value[0].text |
|
|
|
} |
|
|
|
const params = { |
|
|
|
filters:[{column: "customerCode", action: "like", value: this.customerCode}] |
|
|
|
} |
|
|
|
// 选择完客户后查询默认库位 |
|
|
|
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) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|