|
@@ -40,17 +40,6 @@
|
|
|
<a-input id="salesManagementList-purchaseBillNo" v-model.trim="queryParam.purchaseBillNo" allowClear placeholder="请输入采购单号"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
- <a-form-item label="支付方式">
|
|
|
- <v-select
|
|
|
- v-model="queryParam.payType"
|
|
|
- ref="payType"
|
|
|
- id="salesManagementList-payType"
|
|
|
- code="PAY_TYPE"
|
|
|
- placeholder="请选择支付方式"
|
|
|
- allowClear></v-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-item label="收款方式">
|
|
|
<v-select
|
|
@@ -68,7 +57,7 @@
|
|
|
v-model="queryParam.billStatus"
|
|
|
ref="billStatus"
|
|
|
id="salesManagementList-billStatus"
|
|
|
- code="BILL_STATUS"
|
|
|
+ code="SALES_BILL_STATUS"
|
|
|
placeholder="请选择业务状态"
|
|
|
allowClear></v-select>
|
|
|
</a-form-item>
|
|
@@ -129,6 +118,10 @@
|
|
|
<template slot="financialStatus" slot-scope="text, record">
|
|
|
<a-tag :color="record.state==1?'green':'red'" >{{ record.financialStatus }}</a-tag>
|
|
|
</template>
|
|
|
+ <!-- 急件 -->
|
|
|
+ <template slot="oosFlag" slot-scope="text, record">
|
|
|
+ <a-tag :color="record.oosFlag==1?'red':'#ccc'" >{{ record.oosFlag==1?'有':'无' }}</a-tag>
|
|
|
+ </template>
|
|
|
<!-- 操作 -->
|
|
|
<template slot="action" slot-scope="text, record">
|
|
|
<a-button
|
|
@@ -198,6 +191,7 @@ export default {
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
{ title: '创建时间', dataIndex: 'createDate', width: 160, align: 'center' },
|
|
|
+ { title: '来源', dataIndex: 'salesBillSource', width: 160, align: 'center' },
|
|
|
{ title: '销售单号', dataIndex: '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 },
|
|
@@ -206,7 +200,7 @@ export default {
|
|
|
{ title: '总售价', dataIndex: 'totalAmount', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '收款方式', dataIndex: 'settleStyle', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '审核时间', dataIndex: 'auditTime', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '急件', dataIndex: 'oosFlag', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '急件', dataIndex: 'oosFlag', scopedSlots: { customRender: 'oosFlag' }, width: 100, align: 'center' },
|
|
|
{ title: '业务状态', scopedSlots: { customRender: 'billStatus' }, width: 110, align: 'center' },
|
|
|
{ title: '财务状态', scopedSlots: { customRender: 'financialStatus' }, width: 110, align: 'center' },
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: 300, align: 'center', fixed: 'right' }
|