优化商品条码查询接口,支持选择多商品

This commit is contained in:
季圣华
2021-08-06 01:24:28 +08:00
parent c6a5689f44
commit 5f6ab65681
16 changed files with 81 additions and 40 deletions

View File

@@ -124,7 +124,7 @@
}
getMaterialByBarCode(param).then((res) => {
if (res && res.code === 200) {
this.form.setFieldsValue({'materialName': res.data.name})
this.form.setFieldsValue({'materialName': res.data[0].name})
}
})
}

View File

@@ -144,7 +144,7 @@
}
getMaterialByBarCode(param).then((res) => {
if (res && res.code === 200) {
this.form.setFieldsValue({'materialName': res.data.name})
this.form.setFieldsValue({'materialName': res.data[0].name})
}
})
}