优化单据中商品条码的模糊匹配
This commit is contained in:
@@ -73,7 +73,11 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initComp(name) {
|
initComp(name) {
|
||||||
this.names = name?name:'输入条码或名称'
|
if(this.kind === 'material') {
|
||||||
|
this.names = name?name:'输入条码或名称'
|
||||||
|
} else {
|
||||||
|
this.names = name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onSearch() {
|
onSearch() {
|
||||||
this.$refs.selectModal.showModal()
|
this.$refs.selectModal.showModal()
|
||||||
|
|||||||
Reference in New Issue
Block a user