Browse Source

feat: 报告打印

master
taqi be 1 month ago
parent
commit
e175d720c0
  1. 17
      src/pages/deviceInfo/index.vue

17
src/pages/deviceInfo/index.vue

@ -75,20 +75,12 @@
<el-dropdown-item command="delivery" v-if="scope.row.status === 2"> <el-dropdown-item command="delivery" v-if="scope.row.status === 2">
<Icon icon="solar:inbox-out-outline" />出库 <Icon icon="solar:inbox-out-outline" />出库
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item> <el-dropdown-item command="printLabel " v-if="scope.row.status >= 1">
<Icon <Icon icon="solar:printer-outline" />
icon="solar:printer-outline"
command="printLabel "
v-if="scope.row.status >= 1"
/>
打印标签 打印标签
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item> <el-dropdown-item command="printReport" v-if="scope.row.status >= 2">
<Icon <Icon icon="solar:printer-outline" />
icon="solar:printer-outline"
command="printReport"
v-if="scope.row.status >= 2"
/>
打印测试报告 打印测试报告
</el-dropdown-item> </el-dropdown-item>
@ -258,6 +250,7 @@ function handleCommand(command: string, row: any) {
onPrint(row) onPrint(row)
return return
} }
debugger
editDevice(row, command) editDevice(row, command)
} }

Loading…
Cancel
Save