|
@@ -284,11 +284,11 @@ export default {
|
|
|
if (this.selectedRowKeys.length === 0) {
|
|
|
this.$message.warn('请至少选择一项信息')
|
|
|
} else {
|
|
|
- console.log(this.selectedRows[0].num)
|
|
|
- if (this.selectedRows[0].num == 0) {
|
|
|
- this.$message.error('不能选择库存为0的物品,请重新选择')
|
|
|
- return
|
|
|
- }
|
|
|
+ /*console.log(this.selectedRows[0].num)
|
|
|
+ if (this.selectedRows[0].num == 0) {
|
|
|
+ this.$message.error('不能选择库存为0的物品,请重新选择')
|
|
|
+ return
|
|
|
+ }*/
|
|
|
this.confirmLoading = true
|
|
|
this.$emit('selected', this.record, this.selectedRowKeys, this.selectedRows)
|
|
|
this.confirmLoading = false
|