Forráskód Böngészése

出库打印修改

lichao 3 éve
szülő
commit
0e93c5adba

+ 1 - 1
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -2758,7 +2758,7 @@
               <td style="width: 8%;"><span class="no-print">合 同 号</span></td>
               <td style="width: 13%;">{{ Printinglist.length === 1 ? Printinglist[0].fSerialNumber : '' }}</td>
               <td style="width: 9%;"><span class="no-print">品 名</span></td>
-              <td style="width: 16%;">{{ Printinglist.length === 1 ? Printinglist[0].fGoodsid : '' }}</td>
+              <td style="width: 16%;">{{ Printinglist.length === 1 ? Printinglist[0].fGoodsids : '' }}</td>
             </tr>
             <tr>
               <td><span class="no-print">件 数</span></td>

+ 2 - 2
src/views/Warehousing/outStock/index.vue

@@ -996,10 +996,10 @@ export default {
             }
           }, 0);
           if (column.property === "fGrossweight") {
-            sums[index] = sums[index].toFixed(4) + "吨";
+            sums[index] = (sums[index] / 1000).toFixed(4) + "吨";
           }
           if (column.property === "fNetweight") {
-            sums[index] = sums[index].toFixed(4) + "吨";
+            sums[index] = (sums[index] / 1000).toFixed(4) + "吨";
           }
           if (column.property === "fQty") {
             // sums[index] = sums[index].toFixed(2);