Commit 409226a2 authored by 沈翠玲's avatar 沈翠玲

无重码打印

parent d3f38e87
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
prop="salesVoucherItem" prop="salesVoucherItem"
/> />
<el-table-column label="LPN码" align="center" prop="lpnNo" /> <el-table-column label="LPN码" align="center" prop="lpnNo" />
<el-table-column label="recordOn" align="center" prop="是否打印"> <el-table-column label="启用" align="center" prop="recordOn">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.recordOn ? '是' : '否' }} {{ scope.row.recordOn ? '是' : '否' }}
</template> </template>
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
const rowsOff = this.selectedRows.filter(v => !v.recordOn) const rowsOff = this.selectedRows.filter(v => !v.recordOn)
const lpnlist = rowsOff.map(v => v.lpnNo) const lpnlist = rowsOff.map(v => v.lpnNo)
if (lpnlist.length > 0) { if (lpnlist.length > 0) {
this.$modal.msgWarning(lpnlist.join(',') + '无法打印') this.$modal.msgWarning(lpnlist.join(',') + '未启用')
} }
if (rows.length > 0) { if (rows.length > 0) {
const valueList = rows.map((v) => { const valueList = rows.map((v) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment