fix(入库计划): rfid验证方法修复
This commit is contained in:
parent
83e9c5bdc2
commit
53d716fd23
@ -63,11 +63,8 @@ export default {
|
||||
this.$emit("update:visible", false)
|
||||
},
|
||||
async validateRfid() {
|
||||
const rfidList = this.wmsInPlanDetailEntityList.filter(entity => {
|
||||
if (entity.rfid && entity.rfid.trim().length > 0) {
|
||||
return entity.rfid;
|
||||
}
|
||||
});
|
||||
const rfidList = this.wmsInPlanDetailEntityList.filter(entity => entity.rfid && entity.rfid.trim().length > 0).map(entity => entity.rfid);
|
||||
console.log(rfidList)
|
||||
if (!Array.isArray(rfidList) || rfidList.length === 0) return
|
||||
const res = await isDuplicateRfid(rfidList.join(","));
|
||||
return res.data
|
||||
|
Loading…
Reference in New Issue
Block a user