|
@@ -197,24 +197,24 @@ export default {
|
|
|
]
|
|
|
if (this.$hasPermissions('B_isShowCost')) {
|
|
|
arr.splice(9, 0, { title: '成本价', scopedSlots: { customRender: 'sterminaldsdPrice' }, width: '7%', align: 'center' })
|
|
|
- if (this.$hasPermissions('B_isProvincePrice')) {
|
|
|
+ if (this.$hasPermissions('B_isShowProvincePrice')) {
|
|
|
arr.splice(10, 0, { title: '省级价', dataIndex: 'provincePrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
|
|
|
- if (this.$hasPermissions('B_isCityPrice')) {
|
|
|
+ if (this.$hasPermissions('B_isShowCityPrice')) {
|
|
|
arr.splice(11, 0, { title: '市级价', dataIndex: 'cityPrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
|
|
|
}
|
|
|
} else {
|
|
|
- if (this.$hasPermissions('B_isCityPrice')) {
|
|
|
+ if (this.$hasPermissions('B_isShowCityPrice')) {
|
|
|
arr.splice(10, 0, { title: '市级价', dataIndex: 'cityPrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- if (this.$hasPermissions('B_isProvincePrice')) {
|
|
|
+ if (this.$hasPermissions('B_isShowProvincePrice')) {
|
|
|
arr.splice(9, 0, { title: '省级价', dataIndex: 'provincePrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
|
|
|
- if (this.$hasPermissions('B_isCityPrice')) {
|
|
|
+ if (this.$hasPermissions('B_isShowCityPrice')) {
|
|
|
arr.splice(10, 0, { title: '市级价', dataIndex: 'cityPrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
|
|
|
}
|
|
|
} else {
|
|
|
- if (this.$hasPermissions('B_isCityPrice')) {
|
|
|
+ if (this.$hasPermissions('B_isShowCityPrice')) {
|
|
|
arr.splice(9, 0, { title: '市级价', dataIndex: 'cityPrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
|
|
|
}
|
|
|
}
|