|
@@ -11,8 +11,8 @@
|
|
|
:row-selection="{ columnWidth: 40 }"
|
|
|
@rowSelection="rowSelectionFun"
|
|
|
:defaultLoadData="false"
|
|
|
- :style="{ maxHeight: 300+'px' }"
|
|
|
- :scroll="{ y:230 }"
|
|
|
+ :style="{ maxHeight: 390+'px' }"
|
|
|
+ :scroll="{ y:292 }"
|
|
|
bordered>
|
|
|
<!-- 买 -->
|
|
|
<template slot="conditionValue" slot-scope="text,record">
|
|
@@ -195,7 +195,7 @@ export default {
|
|
|
}
|
|
|
modifyChooseProduct(ajaxData).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
- this.$refs.table.refresh(true)
|
|
|
+ this.$refs.table.refresh()
|
|
|
this.$refs.table.clearSelected() // 清空表格选中项
|
|
|
}
|
|
|
})
|
|
@@ -226,7 +226,7 @@ export default {
|
|
|
delChooseProduct([{ id: row.id, promoSn: _this.promoActiveSn }]).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
_this.$message.success(res.message)
|
|
|
- _this.$refs.table.refresh()
|
|
|
+ _this.$refs.table.refresh(true)
|
|
|
_this.spinning = false
|
|
|
} else {
|
|
|
_this.spinning = false
|