huangbin 4 년 전
부모
커밋
4f37307955

+ 13 - 9
public/config/readMe.txt

@@ -5,6 +5,10 @@ http://192.168.31.114:8080/cfg?key=test_114
 
 李倩:http://192.168.31.220:8080/cfg?key=test_220
 
+李倩:http://192.168.30.125:8080/cfg?key=test_125 账号:epm, 密码:123456
+
+姚姐:http://192.168.30.211:8080/cfg?key=test_211 账号:1000, 密码:123456
+
 http://192.168.30.211:8080/cfg?key=test_211
 
 透传  "apiUrl": "http://192.168.31.175:8080/cfg?key=test_175"
@@ -13,7 +17,7 @@ http://192.168.30.211:8080/cfg?key=test_211
 
 "apiUrl": "http://192.168.30.211:8080/cfg?key=test_211"
 
-31.175 账号 
+31.175 账号
     110000000001
     199990000012
     199990000013
@@ -36,11 +40,11 @@ http://192.168.30.211:8080/cfg?key=test_211
     110000000001
     1100010010000001
     1100010020000001
-    2100002 
-    11000000000010 
-    11000000000011 
-    11000000000007 
-    120000000001 
-    110000000002 
-    199990000001 
-    188880000001 
+    2100002
+    11000000000010
+    11000000000011
+    11000000000007
+    120000000001
+    110000000002
+    199990000001
+    188880000001

+ 8 - 2
src/layout/components/top.vue

@@ -65,8 +65,14 @@ export default defineComponent({
                 const i = value.children.findIndex((e) => e.code === temp);
                 if (i === -1) {
                     // 切换左边菜单栏
-                    name = value.code;
-                    index.value = ['0'];
+                    if (value?.children.length) {
+                        // 默认第一个tab页
+                        name = value.children[0].code;
+                        index.value = ['0'];
+                    } else {
+                        router.push({ name: '404' });
+                        return;
+                    }
                 } else {
                     // 切换右边上面tab 栏
                     index.value = [`${i}`];

+ 0 - 23
src/views/search/inventory/index.vue

@@ -1,23 +0,0 @@
-<template>
-  <!-- 库存查询 -->
-  <div class="inventory">
-    "库存查询"
-  </div>
-</template>
-
-<script lang="ts">
-import { defineComponent } from 'vue';
-
-export default defineComponent({
-    name: 'inventory',
-    components: {},
-    setup() {
-        return {};
-    },
-});
-</script>
-
-<style lang="less">
-.inventory {
-}
-</style>;

+ 1 - 1
src/views/search/inventory/list/inventory_applyrecord/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <!-- 现货合同: 待审核-->
+  <!-- 库存查询: 当前库存-->
   <div class="inventory_current"
        :loading="loading">
     <Filter @search="updateColumn">

+ 1 - 1
src/views/search/inventory/list/inventory_current/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <!-- 现货合同: 待审核-->
+  <!-- 库存查询: 申请记录-->
   <div class="inventory_current"
        :loading="loading">
     <Filter @search="updateColumn">