From ea982ec3f7877f648248e16ab8560b47f549c8f6 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期二, 23 一月 2024 15:05:21 +0800 Subject: [PATCH] 添加新删除 --- src/views/license/licenseInfo/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/license/licenseInfo/index.vue b/src/views/license/licenseInfo/index.vue index 059d9b6..35b6339 100644 --- a/src/views/license/licenseInfo/index.vue +++ b/src/views/license/licenseInfo/index.vue @@ -139,7 +139,7 @@ v-if="isSupervision==='null'?false:true">删除</el-button> <br><el-button type="text" v-print="printObj1" @click="giveData(scope.row)" v-if="isSupervision==='null' && scope.row.reviewstatus === 2?true:false">打印正本(新)</el-button> - <el-button type="text" v-print="printObj2" @click="giveDetail(scope.row)" + <el-button type="text" v-print="printObj1" @click="giveDetail(scope.row)" v-if="isSupervision==='null' && scope.row.reviewstatus === 2?true:false">打印副本(新)</el-button> <el-button type="text" v-print="printObj3" @click="giveData(scope.row)" v-if="isSupervision==='null' && scope.row.reviewstatus === 2?true:false">打印正本(旧)</el-button> @@ -930,7 +930,7 @@ 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) { @@ -938,7 +938,7 @@ } 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 -- Gitblit v1.9.2