Commit 9ce4bf9f authored by 季圣华's avatar 季圣华
Browse files

解决条码重复判断的bug

parent 9bb54038
...@@ -583,7 +583,7 @@ ...@@ -583,7 +583,7 @@
validateBarCode(type, value, row, column, callback, target) { validateBarCode(type, value, row, column, callback, target) {
let params = { let params = {
barCode: value, barCode: value,
id: row.id.length == 20?0: row.id id: row.id.length >= 20?0: row.id
}; };
checkMaterialBarCode(params).then((res)=>{ checkMaterialBarCode(params).then((res)=>{
if(res && res.code===200) { if(res && res.code===200) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment