Browse Source

单证bug

cz 1 năm trước cách đây
mục cha
commit
3982627fe1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/salesMange/shipmentMange/document/index.vue

+ 2 - 2
src/views/salesMange/shipmentMange/document/index.vue

@@ -746,7 +746,7 @@
                   {{ dictValueLabel(item.productUnit, productUnit) }}
                 </td>
                 <td style="text-align: center; border-right: 0">
-                  {{ item.quantity }}
+                  {{ item.sumQuantity }}
                 </td>
               </tr>
             </tbody>
@@ -3057,7 +3057,7 @@ const clickToView = (item) => {
             }
           });
           if (isHaveProduct && index >= 0) {
-            arr[index].quantity += ele.quantity;
+            arr[index].sumQuantity += ele.sumQuantity;
           } else {
             arr.push(ele);
           }