diff --git a/src/views/finance/WaybillAudit.vue b/src/views/finance/WaybillAudit.vue index 3309133b..397c9af0 100644 --- a/src/views/finance/WaybillAudit.vue +++ b/src/views/finance/WaybillAudit.vue @@ -5,63 +5,47 @@
- - - - - - - + + + + + - + 搜 索 清 空 @@ -293,6 +277,41 @@ const details = reactive({ columnList: deepClone(columnList), /** 列表数据 */ data: [], + titleSearchOption: [ + { type: 'input', label: '收货单位', prop: 'consignee' }, + { + type: 'select', + label: '审核状态', + prop: 'checkStatus', + checkarr: [ + { label: '全部', value: '' }, + { label: '已审核', value: 1 }, + { label: '待审核', value: 0 }, + ], + }, + { + type: 'select', + label: '收款状态', + prop: 'payStatus', + checkarr: [ + { label: '未收款', value: '10' }, + // {label: '部分收款', value: '20'}, + { label: '已收款', value: '30' }, + ], + }, + { + type: 'select', + label: '结算状态', + prop: 'settlementStatus', + checkarr: [ + { label: '未结算', value: '10' }, + // {label: '部分结算', value: '20'}, + { label: '已结算', value: '30' }, + ], + }, + { type: 'time', label: '开单时间', prop: 'createTimeArr' }, + { type: 'time', label: '审核时间', prop: 'checkTimeArr' }, + ], /** 页面loading */ loadingObj: { /** 列表加载loading */ @@ -375,11 +394,11 @@ const onLoad = async () => { if (code !== 200) return; details.data = data.records; - for (let i = 0; i < details.data .length; i++) { - const value = details.data [i]; - - !value.payStatus && (value.payStatus = '10') - !value.settlementStatus && (value.settlementStatus = '10') + for (let i = 0; i < details.data.length; i++) { + const value = details.data[i]; + + !value.payStatus && (value.payStatus = '10'); + !value.settlementStatus && (value.settlementStatus = '10'); } details.page.total = data.total;