update 打包字段为"是"其他全部置灰

This commit is contained in:
danshihao
2024-03-13 11:24:01 +08:00
parent aac5d26abf
commit d59210fb23
14 changed files with 102 additions and 40 deletions
@@ -81,7 +81,13 @@
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
</template>
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
</a-table>
@@ -208,7 +214,7 @@ export default {
title: '需要发票',
align: 'center',
dataIndex: 'needInvoice',
scopedSlots: { customRender: 'status-pack' },
scopedSlots: { customRender: 'status-needInvoice' },
width: 80
},
{
@@ -64,7 +64,13 @@
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
</template>
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
</a-table>
@@ -98,7 +104,13 @@
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
</template>
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
</a-table>
@@ -261,7 +273,7 @@ export default {
title: '需要发票',
align: 'center',
dataIndex: 'invoiceRequirements',
scopedSlots: {customRender: 'status-pack'},
scopedSlots: {customRender: 'status-needInvoice'},
width: 80,
},
{
@@ -92,7 +92,13 @@
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
</template>
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
</a-table>
@@ -237,7 +243,7 @@ export default {
align: 'center',
width: 80,
dataIndex: 'needInvoice',
scopedSlots: { customRender: 'status-pack' }
scopedSlots: { customRender: 'status-needInvoice' }
}, {
title: '到账',
align: 'center',
@@ -129,25 +129,6 @@
@click="openDetailModal(record)"></j-ellipsis>
</template>
<!-- 打包需要发票到账开票邮寄状态-->
<template slot="status" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
</template>
<!-- 开票-->
<template slot="status-bill" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="bill"></status-slot>
</template>
<!-- 邮寄-->
<template slot="status-mail" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="mail"></status-slot>
</template>
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
<template slot="text" slot-scope="text">
<a-tooltip>
<template slot="title">{{ text }}</template>
@@ -176,7 +157,6 @@
import { JeroListMixin } from '@/mixins/JeroListMixin'
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
import {getDraftingGroupById} from '@api/incomePaymentsApi'
import StatusSlot from '../../components/tools/StatusSlot'
import ProjectDetailModal from '../../components/ProjectDetailModal'
import DraftingGroupMemberUnitModule from './modules/DraftingGroupMemberUnitModule'
import Vue from 'vue'
@@ -194,7 +174,6 @@ export default {
components: {
DraftingGroupMemberUnitCheckModule,
PageHeaderTitle,
StatusSlot,
ProjectDetailModal,
DraftingGroupMemberUnitModule,
PreviewFile
@@ -151,7 +151,13 @@
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="mail"></status-slot>
</template>
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
@@ -368,7 +374,7 @@ export default {
align: 'center',
width: 80,
dataIndex: 'needInvoice',
scopedSlots: {customRender: 'status-pack'}
scopedSlots: {customRender: 'status-needInvoice'}
}, {
title: '到账',
align: 'center',
@@ -354,7 +354,13 @@
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
</template>
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
@@ -528,7 +534,7 @@ export default {
align: 'center',
dataIndex: 'needInvoice',
width: 100,
scopedSlots: { customRender: 'status-pack' }
scopedSlots: { customRender: 'status-needInvoice' }
},
{
title: '到账',
@@ -114,7 +114,13 @@
></status-slot>
</template>
<template slot="status-pack" slot-scope="text, record">
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
@@ -225,7 +231,7 @@ export default {
title: '需要发票',
align: 'center',
dataIndex: 'invoiceRequirements',
scopedSlots: { customRender: 'status-pack' },
scopedSlots: { customRender: 'status-needInvoice' },
},
{
title: '到账',
@@ -140,7 +140,13 @@
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="mail"></status-slot>
</template>
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
@@ -243,7 +249,7 @@ export default {
align: 'center',
width: 80,
dataIndex: 'needInvoice',
scopedSlots: {customRender: 'status-pack'}
scopedSlots: {customRender: 'status-needInvoice'}
},
{
title: '到账',
@@ -167,7 +167,13 @@
></status-slot>
</template>
<template slot="status-pack" slot-scope="text, record">
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
@@ -322,7 +328,7 @@ export default {
title: '需要发票',
align: 'center',
dataIndex: 'invoiceRequirements',
scopedSlots: { customRender: 'status-pack' },
scopedSlots: { customRender: 'status-needInvoice' },
},
{
title: '到账',
+2 -2
View File
@@ -67,7 +67,7 @@
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="bill"></status-slot>
</template>
<!-- 需要发票 -->
<template slot="status-pack" slot-scope="text,record">
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
<!-- 项目名称-->
@@ -231,7 +231,7 @@ const defaultTableColumns = [
align: 'center',
width: 80,
dataIndex: 'needInvoice',
scopedSlots: { customRender: 'status-pack' }
scopedSlots: { customRender: 'status-needInvoice' }
},
{
title: '到账',
@@ -77,6 +77,12 @@
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
<!-- 确认收入 -->
<template slot="status-confirm" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="confirm"
:get-info-func="getPayConfirmList"></status-slot>
</template>
</a-table>
</div>
</a-spin>
@@ -88,7 +94,7 @@
import { JeroListMixin } from '../../../mixins/JeroListMixin'
import JYearDate from '../../../components/jero/JYearDate'
import StatusSlot from '../../../components/tools/StatusSlot'
import { addPackProject } from '../../../api/incomePaymentsApi'
import {addPackProject, getPayConfirmList} from '../../../api/incomePaymentsApi'
export default {
name: 'PackProjectSelectProjectModule',
@@ -193,11 +199,11 @@ export default {
dataIndex: 'makeInvoice',
scopedSlots: { customRender: 'status' }
}, {
title: '邮寄',
title: '确收',
align: 'center',
width: 80,
dataIndex: 'mail',
scopedSlots: { customRender: 'status' }
dataIndex: 'affirmIncome',
scopedSlots: { customRender: 'status-confirm' }
}
],
disableMixinCreated: true,
@@ -207,6 +213,7 @@ export default {
}
},
methods: {
getPayConfirmList,
handleOk() {
if (this.confirmLoading) {
return
@@ -125,7 +125,13 @@
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="mail"></status-slot>
</template>
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
@@ -247,7 +253,7 @@ export default {
align: 'center',
width: 80,
dataIndex: 'needInvoice',
scopedSlots: { customRender: 'status-pack' }
scopedSlots: { customRender: 'status-needInvoice' }
}, {
title: '到账',
align: 'center',
@@ -174,7 +174,13 @@
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="mail"></status-slot>
</template>
<!--打包-->
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" status-key="pack"></status-slot>
</template>
<!--需要发票-->
<template slot="status-needInvoice" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
@@ -375,7 +381,7 @@ export default {
fixed: 'right',
width: 80,
dataIndex: 'needInvoice',
scopedSlots: { customRender: 'status-pack' }
scopedSlots: { customRender: 'status-needInvoice' }
}, {
title: '到账',
align: 'center',