1
chenhaozhe
5 天以前 35a0eb3cc4d6337e9d28747817df71e1ea34c9d2
1
4个文件已修改
20 ■■■■■ 已修改文件
.env.development 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.production 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/component/printList/barcode.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/component/printList/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -5,13 +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://localhost:8082/LuBaoAPI/'
#锦隆
VUE_APP_BASE_API_INNER = http://192.168.1.11/API/
VUE_APP_BASE_API = http://61.174.29.234:8880/API/
#VUE_APP_BASE_API_INNER = http://192.168.1.11/API/
#VUE_APP_BASE_API = http://61.174.29.234:8880/API/
# 宁波 四维尔
# VUE_APP_BASE_API_INNER = http://192.168.0.236:9010/API/
# VUE_APP_BASE_API = http://220.189.218.155:9010/API/
.env.production
@@ -8,11 +8,13 @@
# VUE_APP_BASE_API_INNER = http://192.168.0.236:9010/API/
# VUE_APP_BASE_API = http://220.189.218.155:9010/API/
# 余姚 锦隆 智能家居
VUE_APP_BASE_API_INNER = http://192.168.1.11/API/
VUE_APP_BASE_API = http://61.174.29.234:8880/API/
# VUE_APP_BASE_API_INNER = http://192.168.1.11/API/
# VUE_APP_BASE_API = http://61.174.29.234:8880/API/
# 智云迈思L-MOM管理系统/生产环境
# VUE_APP_BASE_API = http://47.96.97.237/API/
#杜贺
# VUE_APP_BASE_API = http://localhost:8082/API/
# 路由懒加载
# 陈镐哲
VUE_APP_BASE_API = http://localhost:81/API/
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
src/views/component/printList/barcode.vue
@@ -109,7 +109,7 @@
      this.pageSize.width = grfMeta.Printer.Width * 10 + "mm";
      this.pageSize.height = grfMeta.Printer.Height * 10 + "mm";
      console.log("pageSize: ",this.pageSize)
      this.oriention = grfMeta.Printer.Oriention.toLowerCase()
      // this.oriention = grfMeta.Printer.Oriention.toLowerCase()
    },
    getTemp() {
      // 对每个要打印的对象添加分页
src/views/component/printList/index.vue
@@ -2,7 +2,7 @@
    <div style="margin-top: -40px;">
        <el-form ref="formData" :model="formData" label-width="100px">
            <div style="padding: 10px; ">
                <el-button type="primary" size="small" @click="printClick" v-if=false>报表打印</el-button>
                <el-button type="primary" size="small" @click="printClick">报表打印</el-button>
                <el-button type="primary" size="small" @click="printClickWeb">报表打印(网页)</el-button>
            </div>
            <el-table v-loading="loading" :data="printdata" ref="printTable" max-height="540"