|
|
@ -31,7 +31,7 @@ |
|
|
:value="headerFields[`${colIndex}_${headerIndex}`]" |
|
|
:value="headerFields[`${colIndex}_${headerIndex}`]" |
|
|
:error="hasHeaderError(colIndex, headerIndex, headerCol.key)" |
|
|
:error="hasHeaderError(colIndex, headerIndex, headerCol.key)" |
|
|
@update:error="onHeaderColumnErrorUpdate(colIndex, headerIndex, headerCol.key, $event)" |
|
|
@update:error="onHeaderColumnErrorUpdate(colIndex, headerIndex, headerCol.key, $event)" |
|
|
:orange-bg="regentIsExpired(headerCol.key,rowIndex)" |
|
|
|
|
|
|
|
|
:orange-bg="regentIsExpired(headerCol.key,colIndex)" |
|
|
@onRegentSubmit="(data, inputValue) => onHeaderRegentSubmit(data, inputValue, colIndex, headerIndex)" /> |
|
|
@onRegentSubmit="(data, inputValue) => onHeaderRegentSubmit(data, inputValue, colIndex, headerIndex)" /> |
|
|
</template> |
|
|
</template> |
|
|
<template |
|
|
<template |
|
|
@ -548,7 +548,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
//是否过期 |
|
|
//是否过期 |
|
|
regentIsExpired(key,rowIndex) { |
|
|
regentIsExpired(key,rowIndex) { |
|
|
const item = this.localDataSource[rowIndex]; |
|
|
|
|
|
|
|
|
const item = this.localDataSource[rowIndex] || {}; |
|
|
const { yxq, sxrq } = item[`selectInfo_${key}`] || {}; |
|
|
const { yxq, sxrq } = item[`selectInfo_${key}`] || {}; |
|
|
const rq = sxrq || yxq; |
|
|
const rq = sxrq || yxq; |
|
|
if (rq) { |
|
|
if (rq) { |
|
|
|