duhe
2 天以前 7fd1a8a5146655152660c576eb3d61c82d137573
锦隆:插件跳转条码生成页面并自动登录,增加按钮跳转到条码档案
6个文件已修改
32 ■■■■ 已修改文件
.env.development 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.production 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/permission.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -5,11 +5,13 @@
ENV = 'development'
# 智云迈思L-MOM管理系统/开发环境
VUE_APP_BASE_API = http://localhost:81/API/
# VUE_APP_BASE_API = http://localhost:81/API/
# VUE_APP_BASE_API = 'http://47.96.97.237/API/'
# VUE_APP_BASE_API = 'http://220.189.218.155:9010/API/'
# VUE_APP_BASE_API = 'http://localhost:8082/LuBaoAPI/'
#锦隆
# VUE_APP_BASE_API = 'http://192.168.1.11/API/'
VUE_APP_BASE_API = http://61.174.29.234:8880/API/
#杜贺
# VUE_APP_BASE_API = http://localhost:8082/API/
# 路由懒加载
.env.production
@@ -6,10 +6,10 @@
# 宁波 四维尔
# VUE_APP_BASE_API = http://192.168.0.236:9010/API/
VUE_APP_BASE_API = http://220.189.218.155:9010/API/
# VUE_APP_BASE_API = http://220.189.218.155:9010/API/
# 余姚 锦隆 智能家居
# VUE_APP_BASE_API = http://192.168.1.11/API/
# VUE_APP_BASE_API = http://61.174.29.234:8880/API/
VUE_APP_BASE_API = http://61.174.29.234:8880/API/
# 智云迈思L-MOM管理系统/生产环境
# VUE_APP_BASE_API = http://47.96.97.237/API/
#杜贺
src/permission.js
@@ -24,6 +24,7 @@
  "/FbStepFoldOutBillList",
  "/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong",
  "/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin",
  "/warehouse/barcodeMaster/Gy_BarCodeBillList_JinLong_AutoLogin"
]; // no redirect whitelist
const isWhiteList = (path) => {
src/router/index.js
@@ -196,6 +196,15 @@
    ],
  },
  //#endregion
  //#region 条码主档_锦隆_自动登录
  {
    path: "/warehouse/barcodeMaster/Gy_BarCodeBillList_JinLong_AutoLogin",
    component: () => import("@/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue"),
    hidden: true,
  },
  //#endregion
  //#endregion
  //#region 仓存管理
src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue
@@ -474,6 +474,12 @@
      if (this.queryParams.HOrgID) {
        this.sWhere += " and HStockOrgID = ''" + this.queryParams.HOrgID + "''";
      }
      //如果是自动登录,则只能查看供应商自己的条码。
      if (sessionStorage["HAutoLogin"] == "1") {
        this.sWhere += " and 供应商 = ''" + sessionStorage["HUserName"] + "''";
      }
      this.getList()
    },
    //#endregion
src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue
@@ -3,7 +3,7 @@
        <div style=" margin-bottom: 10px; border-bottom: 1px solid #f6f6f6;">
            <el-button type="primary" @click="onClickMethod_BarCodeProduce" :disabled="disabledFlag_BarCodeProduce">生成</el-button>
            <el-button type="primary" @click="get_PrintReport">打印</el-button>
            <!-- <el-button type="primary" @click="close">退 出</el-button> -->
            <el-button type="primary" @click="get_BarCodeBillList">条码档案</el-button>
        </div>
        <div style="margin: 10px; font-size: 28px; font-weight: bold; text-align: center;">条码生成</div>
        <el-form :model="initMainData" label-width="80px">
@@ -562,6 +562,12 @@
        },
        //#endregion
        //#region 条码档案按钮点击事件
        get_BarCodeBillList(){
            this.$router.push({ path: "/warehouse/barcodeMaster/Gy_BarCodeBillList_JinLong_AutoLogin" }).catch(() => { });
        },
        //#endregion
        //#region 条码列表复选框选择状态变更监听事件
        onSelectionChange_BarCode(selection){
            this.selectedData_BarCode = selection;