|
@@ -106,8 +106,12 @@
|
|
|
:rowKey="(record) => record.id"
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
- :scroll="{ x: 2040, y:300 }"
|
|
|
+ :scroll="{ x: 2050, y:300 }"
|
|
|
bordered>
|
|
|
+ <!-- 销售单号 -->
|
|
|
+ <template slot="salesBillNo" slot-scope="text, record">
|
|
|
+ <span style="color: #ed1c24;cursor: pointer;" @click="handleDetail(record)">{{ record.salesBillNo }}</span>
|
|
|
+ </template>
|
|
|
<!-- 急件 -->
|
|
|
<template slot="oosFlag" slot-scope="text, record">
|
|
|
<a-tag :color="record.oosFlag==1?'red':'#ccc'" >{{ record.oosFlagDictValue }}</a-tag>
|
|
@@ -135,7 +139,6 @@
|
|
|
v-if="record.billStatus !== 'CANCEL' && record.billStatus !== 'FINISH' && record.billStatus != 'WAIT_OUT_STOCK'"
|
|
|
@click="handleEdit(record)"
|
|
|
id="salesManagementList-edit-btn">编辑</a-button>
|
|
|
- <a-button size="small" type="primary" class="button-success" @click="handleDetail(record)" id="salesManagementList-detail-btn">明细</a-button>
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="primary"
|
|
@@ -190,7 +193,7 @@ export default {
|
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
{ title: '创建时间', dataIndex: 'createDate', width: 160, align: 'center' },
|
|
|
{ title: '来源', dataIndex: 'salesBillSourceDictValue', width: 120, align: 'center' },
|
|
|
- { title: '销售单号', dataIndex: 'salesBillNo', width: 180, align: 'center' },
|
|
|
+ { title: '销售单号', scopedSlots: { customRender: 'salesBillNo' }, width: 180, align: 'center' },
|
|
|
{ title: '采购单号', dataIndex: 'purchaseBillNo', width: 180, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '客户名称', dataIndex: 'buyerName', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '总款数', dataIndex: 'totalCategory', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
@@ -201,7 +204,7 @@ export default {
|
|
|
{ title: '急件', dataIndex: 'oosFlag', scopedSlots: { customRender: 'oosFlag' }, width: 100, align: 'center' },
|
|
|
{ title: '业务状态', dataIndex: 'billStatusDictValue', width: 110, align: 'center' },
|
|
|
{ title: '财务状态', dataIndex: 'financialStatusDictValue', width: 110, align: 'center' },
|
|
|
- { title: '操作', scopedSlots: { customRender: 'action' }, width: 300, align: 'center', fixed: 'right' }
|
|
|
+ { title: '操作', scopedSlots: { customRender: 'action' }, width: 250, align: 'center', fixed: 'right' }
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
loadData: parameter => {
|