| | |
| | | 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> |
| | |
| | | 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) { |
| | |
| | | } else { |
| | | this.licensetype = '长期零售' |
| | | } |
| | | if (val.dealingtype === 2) { |
| | | if (val.dealingtype === 2 || val.dealingtype === 4) { |
| | | this.dealingtype = '专店' |
| | | } else { |
| | | this.dealingtype = '专柜' |
| | |
| | | }, |
| | | //打印正本 |
| | | giveData(val) { |
| | | console.log(val) |
| | | this.code = val.code |
| | | this.name = val.name |
| | | this.mainpersonname = val.mainpersonname |