【update】-普通项目管理、工作组成员、资料网员增加字段【预估到账日期】
This commit is contained in:
@@ -47,6 +47,17 @@
|
|||||||
<j-year-date style="width:100%" placeholder="请选择来款年份" v-model="queryParam.year"></j-year-date>
|
<j-year-date style="width:100%" placeholder="请选择来款年份" v-model="queryParam.year"></j-year-date>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</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">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-button type="primary" @click="searchQuery" icon="search" v-has="'safeguardMember:search'">查询</a-button>
|
<a-button type="primary" @click="searchQuery" icon="search" v-has="'safeguardMember:search'">查询</a-button>
|
||||||
@@ -80,6 +91,7 @@
|
|||||||
bordered
|
bordered
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
|
:scroll="{x: 1500}"
|
||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:pagination="ipagination"
|
:pagination="ipagination"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
@@ -88,12 +100,22 @@
|
|||||||
@change="handleTableChange">
|
@change="handleTableChange">
|
||||||
|
|
||||||
<template slot="text" slot-scope="text">
|
<template slot="text" slot-scope="text">
|
||||||
<j-ellipsis v-if="text" :value="text" :length="20"></j-ellipsis>
|
<a-tooltip>
|
||||||
<span v-else></span>
|
<template slot="title">{{ text }}</template>
|
||||||
|
<div class="table-text">{{ text }}</div>
|
||||||
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template slot="member" slot-scope="text,record">
|
<template slot="member" slot-scope="text,record">
|
||||||
<div @click="openDetail(record)" class="primary-color">{{ text }}</div>
|
<div @click="openDetail(record)" class="primary-color">{{ text }}</div>
|
||||||
</template>
|
</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">
|
<template slot="status" slot-scope="text,record">
|
||||||
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
|
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
|
||||||
@@ -136,6 +158,7 @@ import ProjectDetailModal from '@comp/ProjectDetailModal'
|
|||||||
import StatusSlot from '@comp/tools/StatusSlot'
|
import StatusSlot from '@comp/tools/StatusSlot'
|
||||||
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
|
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
|
||||||
import PreviewFile from '@comp/jero/PreviewFile'
|
import PreviewFile from '@comp/jero/PreviewFile'
|
||||||
|
import { formatMoney } from '@/utils/formatMoney'
|
||||||
|
|
||||||
|
|
||||||
import {getAction} from '@api/manage'
|
import {getAction} from '@api/manage'
|
||||||
@@ -175,51 +198,69 @@ export default {
|
|||||||
{
|
{
|
||||||
title: '企业联系人',
|
title: '企业联系人',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 120,
|
||||||
dataIndex: 'companyContactName',
|
dataIndex: 'companyContactName',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '待确收金额',
|
title: '待确收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 140,
|
||||||
dataIndex: 'amountReceivable',
|
dataIndex: 'amountReceivable',
|
||||||
|
scopedSlots: {customRender: 'allMoney'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '实收金额',
|
title: '实收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 140,
|
||||||
dataIndex: 'paidAmount',
|
dataIndex: 'paidAmount',
|
||||||
|
scopedSlots: {customRender: 'allMoney'}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '预估到账日期',
|
||||||
|
align: 'center',
|
||||||
|
width: 140,
|
||||||
|
dataIndex: 'estimatedArrivalDate',
|
||||||
|
scopedSlots: { customRender: 'text' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '打包',
|
title: '打包',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 80,
|
||||||
dataIndex: 'pack',
|
dataIndex: 'pack',
|
||||||
scopedSlots: {customRender: 'status-pack'}
|
scopedSlots: {customRender: 'status-pack'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '需要发票',
|
title: '需要发票',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 80,
|
||||||
dataIndex: 'needInvoice',
|
dataIndex: 'needInvoice',
|
||||||
scopedSlots: {customRender: 'status-pack'}
|
scopedSlots: {customRender: 'status-pack'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '到账',
|
title: '到账',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 80,
|
||||||
dataIndex: 'inAccount',
|
dataIndex: 'inAccount',
|
||||||
scopedSlots: {customRender: 'status'}
|
scopedSlots: {customRender: 'status'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '开票',
|
title: '开票',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 80,
|
||||||
dataIndex: 'makeInvoice',
|
dataIndex: 'makeInvoice',
|
||||||
scopedSlots: {customRender: 'status-bill'}
|
scopedSlots: {customRender: 'status-bill'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '邮寄',
|
title: '邮寄',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 80,
|
||||||
dataIndex: 'mail',
|
dataIndex: 'mail',
|
||||||
scopedSlots: {customRender: 'status-mail'}
|
scopedSlots: {customRender: 'status-mail'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 180,
|
||||||
dataIndex: '',
|
dataIndex: '',
|
||||||
scopedSlots: {customRender: 'action'}
|
scopedSlots: {customRender: 'action'}
|
||||||
},
|
},
|
||||||
@@ -252,6 +293,7 @@ export default {
|
|||||||
this.getChargeNoFile()
|
this.getChargeNoFile()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
formatMoney,
|
||||||
/*
|
/*
|
||||||
* 打开项目详情模态框
|
* 打开项目详情模态框
|
||||||
* */
|
* */
|
||||||
@@ -302,6 +344,10 @@ export default {
|
|||||||
this.currentInfo.fileName = res.result.fileName
|
this.currentInfo.fileName = res.result.fileName
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
onDateChange: function (value, dateString) {
|
||||||
|
this.queryParam.estimatedArrivalStartDate = dateString[0]
|
||||||
|
this.queryParam.estimatedArrivalEndDate = dateString[1]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -132,6 +132,16 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row>
|
<a-row>
|
||||||
|
<a-col :xl="12" :sm="24">
|
||||||
|
<a-form-item label="预估到账日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<j-date placeholder="请选择预估到账日期"
|
||||||
|
style="width: 100%;"
|
||||||
|
v-decorator="['estimatedArrivalDate', validatorRules.estimatedArrivalDate]"
|
||||||
|
:trigger-change="true"
|
||||||
|
date-format="YYYY-MM-DD"
|
||||||
|
/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
<a-col :xl="12" :sm="24">
|
<a-col :xl="12" :sm="24">
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="需要发票"
|
label="需要发票"
|
||||||
@@ -274,12 +284,14 @@ import { checkAssociatedProject } from '@/utils/projectCheck'
|
|||||||
import SelectRevenueContract from '../../../../components/tools/SelectRevenueContract'
|
import SelectRevenueContract from '../../../../components/tools/SelectRevenueContract'
|
||||||
import JDictSelectTag from '@comp/dict/JDictSelectTag'
|
import JDictSelectTag from '@comp/dict/JDictSelectTag'
|
||||||
import {CalcAmountMixin} from '@/mixins/CalcAmountMixin'
|
import {CalcAmountMixin} from '@/mixins/CalcAmountMixin'
|
||||||
|
import JDate from '@/components/tools/JDate'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'SafeguardMemberModal',
|
name: 'SafeguardMemberModal',
|
||||||
mixins:[CalcAmountMixin],
|
mixins:[CalcAmountMixin],
|
||||||
components: {
|
components: {
|
||||||
JUpload,
|
JUpload,
|
||||||
|
JDate,
|
||||||
JDictSelectTag,
|
JDictSelectTag,
|
||||||
CompanySelect,
|
CompanySelect,
|
||||||
// ContactManagementModule,
|
// ContactManagementModule,
|
||||||
@@ -290,7 +302,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
title: '操作',
|
title: '操作',
|
||||||
ysjeKey:'amountReceivable',
|
ysjeKey:'amountReceivable',
|
||||||
width: 800,
|
width: 900,
|
||||||
visible: false,
|
visible: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
form: this.$form.createForm(this),
|
form: this.$form.createForm(this),
|
||||||
@@ -352,6 +364,10 @@ export default {
|
|||||||
rules: [{ required: true, message: '请选择发票类型' }],
|
rules: [{ required: true, message: '请选择发票类型' }],
|
||||||
validateTrigger: ['change', 'blur'],
|
validateTrigger: ['change', 'blur'],
|
||||||
initialValue: 0
|
initialValue: 0
|
||||||
|
},
|
||||||
|
estimatedArrivalDate: {
|
||||||
|
rules: [{ required: true, message: '请选择预估到账日期' }],
|
||||||
|
validateTrigger: 'change'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 来款方式
|
// 来款方式
|
||||||
@@ -448,6 +464,7 @@ export default {
|
|||||||
'taxRate',
|
'taxRate',
|
||||||
'tax',
|
'tax',
|
||||||
'noTaxAmount',
|
'noTaxAmount',
|
||||||
|
'estimatedArrivalDate',
|
||||||
'needInvoice',
|
'needInvoice',
|
||||||
'paymentMethod',
|
'paymentMethod',
|
||||||
'contractNo',
|
'contractNo',
|
||||||
|
|||||||
@@ -42,6 +42,17 @@
|
|||||||
<j-year-date style="width:100%" placeholder="请选择运行年份" v-model="queryParam.year"></j-year-date>
|
<j-year-date style="width:100%" placeholder="请选择运行年份" v-model="queryParam.year"></j-year-date>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</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">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<span class="table-page-search-submitButtons">
|
<span class="table-page-search-submitButtons">
|
||||||
<a-button type="primary" icon="search" @click="searchQuery" v-has="'generalProject:search'">查询</a-button>
|
<a-button type="primary" icon="search" @click="searchQuery" v-has="'generalProject:search'">查询</a-button>
|
||||||
@@ -85,6 +96,7 @@
|
|||||||
<template slot="text" slot-scope="text">
|
<template slot="text" slot-scope="text">
|
||||||
<j-ellipsis :value="text" :length="15"></j-ellipsis>
|
<j-ellipsis :value="text" :length="15"></j-ellipsis>
|
||||||
</template>
|
</template>
|
||||||
|
<!--金钱 3位一逗号分隔-->
|
||||||
<template slot="allMoney" slot-scope="text">
|
<template slot="allMoney" slot-scope="text">
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template slot="title">{{ formatMoney(text) }}</template>
|
<template slot="title">{{ formatMoney(text) }}</template>
|
||||||
@@ -208,9 +220,15 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
title: '企业联系人',
|
title: '企业联系人',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 250,
|
width: 140,
|
||||||
dataIndex: 'contactsTemporaryName',
|
dataIndex: 'contactsTemporaryName',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '预估到账日期',
|
||||||
|
align: 'center',
|
||||||
|
width: 140,
|
||||||
|
dataIndex: 'estimatedArrivalDate',
|
||||||
|
scopedSlots: { customRender: 'text' }
|
||||||
}, {
|
}, {
|
||||||
title: '打包',
|
title: '打包',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -270,6 +288,10 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$refs.basicInfo = basicInfo
|
this.$refs.basicInfo = basicInfo
|
||||||
this.$refs.projectDetail.open(record)
|
this.$refs.projectDetail.open(record)
|
||||||
|
},
|
||||||
|
onDateChange: function (value, dateString) {
|
||||||
|
this.queryParam.estimatedArrivalStartDate = dateString[0]
|
||||||
|
this.queryParam.estimatedArrivalEndDate = dateString[1]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,6 +70,17 @@
|
|||||||
<a-input placeholder="请输入标签名称" v-model="queryParam.label" :maxLength='50'></a-input>
|
<a-input placeholder="请输入标签名称" v-model="queryParam.label" :maxLength='50'></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</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">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<span class="table-page-search-submitButtons">
|
<span class="table-page-search-submitButtons">
|
||||||
@@ -135,7 +146,13 @@
|
|||||||
class="primary-color"
|
class="primary-color"
|
||||||
@click="openDetailModal(record)"></j-ellipsis>
|
@click="openDetailModal(record)"></j-ellipsis>
|
||||||
</template>
|
</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">
|
<template slot="status" slot-scope="text,record">
|
||||||
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
|
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
|
||||||
@@ -185,7 +202,7 @@
|
|||||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||||
import JYearDate from '@comp/jero/JYearDate'
|
import JYearDate from '@comp/jero/JYearDate'
|
||||||
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
|
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 StatusSlot from '../../components/tools/StatusSlot'
|
||||||
import ProjectDetailModal from '../../components/ProjectDetailModal'
|
import ProjectDetailModal from '../../components/ProjectDetailModal'
|
||||||
import WorkingGroupMemberUnitModule from './modules/WorkingGroupMemberUnitModule'
|
import WorkingGroupMemberUnitModule from './modules/WorkingGroupMemberUnitModule'
|
||||||
@@ -195,6 +212,7 @@ import { ACCESS_TOKEN } from '../../store/mutation-types'
|
|||||||
import PreviewFile from '../../components/jero/PreviewFile'
|
import PreviewFile from '../../components/jero/PreviewFile'
|
||||||
import EmailErrorMsgModal from './modules/EmailErrorMsgModal'
|
import EmailErrorMsgModal from './modules/EmailErrorMsgModal'
|
||||||
import WorkGroupSetLabel from './modules/WorkGroupSetLabel'
|
import WorkGroupSetLabel from './modules/WorkGroupSetLabel'
|
||||||
|
import { formatMoney } from '../../utils/formatMoney'
|
||||||
|
|
||||||
// eslint-disable-next-line no-undef,no-unused-vars
|
// eslint-disable-next-line no-undef,no-unused-vars
|
||||||
const Base64 = require('js-base64').Base64
|
const Base64 = require('js-base64').Base64
|
||||||
@@ -303,23 +321,31 @@ export default {
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'receivableAmount',
|
dataIndex: 'receivableAmount',
|
||||||
width: 180,
|
width: 180,
|
||||||
customRender: (text, record) => (
|
scopedSlots: {customRender: 'allMoney'},
|
||||||
<j-ellipsis value={ record.receivableAmount + '元' } length={ 15 }></j-ellipsis>
|
// customRender: (text, record) => (
|
||||||
)
|
// <j-ellipsis value={ record.receivableAmount + '元' } length={ 15 }></j-ellipsis>
|
||||||
|
// )
|
||||||
}, {
|
}, {
|
||||||
title: '实收金额',
|
title: '实收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'paidAmount',
|
dataIndex: 'paidAmount',
|
||||||
width: 180,
|
width: 180,
|
||||||
customRender: (text, record) => (
|
scopedSlots: {customRender: 'allMoney'},
|
||||||
<j-ellipsis value={ record.paidAmount + '元' } length={ 15 }></j-ellipsis>
|
// customRender: (text, record) => (
|
||||||
)
|
// <j-ellipsis value={ record.paidAmount + '元' } length={ 15 }></j-ellipsis>
|
||||||
|
// )
|
||||||
}, {
|
}, {
|
||||||
title: '标签名称',
|
title: '标签名称',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'label',
|
dataIndex: 'label',
|
||||||
width: 100,
|
width: 100,
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '预估到账日期',
|
||||||
|
align: 'center',
|
||||||
|
width: 140,
|
||||||
|
dataIndex: 'estimatedArrivalDate',
|
||||||
|
scopedSlots: { customRender: 'text' }
|
||||||
}, {
|
}, {
|
||||||
// 2021-10-22需求变更新加
|
// 2021-10-22需求变更新加
|
||||||
title: '收费通知号',
|
title: '收费通知号',
|
||||||
@@ -389,6 +415,7 @@ export default {
|
|||||||
this.initWorkGroupData()
|
this.initWorkGroupData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
formatMoney,
|
||||||
/**
|
/**
|
||||||
* 初始化工作组信息
|
* 初始化工作组信息
|
||||||
*/
|
*/
|
||||||
@@ -546,6 +573,10 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.$refs.workGroupSetLabel.show(this.selectedRowKeys)
|
this.$refs.workGroupSetLabel.show(this.selectedRowKeys)
|
||||||
|
},
|
||||||
|
onDateChange: function (value, dateString) {
|
||||||
|
this.queryParam.estimatedArrivalStartDate = dateString[0]
|
||||||
|
this.queryParam.estimatedArrivalEndDate = dateString[1]
|
||||||
}
|
}
|
||||||
// 2021 10 11 沟通后去掉了这个功能
|
// 2021 10 11 沟通后去掉了这个功能
|
||||||
// searchReset() {
|
// searchReset() {
|
||||||
|
|||||||
@@ -140,7 +140,18 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
</a-row>
|
</a-row>
|
||||||
|
<a-row>
|
||||||
|
<a-col :xl="12" :sm="24">
|
||||||
|
<a-form-item label="预估到账日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<j-date placeholder="请选择预估到账日期"
|
||||||
|
style="width: 100%;"
|
||||||
|
v-decorator="['estimatedArrivalDate', validatorRules.estimatedArrivalDate]"
|
||||||
|
:trigger-change="true"
|
||||||
|
date-format="YYYY-MM-DD"
|
||||||
|
/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :xl="12" :sm="24">
|
<a-col :xl="12" :sm="24">
|
||||||
<a-form-item label="需要发票" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="需要发票" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
@@ -243,10 +254,11 @@ import { USER_INFO } from '../../../store/mutation-types'
|
|||||||
import { money } from '../../../utils/validate'
|
import { money } from '../../../utils/validate'
|
||||||
import { checkAssociatedProject } from '../../../utils/projectCheck'
|
import { checkAssociatedProject } from '../../../utils/projectCheck'
|
||||||
import SelectRevenueContract from '../../../components/tools/SelectRevenueContract'
|
import SelectRevenueContract from '../../../components/tools/SelectRevenueContract'
|
||||||
|
import JDate from '@/components/tools/JDate'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'GeneralProjectModule',
|
name: 'GeneralProjectModule',
|
||||||
components: { JYearDate, JUpload, CompanySelect, SelectPrincipal, SelectContacts, SelectRevenueContract ,JDictSelectTag},
|
components: { JYearDate, JUpload, JDate,CompanySelect, SelectPrincipal, SelectContacts, SelectRevenueContract ,JDictSelectTag},
|
||||||
props: {
|
props: {
|
||||||
// 收入合同关联时传入的企业信息,不可修改
|
// 收入合同关联时传入的企业信息,不可修改
|
||||||
defaultChargeCompany: {
|
defaultChargeCompany: {
|
||||||
@@ -302,7 +314,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: '操作',
|
title: '操作',
|
||||||
width: 800,
|
width: 900,
|
||||||
visible: false,
|
visible: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
form: this.$form.createForm(this),
|
form: this.$form.createForm(this),
|
||||||
@@ -367,7 +379,10 @@ export default {
|
|||||||
rules: [{ required: false, validator: this.checkNoTaxMoney}],
|
rules: [{ required: false, validator: this.checkNoTaxMoney}],
|
||||||
validateTrigger: 'blur'
|
validateTrigger: 'blur'
|
||||||
},
|
},
|
||||||
|
estimatedArrivalDate: {
|
||||||
|
rules: [{ required: true, message: '请选择预估到账日期' }],
|
||||||
|
validateTrigger: 'change'
|
||||||
|
},
|
||||||
needInvoice: {
|
needInvoice: {
|
||||||
rules: [{ required: true, message: '请选择发票类型' }],
|
rules: [{ required: true, message: '请选择发票类型' }],
|
||||||
validateTrigger: 'change'
|
validateTrigger: 'change'
|
||||||
@@ -461,7 +476,7 @@ export default {
|
|||||||
this.chargeWayType = record.chargeWay
|
this.chargeWayType = record.chargeWay
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.form.setFieldsValue(pick(this.model, 'chargeProject', 'year', 'principalId', 'chargeCompany', 'chargeUse', 'contactsId', 'mailContactsId', 'receivableAmount','taxRate','tax','noTaxAmount', 'needInvoice', 'chargeWay', 'contractNum', 'chargeNoticeNo', 'chargeNoticeId', 'files', 'remarks'))
|
this.form.setFieldsValue(pick(this.model, 'chargeProject', 'year', 'principalId', 'chargeCompany', 'chargeUse', 'contactsId', 'mailContactsId', 'receivableAmount','taxRate','tax','noTaxAmount', 'estimatedArrivalDate', 'needInvoice', 'chargeWay', 'contractNum', 'chargeNoticeNo', 'chargeNoticeId', 'files', 'remarks'))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
|
|||||||
@@ -243,6 +243,16 @@
|
|||||||
|
|
||||||
</template>
|
</template>
|
||||||
<a-row>
|
<a-row>
|
||||||
|
<a-col :xl="12" :sm="24">
|
||||||
|
<a-form-item label="预估到账日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<j-date placeholder="请选择预估到账日期"
|
||||||
|
style="width: 100%;"
|
||||||
|
v-decorator="['estimatedArrivalDate', validatorRules.estimatedArrivalDate]"
|
||||||
|
:trigger-change="true"
|
||||||
|
date-format="YYYY-MM-DD"
|
||||||
|
/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
<a-col :xl="12" :sm="24" v-if="chargeWayType === 2">
|
<a-col :xl="12" :sm="24" v-if="chargeWayType === 2">
|
||||||
<a-form-item label="合同号" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="合同号" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<!-- <a-input placeholder="请输入合同号"-->
|
<!-- <a-input placeholder="请输入合同号"-->
|
||||||
@@ -395,10 +405,11 @@ import { checkAssociatedProject } from '../../../utils/projectCheck'
|
|||||||
import SelectRevenueContract from '../../../components/tools/SelectRevenueContract'
|
import SelectRevenueContract from '../../../components/tools/SelectRevenueContract'
|
||||||
import JDictSelectTag from '@comp/dict/JDictSelectTag'
|
import JDictSelectTag from '@comp/dict/JDictSelectTag'
|
||||||
import { CalcAmountMixin } from '@/mixins/CalcAmountMixin'
|
import { CalcAmountMixin } from '@/mixins/CalcAmountMixin'
|
||||||
|
import JDate from '@/components/tools/JDate'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'WorkingGroupMemberUnitModule',
|
name: 'WorkingGroupMemberUnitModule',
|
||||||
components: { JUpload, CompanySelect, SelectContacts, SelectRevenueContract, JDictSelectTag },
|
components: { JUpload, JDate, CompanySelect, SelectContacts, SelectRevenueContract, JDictSelectTag },
|
||||||
mixins: [CalcAmountMixin],
|
mixins: [CalcAmountMixin],
|
||||||
props: {
|
props: {
|
||||||
// 默认来款方式(收入合同新增工作组项目,来款方式默认为2--合同)
|
// 默认来款方式(收入合同新增工作组项目,来款方式默认为2--合同)
|
||||||
@@ -503,6 +514,10 @@ export default {
|
|||||||
rules: [{ required: true, validator: this.checkMoney }],
|
rules: [{ required: true, validator: this.checkMoney }],
|
||||||
validateTrigger: 'blur'
|
validateTrigger: 'blur'
|
||||||
},
|
},
|
||||||
|
estimatedArrivalDate: {
|
||||||
|
rules: [{ required: true, message: '请选择预估到账日期' }],
|
||||||
|
validateTrigger: 'change'
|
||||||
|
},
|
||||||
contractNum: {
|
contractNum: {
|
||||||
rules: [{ required: true, message: '请选择合同号' }],
|
rules: [{ required: true, message: '请选择合同号' }],
|
||||||
validateTrigger: 'change'
|
validateTrigger: 'change'
|
||||||
@@ -651,7 +666,7 @@ export default {
|
|||||||
this.pickChargeNoticeType(record.charge, true)
|
this.pickChargeNoticeType(record.charge, true)
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.form.setFieldsValue(pick(this.model, 'chargeCompany', 'contactsIdOne', 'contactsIdTwo', 'contactsIdThree', 'mailContactsId', 'chargeWay', 'charge', 'receivableAmount', 'taxRate', 'tax', 'noTaxAmount', 'contractNum', 'receivableAmount', 'chargeNoticeId', 'needInvoice', 'remarks', 'remarksOne', 'remarksTwo', 'remarksThree', 'payWorkingGroupSubItemContactsList'))
|
this.form.setFieldsValue(pick(this.model, 'chargeCompany', 'contactsIdOne', 'contactsIdTwo', 'contactsIdThree', 'mailContactsId', 'chargeWay', 'charge', 'receivableAmount', 'taxRate', 'tax', 'noTaxAmount', 'estimatedArrivalDate', 'contractNum', 'receivableAmount', 'chargeNoticeId', 'needInvoice', 'remarks', 'remarksOne', 'remarksTwo', 'remarksThree', 'payWorkingGroupSubItemContactsList'))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
|
|||||||
Reference in New Issue
Block a user