|
@@ -13,12 +13,12 @@
|
|
|
<div class="table-page-search-wrapper">
|
|
|
<a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
|
|
|
<a-row :gutter="15">
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="7" :sm="24">
|
|
|
<a-form-item label="单据号">
|
|
|
<a-input id="chooseBillModal-bizNo" v-model.trim="queryParam.bizNo" allowClear placeholder="请输入单据号"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="7" :sm="24">
|
|
|
<a-form-item label="单据类型">
|
|
|
<v-select
|
|
|
v-model="queryParam.bizType"
|
|
@@ -29,6 +29,11 @@
|
|
|
allowClear></v-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+ <a-col :md="10" :sm="24">
|
|
|
+ <a-form-item label="关联单据创建时间">
|
|
|
+ <rangeDate ref="createDate" @change="createDateChange" />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
<a-col :md="7" :sm="24">
|
|
|
<a-form-item label="审核时间">
|
|
|
<rangeDate ref="rangeDate" @change="dateChange" />
|
|
@@ -38,6 +43,16 @@
|
|
|
<a-button style="margin-bottom: 18px;" type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="chooseBillModal-refresh">查询</a-button>
|
|
|
<a-button style="margin: 0 0 18px 8px" @click="resetSearchForm" :disabled="disabled" id="chooseBillModal-reset">重置</a-button>
|
|
|
</a-col>
|
|
|
+ <a-col :md="24" :sm="24" style="margin-bottom: 18px;">
|
|
|
+ <a-radio-group name="radioGroup" :default-value="1">
|
|
|
+ <a-radio :value="1">
|
|
|
+ 关联单据创建时间正序
|
|
|
+ </a-radio>
|
|
|
+ <a-radio :value="2">
|
|
|
+ 审核时间正序
|
|
|
+ </a-radio>
|
|
|
+ </a-radio-group>
|
|
|
+ </a-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
|
</div>
|
|
@@ -109,11 +124,12 @@ export default {
|
|
|
// 表头
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: '6%', align: 'center' },
|
|
|
- { title: '单据号', dataIndex: 'bizNo', width: '28%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '单据类型', dataIndex: 'bizTypeDictValue', width: '18%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '单据号', dataIndex: 'bizNo', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '单据类型', dataIndex: 'bizTypeDictValue', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '关联单据创建时间', dataIndex: 'auditTime', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '审核时间', dataIndex: 'auditTime', width: '18%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '金额', dataIndex: 'totalAmount', width: '15%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
|
- { title: '余额', dataIndex: 'unsettleAmount', width: '15%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
|
|
|
+ { title: '金额', dataIndex: 'totalAmount', width: '12%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
|
+ { title: '余额', dataIndex: 'unsettleAmount', width: '12%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
loadData: parameter => {
|
|
@@ -149,6 +165,11 @@ export default {
|
|
|
rowSelectionFun (obj) {
|
|
|
this.rowSelectionInfo = obj || null
|
|
|
},
|
|
|
+ // 关联单据创建时间
|
|
|
+ createDateChange (date) {
|
|
|
+ this.queryParam.auditBeginDate = date[0]
|
|
|
+ this.queryParam.auditEndDate = date[1]
|
|
|
+ },
|
|
|
// 时间 change
|
|
|
dateChange (date) {
|
|
|
this.queryParam.auditBeginDate = date[0]
|