From 7a953239bfd43149c0ffbe66dd24b45eab0f401a Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Thu, 25 Jul 2024 10:26:28 +0800
Subject: [PATCH] 修改名字
---
src/views/license/licenseInfo/index.vue | 25 ++++++++++++-------------
1 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/src/views/license/licenseInfo/index.vue b/src/views/license/licenseInfo/index.vue
index 059d9b6..ca8024b 100644
--- a/src/views/license/licenseInfo/index.vue
+++ b/src/views/license/licenseInfo/index.vue
@@ -416,11 +416,11 @@
<el-row style="margin-top: 92px;padding-left: 120px">
<el-col :span="4" style="font-weight: bold;">
<span v-if="type === 2">主要负责人</span>
- <span v-if="type === 3">许可类型</span>
+ <span v-if="type === 3 || type === 4">许可类型</span>
</el-col>
<el-col :span="8">
<span v-if="type === 2">{{mainpersonname}}</span>
- <span v-if="type === 3">{{licensetype}}</span>
+ <span v-if="type === 3 || type === 4">{{licensetype}}</span>
</el-col>
</el-row>
<el-row style="margin-top: 48px;margin-left: 120px;">
@@ -930,15 +930,15 @@
this.area = JSON.parse(val.licenseStorage)[0].area
this.storagearea = JSON.parse(val.licenseStorage)[0].storagearea
this.powder = JSON.parse(val.licenseStorage)[0].powder
- } else if (val.type === 3) {
+ } else if (val.type === 3 || val.type === 4) {
this.area = val.dealingarea
this.powder = val.reservekg
- if (val.licensetype === 2) {
- this.licensetype = '临时零售'
- } else {
+ if (val.licensetype === 1) {
this.licensetype = '长期零售'
+ } else{
+ this.licensetype = '短期零售'
}
- if (val.dealingtype === 2) {
+ if (val.dealingtype === 2 || val.dealingtype === 4) {
this.dealingtype = '专店'
} else {
this.dealingtype = '专柜'
@@ -981,6 +981,7 @@
},
//打印正本
giveData(val) {
+ console.log(val)
this.code = val.code
this.name = val.name
this.mainpersonname = val.mainpersonname
@@ -995,12 +996,10 @@
} else if (val.type === 3 || val.type === 4) {
this.area = val.dealingarea
this.powder = val.reservekg
- if (val.licensetype === 2) {
- this.licensetype = '临时'
- } else if(val.licensetype === 3){
- this.licensetype = '长期'
- }else{
- this.licensetype = '短期'
+ if (val.licensetype === 1) {
+ this.licensetype = '长期零售'
+ } else{
+ this.licensetype = '短期零售'
}
if (val.dealingtype === 2 || val.dealingtype === 4) {
this.dealingtype = '专店'
--
Gitblit v1.9.2