Commit 6ea62990 authored by honghy's avatar honghy Committed by wux

批量无需打包修改

parent 1deaf4c9
......@@ -26,7 +26,7 @@
@select="checkboxSelect"
@select-all="checkboxSelect"
>
<el-table-column type="selection" align="center" width="55" fixed="left" />
<el-table-column type="selection" align="center" width="55" fixed="left" :selectable="checkSelectable"/>
<!--入仓记录-->
<el-table-column type="expand">
<template slot-scope="props">
......@@ -690,7 +690,11 @@ export default {
this.getList();
});
},
// 批量打包
checkSelectable(row) {
console.log(this.wareItem(row.orderItemId).packStatus)
return this.wareItem(row.orderItemId).packStatus == 1
},
// 批量无需打包
noNeedPacks() {
this.$confirm("确认货物无需打包").then(() => {
if (this.selectedRows.length === 0) {
......
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