imeik-bizui 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -614,6 +614,7 @@ export default {
614
614
  },
615
615
  // 检查木方案超不超
616
616
  checkQuantity(row) {
617
+ console.log('出发了')
617
618
  if (!row.materialQuantity || [null, undefined].includes(row.materialSchemeRemainingQuantity)) {
618
619
  this.$set(row, 'overSchemeFlag', '0')
619
620
  this.$set(row, 'overSchemeExplain', '')
@@ -629,8 +630,8 @@ export default {
629
630
  }
630
631
  },
631
632
  clearScheme(row) {
632
- row.materialSchemeRemainingQuantity = 0
633
- row.materialSchemeTotalQuantity = 0
633
+ row.materialSchemeRemainingQuantity = undefined
634
+ row.materialSchemeTotalQuantity = undefined
634
635
  },
635
636
  formatDataDeliveryMode(deliveryMode) {
636
637
  switch (deliveryMode) {