【update】-普通项目管理、工作组成员、资料网员增加字段【预估到账日期】

This commit is contained in:
fengchenchen
2023-12-25 15:31:47 +08:00
parent 015cabcc17
commit 524ade2654
6 changed files with 165 additions and 19 deletions
@@ -70,6 +70,17 @@
<a-input placeholder="请输入标签名称" v-model="queryParam.label" :maxLength='50'></a-input>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="预估到账日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
style="width: 100%"
v-model="queryParam.estimatedArrivalDate"
format="YYYY-MM-DD"
:placeholder="['开始时间', '结束时间']"
@change="onDateChange"
/>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<span class="table-page-search-submitButtons">
@@ -135,7 +146,13 @@
class="primary-color"
@click="openDetailModal(record)"></j-ellipsis>
</template>
<!--金钱 3位一逗号分隔-->
<template slot="allMoney" slot-scope="text">
<a-tooltip>
<template slot="title">{{ formatMoney(text) }}</template>
<div class="table-text">{{ formatMoney(text) }}</div>
</a-tooltip>
</template>
<!-- 打包需要发票到账开票邮寄状态-->
<template slot="status" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
@@ -185,7 +202,7 @@
import { JeroListMixin } from '@/mixins/JeroListMixin'
import JYearDate from '@comp/jero/JYearDate'
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
import { getWorkingGroupById, getChargeNotice, dunningReminder } from '@api/incomePaymentsApi'
import { getWorkingGroupById, dunningReminder } from '@api/incomePaymentsApi'
import StatusSlot from '../../components/tools/StatusSlot'
import ProjectDetailModal from '../../components/ProjectDetailModal'
import WorkingGroupMemberUnitModule from './modules/WorkingGroupMemberUnitModule'
@@ -195,6 +212,7 @@ import { ACCESS_TOKEN } from '../../store/mutation-types'
import PreviewFile from '../../components/jero/PreviewFile'
import EmailErrorMsgModal from './modules/EmailErrorMsgModal'
import WorkGroupSetLabel from './modules/WorkGroupSetLabel'
import { formatMoney } from '../../utils/formatMoney'
// eslint-disable-next-line no-undef,no-unused-vars
const Base64 = require('js-base64').Base64
@@ -303,23 +321,31 @@ export default {
align: 'center',
dataIndex: 'receivableAmount',
width: 180,
customRender: (text, record) => (
<j-ellipsis value={ record.receivableAmount + '元' } length={ 15 }></j-ellipsis>
)
scopedSlots: {customRender: 'allMoney'},
// customRender: (text, record) => (
// <j-ellipsis value={ record.receivableAmount + '元' } length={ 15 }></j-ellipsis>
// )
}, {
title: '实收金额',
align: 'center',
dataIndex: 'paidAmount',
width: 180,
customRender: (text, record) => (
<j-ellipsis value={ record.paidAmount + '元' } length={ 15 }></j-ellipsis>
)
scopedSlots: {customRender: 'allMoney'},
// customRender: (text, record) => (
// <j-ellipsis value={ record.paidAmount + '元' } length={ 15 }></j-ellipsis>
// )
}, {
title: '标签名称',
align: 'center',
dataIndex: 'label',
width: 100,
scopedSlots: { customRender: 'text' }
}, {
title: '预估到账日期',
align: 'center',
width: 140,
dataIndex: 'estimatedArrivalDate',
scopedSlots: { customRender: 'text' }
}, {
// 2021-10-22需求变更新加
title: '收费通知号',
@@ -389,6 +415,7 @@ export default {
this.initWorkGroupData()
},
methods: {
formatMoney,
/**
* 初始化工作组信息
*/
@@ -546,6 +573,10 @@ export default {
return
}
this.$refs.workGroupSetLabel.show(this.selectedRowKeys)
},
onDateChange: function (value, dateString) {
this.queryParam.estimatedArrivalStartDate = dateString[0]
this.queryParam.estimatedArrivalEndDate = dateString[1]
}
// 2021 10 11 沟通后去掉了这个功能
// searchReset() {