|
@@ -48,7 +48,7 @@
|
|
@click="handleExport"
|
|
@click="handleExport"
|
|
:disabled="disabled"
|
|
:disabled="disabled"
|
|
:loading="exportLoading"
|
|
:loading="exportLoading"
|
|
- v-if="$hasPermissions('B_salesReturns_report')"
|
|
|
|
|
|
+ v-if="$hasPermissions('B_urchaseReturn_Export')"
|
|
id="urchaseReturn-export">导出</a-button>
|
|
id="urchaseReturn-export">导出</a-button>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
@@ -161,7 +161,7 @@ export default {
|
|
{ title: '申请退货数量', dataIndex: 'totalQty', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '申请退货数量', dataIndex: 'totalQty', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '操作员', dataIndex: 'submitorName', width: 130, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true }
|
|
{ title: '操作员', dataIndex: 'submitorName', width: 130, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true }
|
|
]
|
|
]
|
|
- if (this.$hasPermissions('B_isShowPrice')) { // 售价权限
|
|
|
|
|
|
+ if (this.$hasPermissions('B_isShowCost')) { // 售价权限
|
|
arr.splice(8, 0, { title: '退货金额', dataIndex: 'totalCost', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? toFixedDecimal(text, 2) : '--') } })
|
|
arr.splice(8, 0, { title: '退货金额', dataIndex: 'totalCost', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? toFixedDecimal(text, 2) : '--') } })
|
|
}
|
|
}
|
|
return arr
|
|
return arr
|