|
@@ -72,11 +72,11 @@
|
|
|
:rowKey="(record) => record.id"
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
- :scroll="{ x: 1280, y: 300 }"
|
|
|
+ :scroll="{ x: 1180, y: 300 }"
|
|
|
bordered>
|
|
|
- <!-- 操作 -->
|
|
|
- <template slot="action" slot-scope="text, record">
|
|
|
- <a-button size="small" type="primary" class="button-success" @click="handleDetail(record)" id="urgentItemsOffsetList-detail-btn">详情</a-button>
|
|
|
+ <!-- 单号 -->
|
|
|
+ <template slot="urgentBillNo" slot-scope="text, record">
|
|
|
+ <span style="color: #ed1c24;cursor: pointer;" @click="handleDetail(record)">{{ record.urgentBillNo }}</span>
|
|
|
</template>
|
|
|
</s-table>
|
|
|
</a-card>
|
|
@@ -104,15 +104,14 @@ export default {
|
|
|
custAllList: [], // 客户下拉数据
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
- { title: '急件单号', dataIndex: 'urgentBillNo', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '急件单号', scopedSlots: { customRender: 'urgentBillNo' }, width: 140, align: 'center' },
|
|
|
{ title: '销售单号', dataIndex: 'salesBillNo', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '客户名称', dataIndex: 'buyerName', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
|
|
|
{ title: '总款数', dataIndex: 'totalCategory', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '总数量', dataIndex: 'totalQty', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '创建时间', dataIndex: 'createDate', width: 160, align: 'center' },
|
|
|
{ title: '冲减时间', dataIndex: 'offSetTime', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '状态', dataIndex: 'statusDictValue', width: 100, align: 'center' },
|
|
|
- { title: '操作', scopedSlots: { customRender: 'action' }, width: 100, align: 'center', fixed: 'right' }
|
|
|
+ { title: '状态', dataIndex: 'statusDictValue', width: 100, align: 'center' }
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
loadData: parameter => {
|