|
|
|
@ -71,7 +71,7 @@ |
|
|
|
{{ row[col.prop] }} |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
<div class="m-l-5" v-if="col.showBodySub"> |
|
|
|
<div class="m-l-5" v-if="isShowBodySub(col)"> |
|
|
|
<template v-if="col.bodySubType === 'inputNumber'"> |
|
|
|
<HandleFormItem :fieldKey="prefixKey+'_'+col.bodySubKey+'_'+rowIndex" :fieldItemLabel="fieldItemLabel" type="inputNumber" @blur="onSubBlur(rowIndex, col.bodySubKey, $event)" |
|
|
|
@copy="onCopy(rowIndex, col)" :item="getBodySubItem(col)" v-model="row[col.bodySubKey]" |
|
|
|
@ -200,6 +200,12 @@ export default { |
|
|
|
// this.initHeaderSelectValues(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
isShowBodySub(col) { |
|
|
|
if(col.hasOwnProperty("disabled")){ |
|
|
|
return col.showBodySub |
|
|
|
} |
|
|
|
return col.bodySubType && col.bodySubKey; |
|
|
|
}, |
|
|
|
// 点击事件 |
|
|
|
handleClickable(col, rowIndex, colIndex) { |
|
|
|
console.log("clickable",rowIndex,colIndex, col) |
|
|
|
|