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

Loading…
Cancel
Save