Merge branch 'dev' of https://git.jetbrains.space/nalpari/q-cast-iii/qcast-front into dev-ck
This commit is contained in:
commit
728d05bb13
@ -282,27 +282,26 @@ export default function StuffDetail() {
|
||||
autoHeight: true,
|
||||
cellStyle: { justifyContent: 'center' },
|
||||
cellRenderer: (params) => {
|
||||
let buttonStyle = { display: 'flex' }
|
||||
let buttonStyle2 = { display: 'flex' }
|
||||
let buttonStyle = ''
|
||||
let buttonStyle2 = ''
|
||||
if (params.value == null) {
|
||||
buttonStyle = {
|
||||
display: 'none',
|
||||
}
|
||||
buttonStyle2 = {
|
||||
display: 'none',
|
||||
}
|
||||
buttonStyle = 'none'
|
||||
buttonStyle2 = 'none'
|
||||
} else {
|
||||
if (params?.data?.createSaleStoreId === 'T01') {
|
||||
if (session?.storeId !== 'T01') {
|
||||
buttonStyle = { display: 'none' }
|
||||
buttonStyle = 'none'
|
||||
}
|
||||
}
|
||||
if (params?.data?.tempFlg === '1') {
|
||||
buttonStyle2 = 'none'
|
||||
}
|
||||
}
|
||||
return (
|
||||
<>
|
||||
<div className="grid-cell-btn">
|
||||
<button
|
||||
style={buttonStyle}
|
||||
style={{ display: buttonStyle }}
|
||||
type="button"
|
||||
className="grid-btn"
|
||||
onClick={() => {
|
||||
@ -316,7 +315,7 @@ export default function StuffDetail() {
|
||||
{getMessage('stuff.detail.planGrid.btn1')}
|
||||
</button>
|
||||
<button
|
||||
style={buttonStyle2}
|
||||
style={{ display: buttonStyle2 }}
|
||||
type="button"
|
||||
className="grid-btn"
|
||||
onClick={() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user