From afd5ee7daad90e273203fbe3092182d60ac111d6 Mon Sep 17 00:00:00 2001 From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com> Date: 星期四, 07 九月 2023 21:11:47 +0800 Subject: [PATCH] 打印bug修复 --- src/views/license/licenseInfo/index.vue | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/views/license/licenseInfo/index.vue b/src/views/license/licenseInfo/index.vue index 4279d6d..c34de2b 100644 --- a/src/views/license/licenseInfo/index.vue +++ b/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) -- Gitblit v1.9.2