whj 1 year ago
parent
commit
7ec9ee06d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/purchase/purchase-order-page/modules/BaseForm.vue

+ 1 - 1
src/views/purchase/purchase-order-page/modules/BaseForm.vue

@@ -473,7 +473,7 @@ export default {
       for (let i = 0; i < rows.length; i++) {
         let find = false
         for (let j = 0; j < data.length; j++) {
-          if (rows[i].spareId === data[j].spareId) {
+          if (rows[i].spareId === data[j].spareId && rows[i].cbatch === data[j].cbatch) {
             find = true
             break
           }