[fix 82948] 打包管理新增后-到账开票的列表标识显示不对
This commit is contained in:
@@ -24,6 +24,7 @@ import half from '../../assets/imgs/half.png'
|
||||
import error from '../../assets/imgs/error.png'
|
||||
// 获得当前行数据的方法,默认写的是 普通项目获得数据的方法,其他模块需要以传参的方式修改相应的方法
|
||||
import { queryCommonProjectById } from '../../api/incomePaymentsApi'
|
||||
import { ProjectTypeEnums } from '@/enums/commonEnums'
|
||||
|
||||
export default {
|
||||
name: 'StatusSlot',
|
||||
@@ -80,8 +81,9 @@ export default {
|
||||
computed: {
|
||||
// eslint-disable-next-line vue/return-in-computed-property
|
||||
status() {
|
||||
// 如果有打包字段 && 当前列不是打包列 && 当前行是打包为"是"
|
||||
if (this.packField && this.statusKey !== 'pack' && this.statuObj[this.packField] === 1) {
|
||||
// 非打包项目,其他项目如果被打包,就除了打包列全部置灰
|
||||
// 如果有打包字段 && 当前列不是打包列 && 当前行是打包为"是" && 当前项目不是打包项目
|
||||
if (this.packField && this.statusKey !== 'pack' && this.statuObj[this.packField] === 1 && this.statuObj.projectType !== ProjectTypeEnums.PACK_PRO.value) {
|
||||
return zero
|
||||
}
|
||||
if (this.statuObj.amountReceivable === '0.00' || this.statuObj.receivableAmount === '0.00') {
|
||||
|
||||
Reference in New Issue
Block a user