@ -32,6 +32,14 @@
< span > { { row . code } } < / span >
< span > { { row . code } } < / span >
< / e l - b u t t o n >
< / e l - b u t t o n >
< / template >
< / template >
< template # classificationView = "{row}" >
<!-- < span > { { row . classificationView } } < / span > -- >
< el -tag type = "primary" v-for ="(item,index) in row.classificationView" :key ="index" > {{ getStrDictOptions ( DICT_TYPE.CLASSIFICATION ) ? .find ( cur = > cur . value == item ) ? . label } } < / e l - t a g >
< / template >
< template # isInAccountView = "{row}" >
<!-- < span > { { row . classificationView } } < / span > -- >
< el -tag type = "primary" v-for ="(item,index) in row.isInAccountView" :key ="index" > {{ getStrDictOptions ( DICT_TYPE.TRUE_FALSE ) ? .find ( cur = > cur . value == item ) ? . label } } < / e l - t a g >
< / template >
< template # action = "{ row }" >
< template # action = "{ row }" >
< ButtonBase :Butttondata ="butttondata" @button-base-click ="buttonTableClick($event,row)" / >
< ButtonBase :Butttondata ="butttondata" @button-base-click ="buttonTableClick($event,row)" / >
< / template >
< / template >
@ -65,6 +73,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { DICT_TYPE , getStrDictOptions } from '@/utils/dict'
defineOptions ( { name : 'CountadjustPlan' } )
defineOptions ( { name : 'CountadjustPlan' } )
@ -156,7 +165,7 @@ const openForm = (type: string, row?: any) => {
}
}
/ / f o r m 表 单 提 交
/ / f o r m 表 单 提 交
const formsSuccess = async ( formType , data ) => {
const formsSuccess = async ( formType , data ) => {
var isHave = CountadjustPlan . allSchemas . formSchema . some ( function ( item ) {
var isHave = CountadjustPlan . allSchemas . formSchema . some ( function ( item ) {
return item . field === 'activeTime' || item . field === 'expireTime' ;
return item . field === 'activeTime' || item . field === 'expireTime' ;
} ) ;
} ) ;