|
@@ -7,7 +7,7 @@
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
<a-form-item label="创建时间">
|
|
<a-form-item label="创建时间">
|
|
- <rangeDate ref="rangeDate" :value="createDate" @change="dateChange" />
|
|
|
|
|
|
+ <rangeDate ref="rangeDate" @change="dateChange" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
@@ -53,7 +53,7 @@
|
|
v-model="queryParam.settleState"
|
|
v-model="queryParam.settleState"
|
|
ref="settleState"
|
|
ref="settleState"
|
|
id="chainTransferOutList-settleState"
|
|
id="chainTransferOutList-settleState"
|
|
- code="FINANCIAL_RECEIVE_STATUS"
|
|
|
|
|
|
+ code="FINANCIAL_STATUS"
|
|
placeholder="请选择财务状态"
|
|
placeholder="请选择财务状态"
|
|
allowClear></v-select>
|
|
allowClear></v-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
@@ -78,7 +78,7 @@
|
|
<s-table
|
|
<s-table
|
|
class="sTable"
|
|
class="sTable"
|
|
ref="table"
|
|
ref="table"
|
|
- size="default"
|
|
|
|
|
|
+ size="small"
|
|
:rowKey="(record) => record.id"
|
|
:rowKey="(record) => record.id"
|
|
:columns="columns"
|
|
:columns="columns"
|
|
:data="loadData"
|
|
:data="loadData"
|
|
@@ -89,10 +89,6 @@
|
|
<span style="color: #ed1c24;cursor: pointer;" v-if="$hasPermissions('B_allocLinkageOutDetail')" @click="handleDetail(record)">{{ record.allocationLinkageOutNo }}</span>
|
|
<span style="color: #ed1c24;cursor: pointer;" v-if="$hasPermissions('B_allocLinkageOutDetail')" @click="handleDetail(record)">{{ record.allocationLinkageOutNo }}</span>
|
|
<span v-else>{{ record.allocationLinkageOutNo }}</span>
|
|
<span v-else>{{ record.allocationLinkageOutNo }}</span>
|
|
</template>
|
|
</template>
|
|
- <!-- 财务状态 -->
|
|
|
|
- <template slot="settleState" slot-scope="text, record">
|
|
|
|
- <a-badge :color="text=='FINISH'?'#87d068':'gold'" :text="record.settleStateDictValue" />
|
|
|
|
- </template>
|
|
|
|
<!-- 操作 -->
|
|
<!-- 操作 -->
|
|
<template slot="action" slot-scope="text, record">
|
|
<template slot="action" slot-scope="text, record">
|
|
<a-button
|
|
<a-button
|
|
@@ -133,8 +129,6 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import moment from 'moment'
|
|
|
|
-import getDate from '@/libs/getDate.js'
|
|
|
|
import { STable, VSelect } from '@/components'
|
|
import { STable, VSelect } from '@/components'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import basicInfoModal from './basicInfoModal.vue'
|
|
import basicInfoModal from './basicInfoModal.vue'
|
|
@@ -146,13 +140,9 @@ export default {
|
|
spinning: false,
|
|
spinning: false,
|
|
tableHeight: 0,
|
|
tableHeight: 0,
|
|
advanced: false, // 高级搜索 展开/关闭
|
|
advanced: false, // 高级搜索 展开/关闭
|
|
- createDate: [
|
|
|
|
- moment(getDate.getCurrMonthDays().starttime, 'YYYY-MM-DD'),
|
|
|
|
- moment(getDate.getCurrMonthDays().endtime, 'YYYY-MM-DD')
|
|
|
|
- ], // 创建时间
|
|
|
|
queryParam: { // 查询条件
|
|
queryParam: { // 查询条件
|
|
- beginDate: getDate.getCurrMonthDays().starttime,
|
|
|
|
- endDate: getDate.getCurrMonthDays().endtime,
|
|
|
|
|
|
+ beginDate: '',
|
|
|
|
+ endDate: '',
|
|
putTenantSn: undefined, // 调往对象
|
|
putTenantSn: undefined, // 调往对象
|
|
allocationType: undefined, // 调出产品类型
|
|
allocationType: undefined, // 调出产品类型
|
|
state: undefined, // 业务状态
|
|
state: undefined, // 业务状态
|
|
@@ -170,14 +160,14 @@ export default {
|
|
{ title: '审核时间', dataIndex: 'auditTime', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '审核时间', dataIndex: 'auditTime', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '调拨类型', dataIndex: 'allocationTypeDictValue', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '调拨类型', dataIndex: 'allocationTypeDictValue', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '业务状态', dataIndex: 'stateDictValue', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '业务状态', dataIndex: 'stateDictValue', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
- { title: '财务状态', scopedSlots: { customRender: 'settleState' }, width: 100, align: 'center' },
|
|
|
|
|
|
+ { title: '财务状态', dataIndex: 'settleStateDictValue', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: 210, align: 'center', fixed: 'right' }
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: 210, align: 'center', fixed: 'right' }
|
|
],
|
|
],
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|
|
loadData: parameter => {
|
|
loadData: parameter => {
|
|
this.disabled = true
|
|
this.disabled = true
|
|
if (this.tableHeight == 0) {
|
|
if (this.tableHeight == 0) {
|
|
- this.tableHeight = window.innerHeight - 380
|
|
|
|
|
|
+ this.tableHeight = window.innerHeight - 360
|
|
}
|
|
}
|
|
return allocLinkageOutList(Object.assign(parameter, this.queryParam)).then(res => {
|
|
return allocLinkageOutList(Object.assign(parameter, this.queryParam)).then(res => {
|
|
const data = res.data
|
|
const data = res.data
|
|
@@ -202,9 +192,9 @@ export default {
|
|
},
|
|
},
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
- this.$refs.rangeDate.resetDate(this.createDate)
|
|
|
|
- this.queryParam.beginDate = getDate.getCurrMonthDays().starttime
|
|
|
|
- this.queryParam.endDate = getDate.getCurrMonthDays().endtime
|
|
|
|
|
|
+ this.$refs.rangeDate.resetDate()
|
|
|
|
+ this.queryParam.beginDate = ''
|
|
|
|
+ this.queryParam.endDate = ''
|
|
this.queryParam.putTenantSn = undefined
|
|
this.queryParam.putTenantSn = undefined
|
|
this.queryParam.allocationType = undefined
|
|
this.queryParam.allocationType = undefined
|
|
this.queryParam.state = undefined
|
|
this.queryParam.state = undefined
|