ysy 2 lat temu
rodzic
commit
6cfb612795

+ 2 - 2
src/views/material/product/components/goodsAllocation.vue

@@ -320,7 +320,7 @@ export default {
 
 
       if (this.hjForm.type == 3) {
-        for (let i = 0; i < this.form.levelNum; i++) {
+        for (let i = 0; i < this.form.lineNum; i++) {
           // 获取当前字母
           let index = currentLetterIndex;
           let dividend = codeEng.length;
@@ -341,7 +341,7 @@ export default {
             index = quotient;
           }
 
-          for (let j = 0; j < this.form.lineNum; j++) {
+          for (let j = 0; j < this.form.levelNum; j++) {
             let obj1111 = {
               code: code + (j + 1),
               length: this.form.vehicleLen ? Number(this.form.vehicleLen / Number(this.form.lineNum)).toFixed(0) : '',

+ 2 - 2
vue.config.js

@@ -33,9 +33,9 @@ module.exports = {
       // 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
       '/api': {
         // target: 'http://124.71.68.31:50001',
-        // target: 'http://192.168.1.139:18086',
+        target: 'http://192.168.1.139:18086',
         // target: 'http://192.168.1.132:18086',
-        target: 'http://192.168.1.147:18087',
+        // target: 'http://192.168.1.147:18087',
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {
           '^/api': ''