lxf 1 år sedan
förälder
incheckning
f525b05f14
1 ändrade filer med 9 tillägg och 1 borttagningar
  1. 9 1
      src/views/production/warehouse/check/index.vue

+ 9 - 1
src/views/production/warehouse/check/index.vue

@@ -181,6 +181,13 @@ const config = computed(() => {
     },
     {
       attrs: {
+        label: "盘点单号",
+        prop: "code",
+        width: 200,
+      },
+    },
+    {
+      attrs: {
         label: "归属事业部",
         prop: "departmentName",
         "min-width": 160,
@@ -406,8 +413,9 @@ const calculationMoney = (row) => {
   if (row.surplusStock) {
     num = Number(num) - Number(row.surplusStock);
   }
+  let money = 0;
   if (row.balanceUnitPrice) {
-    money = Number(Math.round(money * Number(row.balanceUnitPrice) * 100) / 100);
+    money = Number(Math.round(num * Number(row.balanceUnitPrice) * 100) / 100);
     return money;
   } else {
     return 0;