Przeglądaj źródła

[CODE]: 出库收付费数量/1000 保留两位小数

maxianghua 4 lat temu
rodzic
commit
5929b12097
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1 0
      src/views/warehouseBusiness/outStock/index.vue
  2. 1 1
      vue.config.js

+ 1 - 0
src/views/warehouseBusiness/outStock/index.vue

@@ -3055,6 +3055,7 @@ export default {
         } else if (this.dialogWhgenlegList[zhgen].fFeeUnitid === 4) {
           qty = this.fVolumn
         }
+        qty=(qty/1000).toFixed(2);
         let fAmount = parseFloat(Number(this.dialogWhgenlegList[zhgen].fPrice) * Number(qty)).toFixed(2)
         if (this.costStatus === 'Cr') {
           this.warehouseCrList.push({

+ 1 - 1
vue.config.js

@@ -34,7 +34,7 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://192.168.137.1:9010`,
+        target: `http://localhost:9010`,
         //  target: `http://engineering.echepei.com:9010/`,
         changeOrigin: true,
         pathRewrite: {