|
@@ -133,7 +133,7 @@ export default {
|
|
loading: false, // 表格加载中
|
|
loading: false, // 表格加载中
|
|
columns: [
|
|
columns: [
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
- { title: '产品编码', dataIndex: 'code', align: 'left',width: 200 },
|
|
|
|
|
|
+ { title: '产品编码', dataIndex: 'code', align: 'left', width: 200 },
|
|
{ title: '产品名称', dataIndex: 'name', align: 'left', ellipsis: true, customRender: function (text) { return text || '--' } }
|
|
{ title: '产品名称', dataIndex: 'name', align: 'left', ellipsis: true, customRender: function (text) { return text || '--' } }
|
|
],
|
|
],
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|
|
@@ -145,6 +145,7 @@ export default {
|
|
url = productPricingList // 获取定价产品
|
|
url = productPricingList // 获取定价产品
|
|
}
|
|
}
|
|
const params = Object.assign(parameter, this.queryParam)
|
|
const params = Object.assign(parameter, this.queryParam)
|
|
|
|
+ // 不是供应商也不是经销权选择产品
|
|
if (this.type != 'supplier' && this.type != 'dealership') { // 促销
|
|
if (this.type != 'supplier' && this.type != 'dealership') { // 促销
|
|
params.onlineFalg = 1
|
|
params.onlineFalg = 1
|
|
}
|
|
}
|
|
@@ -291,6 +292,7 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
this.$nextTick(() => { // 页面渲染完成后的回调
|
|
this.$nextTick(() => { // 页面渲染完成后的回调
|
|
|
|
+ _this.handleSearch() // 重新渲染表格
|
|
_this.$refs.table.setTableSelected(selectedRowKeys, selectedRows) // 设置表格选中项
|
|
_this.$refs.table.setTableSelected(selectedRowKeys, selectedRows) // 设置表格选中项
|
|
})
|
|
})
|
|
}
|
|
}
|