Browse Source

入库计价单位修改

wengyuwen 4 years ago
parent
commit
83d073c959
2 changed files with 4 additions and 4 deletions
  1. 3 3
      src/views/warehouseBusiness/inStock/index.vue
  2. 1 1
      vue.config.js

+ 3 - 3
src/views/warehouseBusiness/inStock/index.vue

@@ -4111,11 +4111,11 @@ export default {
         return false;
         return false;
       }
       }
       if (row.fFeeUnitid === "2") {
       if (row.fFeeUnitid === "2") {
-        this.$set(row, "fQty", this.fGrossweight);
+        this.$set(row, "fQty", (this.fGrossweight/1000).toFixed(2));
       } else if (row.fFeeUnitid === "1") {
       } else if (row.fFeeUnitid === "1") {
-        this.$set(row, "fQty", this.fQty);
+        this.$set(row, "fQty", (this.fQty/1000).toFixed(2));
       } else if (row.fFeeUnitid === "3") {
       } else if (row.fFeeUnitid === "3") {
-        this.$set(row, "fQty", this.fNetweight);
+        this.$set(row, "fQty", (this.fNetweight/1000).toFixed(2));
       } else {
       } else {
         this.$set(row, "fQty", 0);
         this.$set(row, "fQty", 0);
       }
       }

+ 1 - 1
vue.config.js

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