|
@@ -56,11 +56,11 @@
|
|
|
</div>
|
|
|
<!-- 价格 -->
|
|
|
<div style="padding: 10px 0;text-align: right;">
|
|
|
- <a-checkbox v-model="isCostPrice" v-if="$hasPermissions('M_ShowAllCost')"><span style="display: inline-block;">成本价</span></a-checkbox>
|
|
|
+ <a-checkbox v-model="isCostPrice" v-if="$hasPermissions('M_ShowAllCost')"><span style="display: inline-block;">参考成本价</span></a-checkbox>
|
|
|
<!-- 特约加盟商不可见市级价 -->
|
|
|
- <a-checkbox v-model="isCityPrice" v-if="dealerData && dealerData.dealerType1 != 'special'"><span style="display: inline-block;">市级价</span></a-checkbox>
|
|
|
+ <a-checkbox v-model="isCityPrice" v-if="dealerData && dealerData.dealerLevel != 'SPECIAL'"><span style="display: inline-block;">市级价</span></a-checkbox>
|
|
|
<!-- 是否展示特约价 -->
|
|
|
- <a-checkbox v-model="isSpecialPrice" v-if="dealerData && dealerData.dealerType1 == 'special'"><span style="display: inline-block;">特约价</span></a-checkbox>
|
|
|
+ <a-checkbox v-model="isSpecialPrice" v-if="dealerData && dealerData.dealerLevel == 'SPECIAL'"><span style="display: inline-block;">特约价</span></a-checkbox>
|
|
|
<a-checkbox v-model="isTerminalPrice"><span style="display: inline-block;">终端价/自定义终端价</span></a-checkbox>
|
|
|
</div>
|
|
|
<!-- 列表 -->
|
|
@@ -170,7 +170,7 @@ export default {
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '6%', align: 'center' }
|
|
|
]
|
|
|
if (this.isCostPrice) {
|
|
|
- arr.splice(6, 0, { title: '成本价', dataIndex: 'offerCost', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
|
|
|
+ arr.splice(6, 0, { title: '参考成本价', dataIndex: 'offerCost', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
|
|
|
}
|
|
|
if (this.isCityPrice) {
|
|
|
const ind = this.isCostPrice ? 7 : 6
|