|
@@ -55,19 +55,15 @@
|
|
|
:defaultLoadData="false"
|
|
|
bordered>
|
|
|
<template slot="salesBillNo" slot-scope="text, record">
|
|
|
- <span style="padding-right: 15px;">{{ text }}</span>
|
|
|
- <a-badge count="促" v-if="record.promoFlag==1" :number-style="{ backgroundColor: '#52c41a', zoom:'80%' }"></a-badge>
|
|
|
- </template>
|
|
|
- <!-- 操作 -->
|
|
|
- <template slot="action" slot-scope="text, record">
|
|
|
<a-button
|
|
|
- size="small"
|
|
|
- type="link"
|
|
|
- class="button-success"
|
|
|
- @click="handleDetail(record)"
|
|
|
v-if="$hasPermissions('B_oosDetail')"
|
|
|
- id="backorderList-detail-btn">详情</a-button>
|
|
|
- <span v-else>--</span>
|
|
|
+ id="backorderList-detail-btn"
|
|
|
+ @click="handleDetail(record)"
|
|
|
+ type="link"
|
|
|
+ size="small"
|
|
|
+ class="button-info">{{ text }}</a-button>
|
|
|
+ <span v-else>{{ text }}</span>
|
|
|
+ <a-badge count="促" v-if="record.promoFlag==1" :number-style="{ backgroundColor: '#52c41a', zoom:'80%' }"></a-badge>
|
|
|
</template>
|
|
|
</s-table>
|
|
|
</a-spin>
|
|
@@ -134,9 +130,9 @@ export default {
|
|
|
{ title: '客户名称', dataIndex: 'dealerName', width: '25%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
// { title: '仓库', dataIndex: 'warehouseName', width: '15%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '缺货款数', dataIndex: 'totalCategory', width: '11%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
- { title: '缺货数量', dataIndex: 'totalQty', width: '11%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
+ { title: '缺货数量', dataIndex: 'totalQty', width: '11%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }
|
|
|
// { title: '缺货金额', dataIndex: 'totalAmount', width: '11%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
- { title: '操作', scopedSlots: { customRender: 'action' }, width: '11%', align: 'center' }
|
|
|
+ // { title: '操作', scopedSlots: { customRender: 'action' }, width: '11%', align: 'center' }
|
|
|
]
|
|
|
if (this.$hasPermissions('M_backorderList_salesPrice')) { // 售价权限
|
|
|
arr.splice(6, 0, { title: '缺货金额', dataIndex: 'totalAmount', width: '11%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
|