|
|
|
@ -162,8 +162,8 @@ export default {
|
|
|
|
|
filterRender: { name: 'FilterCombination' }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'zl',
|
|
|
|
|
title: '组立',editRender: { name: '$select',options: [{label: '小组立',value:'X'},{label: '中大组立',value:'D'}], props: {clearable: true} },
|
|
|
|
|
field: 'zl',ormatter: ['dictFormat', 'ZLLB'],
|
|
|
|
|
title: '组立',editRender: { name: '$select',options: [], props: {clearable: true} },
|
|
|
|
|
width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination' }
|
|
|
|
@ -237,7 +237,6 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
initBase(){
|
|
|
|
|
getPgdBase({}).then(res=>{
|
|
|
|
|
this.dictData = res.data
|
|
|
|
|
this.dictData = res.data
|
|
|
|
|
this.projectData=res.data.cbbm
|
|
|
|
|
this.projectData1=res.data.cbbm
|
|
|
|
@ -253,6 +252,14 @@ export default {
|
|
|
|
|
select.editRender.options=chList
|
|
|
|
|
const sldw = this.$refs.xGrid.getColumnByField('kw')
|
|
|
|
|
sldw.editRender.options = this.dictData.qgkw
|
|
|
|
|
|
|
|
|
|
const _zlList=JSON.parse(window.localStorage.getItem("ZLLB"))
|
|
|
|
|
const zlList=[]
|
|
|
|
|
_zlList.forEach(item=>{
|
|
|
|
|
zlList.push({label:item.bmsm,value:item.bm})
|
|
|
|
|
})
|
|
|
|
|
const zl = this.$refs.xGrid.getColumnByField('zl')
|
|
|
|
|
zl.editRender.options = zlList
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
getBFangDwxx().then((res)=>{
|
|
|
|
|