|
@@ -81,7 +81,8 @@
|
|
|
class="sTable"
|
|
|
ref="table"
|
|
|
size="small"
|
|
|
- :rowKey="(record) => record.id"
|
|
|
+ :rowKey="(record) => record.no"
|
|
|
+ rowKeyName="no"
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
:scroll="{ x: 1740 }"
|
|
@@ -194,10 +195,10 @@ export default {
|
|
|
if (this.$hasPermissions('M_salesReturnsReportList_salesPrice')) { // 售价权限
|
|
|
arr.push({ title: '开单退货金额', dataIndex: 'totalAmount', width: 90, align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
|
|
|
}
|
|
|
- if (this.$hasPermissions('M_salesReturnsReportList_cityPrice')) {
|
|
|
+ if (this.$hasPermissions('M_salesReturnsReportList_provincePrice')) {
|
|
|
arr.push({ title: '经销商价', dataIndex: 'totalWholesalePrice2', width: 90, align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
|
|
|
}
|
|
|
- if (this.$hasPermissions('M_salesReturnsReportList_provincePrice')) {
|
|
|
+ if (this.$hasPermissions('M_salesReturnsReportList_cityPrice')) {
|
|
|
arr.push({ title: '服务中心价', dataIndex: 'totalWholesalePrice1', width: 90, align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
|
|
|
}
|
|
|
if (this.$hasPermissions('M_salesReturnsReportList_specialPrice')) {
|