鲁班七号
2023-09-07 afd5ee7daad90e273203fbe3092182d60ac111d6
打印bug修复
已修改2个文件
17 ■■■■ 文件已修改
package.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/license/licenseInfo/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json
@@ -146,4 +146,4 @@
    "not ie <= 8"
  ],
  "main": "index.js"
}
}
src/views/license/licenseInfo/index.vue
@@ -356,7 +356,7 @@
                            </el-col>
                            <el-col :span="18">
                                <span
                                    v-if="type === 2">{{province === "新疆维吾尔自治区"? "新疆":province}}{{city}}{{district}}{{storageaddress}}</span>
                                    v-if="type === 2">{{province === "新疆维吾尔自治区"? "新疆":province}}{{city}}{{storagedistrict}}{{storageaddress}}</span>
                                <span
                                    v-if="type === 3">{{province === "新疆维吾尔自治区"? "新疆":province}}{{city}}{{district}}{{address}}</span>
                            </el-col>
@@ -910,7 +910,8 @@
            this.getLicenseListData()
        },
        methods: {
            giveDetail(val) {
            giveDetail(val) {
                console.log(val)
                this.code = val.code
                this.name = val.name
                this.mainpersonname = val.mainpersonname
@@ -967,7 +968,8 @@
                this.$nextTick(() => {
                    this.qrcode()
                })
            },
            },
            //打印正本
            giveData(val) {
                this.code = val.code
                this.name = val.name
@@ -999,7 +1001,12 @@
                this.storageprovince = val.storageprovince
                this.storagecity = val.storagecity
                this.storagedistrict = val.storagedistrict
                this.dealingrange = val.dealingRangeStr
                //带出口的特殊情况
                if (val.remark.indexOf("批发出口")!= -1 ){
                    this.dealingrange = val.dealingRangeStr+" (批发出口) ★★★"
                }else{
                    this.dealingrange = val.dealingRangeStr+"  ★★★"
                }
                this.reservebox = val.reservebox
                this.effectdate = formatDateDay(val.effectdate)
                this.noeffectdate = formatDateDay(val.noeffectdate)