lilei 2 年之前
父節點
當前提交
166e977ee6
共有 4 個文件被更改,包括 7 次插入5 次删除
  1. 1 1
      public/version.json
  2. 2 1
      src/config/router.config.js
  3. 2 1
      src/views/inventoryManagement/inventoryWarning/list.vue
  4. 2 2
      vue.config.js

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1675306071859
+  "version": 1675306916034
 }

+ 2 - 1
src/config/router.config.js

@@ -1624,7 +1624,8 @@ export const asyncRouterMap = [
                 name: 'inventoryWarningList',
                 component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
                 meta: {
-                  title: '库存预警',
+                  title: '库存预警列表',
+                  hidden: true,
                   icon: 'alert',
                   permission: 'M_inventoryWarningList'
                 }

+ 2 - 1
src/views/inventoryManagement/inventoryWarning/list.vue

@@ -71,6 +71,7 @@
           style="margin-left: 5px"
           class="button-warning"
           @click="openGuideModal=true"
+          v-if="$hasPermissions('B_inventoryWarningProductImport')"
           id="inventoryWarningList-import-btn">导入产品</a-button>
         <span style="margin-left: 5px" v-if="$hasPermissions('B_inventoryWarningBatchSave')">
           <template v-if="rowSelectionInfo&&rowSelectionInfo.selectedRowKeys.length>0">{{ `已选 ${rowSelectionInfo.selectedRowKeys.length} 项` }}</template>
@@ -178,7 +179,7 @@ import ProductType from '../../common/productType.js'
 import ProductBrand from '../../common/productBrand.js'
 import importGuideModal from './importGuideModal.vue'
 export default {
-  name: 'InventoryWarning',
+  name: 'InventoryWarningList',
   components: { STable, VSelect, ProductType, ProductBrand, importGuideModal },
   mixins: [commonMixin],
   data () {

+ 2 - 2
vue.config.js

@@ -211,8 +211,8 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.0.183:8503/qpls-md',
-        // target: 'http://p.iscm.360arrow.com/qpls-md',
+        // target: 'http://192.168.0.183:8503/qpls-md',
+        target: 'http://p.iscm.360arrow.com/qpls-md',
         // ws: false,
         ws: true,
         changeOrigin: true,