|
@@ -129,6 +129,10 @@
|
|
|
</div>
|
|
|
<div v-else>{{ record.salesReturnBillNo }}</div>
|
|
|
</template>
|
|
|
+ <!-- 提货单 -->
|
|
|
+ <template slot="pickUpSalesReturnNum" slot-scope="text, record">
|
|
|
+ <span class="link-bule" @click="handleBillOfLadingDetail(record)">{{ record.pickUpSalesReturnNum }}</span>
|
|
|
+ </template>
|
|
|
<!-- 操作 -->
|
|
|
<template slot="action" slot-scope="text, record">
|
|
|
<div>
|
|
@@ -280,8 +284,8 @@ export default {
|
|
|
columns () {
|
|
|
const arr = [
|
|
|
{ title: '编号', dataIndex: 'no', width: '4%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '创建时间', dataIndex: 'createDate', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '单据来源', dataIndex: 'salesReturnBillSourceDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '创建时间', dataIndex: 'createDate', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '单据来源', dataIndex: 'salesReturnBillSourceDictValue', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '是否同步给客户', dataIndex: 'syncFlag', width: '5%', align: 'center', customRender: function (text) { return text ? ['否', '是'][text] : '--' } },
|
|
|
{ title: '客户采退申请单号', dataIndex: 'purchaseReturnApplyNo', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '总部销退单号', scopedSlots: { customRender: 'salesReturnBillNo' }, width: '10%', align: 'center' },
|
|
@@ -292,8 +296,9 @@ export default {
|
|
|
{ title: '良品数量', dataIndex: 'totalGoodQty', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '返库数量', dataIndex: 'totalBackStockQty', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '实际退货金额', dataIndex: 'totalAmount', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
- { title: '审核时间', dataIndex: 'auditTime', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '业务状态', dataIndex: 'billStatusDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '审核时间', dataIndex: 'auditTime', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '提货单', dataIndex: 'pickUpSalesReturnNum', scopedSlots: { customRender: 'pickUpSalesReturnNum' }, width: '4%', align: 'center' },
|
|
|
+ { title: '业务状态', dataIndex: 'billStatusDictValue', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
|
|
|
]
|
|
|
return arr
|
|
@@ -356,6 +361,14 @@ export default {
|
|
|
handleDetail (row) {
|
|
|
this.$router.push({ name: 'salesReturnDetail', params: { sn: row.salesReturnBillSn } })
|
|
|
},
|
|
|
+ // 提货单查看
|
|
|
+ handleBillOfLadingDetail (row) {
|
|
|
+ if (row.pickUpSalesReturnNum == '0单') {
|
|
|
+ this.$message.info('此销售退货单没有提货单')
|
|
|
+ } else {
|
|
|
+ this.$router.push({ name: 'billOfLadingList', query: { billNo: row.salesReturnBillNo } })
|
|
|
+ }
|
|
|
+ },
|
|
|
// 删除
|
|
|
handleDel (row) {
|
|
|
const _this = this
|