|
@@ -27,6 +27,7 @@
|
|
|
<a-descriptions-item label="联系电话">{{ detailData&&detailData.contactTel || '--' }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="退货单号">{{ detailData&&detailData.salesReturnNo || '--' }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="业务状态">{{ detailData&&detailData.stateDictValue || '--' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="是否抓单">{{ detailData&&detailData.grabFlag==1?'抓单':'不抓单' }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="备注">{{ detailData&&detailData.remarks || '--' }}</a-descriptions-item>
|
|
|
</a-descriptions>
|
|
|
</a-collapse-panel>
|
|
@@ -141,6 +142,9 @@ export default {
|
|
|
salesReturnDetail({ sn: this.$route.params.sn }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.detailData = res.data
|
|
|
+ if (res.data.grabFlag == '1') {
|
|
|
+ this.columns.splice(1, 0, { title: '销售单号', dataIndex: 'salesBillNo', width: '10%', align: 'center', customRender: function (text) { return text || '--' } })
|
|
|
+ }
|
|
|
} else {
|
|
|
this.detailData = null
|
|
|
}
|