diff --git a/src/views/jhzx/ydjhzxCX.vue b/src/views/jhzx/ydjhzxCX.vue index c56b9f5..9846b14 100644 --- a/src/views/jhzx/ydjhzxCX.vue +++ b/src/views/jhzx/ydjhzxCX.vue @@ -66,6 +66,8 @@ highlight-current-row highlight-hover-row show-overflow + :cell-style="cellStyle" + :tooltip-config="{showAll:true, enterable: true,contentMethod:showWarning}" :scroll-y="{enabled: true}" @cell-dblclick="getListhzBymx1" > @@ -151,10 +153,6 @@ export default { filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], filterRender: { name: 'FilterCombination', }}, - - - - { field: 'jssj', title: '分段钢料需求',width: 110, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], filterRender: { name: 'FilterCombination', }}, @@ -731,6 +729,89 @@ export default { this.initgxList() }, methods: { + //未完成悬浮提示 + showWarning({ type, column, row }){ + var err = '未完成'; + var slxhthCount=row.slxhthCount; + if (type === 'body') { + if (column.field === 'slCount'){ + if (row.slCount > '0' && row.slCount '0' && row.pwCount '0' && row.llCount '0' && row.hxCount '0' && row.qgCount '0' && row.slCount '0' && row.pwCount '0' && row.llCount '0' && row.hxCount '0' && row.qgCount