Browse Source

打印单

XMLWAN 4 years ago
parent
commit
cfaaba6265
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/xt_pages/stock/detail/print.vue

+ 2 - 1
src/xt_pages/stock/detail/print.vue View File

@@ -58,7 +58,8 @@
58 58
               </td>
59 59
               <td style="line-height:50px" v-if="type == 1 && stock.query_warehousing_info.length > 0">{{stock.query_warehousing_info[0].price}}</td>
60 60
               <td style="line-height:50px" v-if="type == 3 && stock.query_warehouseout_info.length > 0">{{stock.query_warehouseout_info[0].price}}</td>
61
-              <td style="line-height: 50px" v-if="type == 1 || type == 3">{{calTotal(stock)}}</td>
61
+              <td style="line-height: 50px" v-if="type == 1">{{calTotal(stock)}}</td>
62
+              <td style="line-height: 50px" v-if="type == 3">{{(getStockCount(stock.id) * stock.query_warehouseout_info[0].price).toFixed(2)}}</td>
62 63
               <td style="line-height: 50px"></td>
63 64
             </tr>
64 65
             </tbody>