From d5f70e01396783b1d2b84b49344b6d2798eb1097 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 19 十二月 2023 16:09:48 +0800
Subject: [PATCH] 仓储管理

---
 src/views/license/licenseInfo/index.vue |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/src/views/license/licenseInfo/index.vue b/src/views/license/licenseInfo/index.vue
index 4279d6d..338bb39 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
@@ -947,7 +948,10 @@
                     this.dealingrange = val.dealingRangeStr+" (批发出口) ★★★"
                 }else{
                     this.dealingrange = val.dealingRangeStr+"  ★★★"
-                }
+                }
+                // 乌鲁木齐局临时自定义许可范围
+                // this.dealingrange="烟花类(C级、D级)、爆竹类(C级)、喷花类(C级、D级)、旋转类(C级、D级)、吐珠类(C级)、玩具类(C级、D级)、组合烟花类(C级、D级),储存能力76吨;烟花类储存(A类储存能力2吨、B类储存能力5吨,仅限于储存,储存库为4号库)  ★★★"
+
                 this.effectdate = formatDateDay(val.effectdate)
                 this.noeffectdate = formatDateDay(val.noeffectdate)
                 this.issuingunit = val.issuingunit
@@ -967,7 +971,8 @@
                 this.$nextTick(() => {
                     this.qrcode()
                 })
-            },
+            },
+            //打印正本
             giveData(val) {
                 this.code = val.code
                 this.name = val.name
@@ -999,7 +1004,15 @@
                 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.dealingrange="烟花类(C级、D级)、爆竹类(C级)、喷花类(C级、D级)、旋转类(C级、D级)、吐珠类(C级)、玩具类(C级、D级)、组合烟花类(C级、D级),储存能力76吨;烟花类储存(A类储存能力2吨、B类储存能力5吨,仅限于储存,储存库为4号库)  ★★★"
+
                 this.reservebox = val.reservebox
                 this.effectdate = formatDateDay(val.effectdate)
                 this.noeffectdate = formatDateDay(val.noeffectdate)

--
Gitblit v1.9.2