Browse Source

YT-2729pda直接发货,客户名称前显示客户代码

intex
张立 4 weeks ago
parent
commit
31f4356524
  1. 6
      src/pages/deliver/record/deliverRecord.vue

6
src/pages/deliver/record/deliverRecord.vue

@ -147,7 +147,7 @@
if (res.data.length > 0) { if (res.data.length > 0) {
var list = res.data; var list = res.data;
list.forEach(item => { list.forEach(item => {
item.text = item.name item.text = item.code+'-'+item.name
item.value = item.code item.value = item.code
}) })
this.customerList = list; this.customerList = list;
@ -520,14 +520,12 @@
} }
// //
getCustomerdockList(params).then(res => { getCustomerdockList(params).then(res => {
console.log(res.data)
if(res && res.data && res.data.list && res.data.list.length>0){ if(res && res.data && res.data.list && res.data.list.length>0){
console.log(res)
this.scanLocationCode('',res.data.list[0].defaultLocationCode) this.scanLocationCode('',res.data.list[0].defaultLocationCode)
} }
}) })
}, },
} }
} }
</script> </script>

Loading…
Cancel
Save