|
@@ -228,12 +228,7 @@ export default {
|
|
return {
|
|
return {
|
|
on: {
|
|
on: {
|
|
dblclick: (event) => {
|
|
dblclick: (event) => {
|
|
- if (!record.productPrice || record.productPrice <= 0) {
|
|
|
|
- _this.$message.info('该产品暂时不能添加')
|
|
|
|
- } else {
|
|
|
|
- event.stopPropagation()
|
|
|
|
- _this.$emit('add', record, 0, this.promoProductClz)
|
|
|
|
- }
|
|
|
|
|
|
+ _this.handleAdd(record)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|