|
@@ -229,7 +229,12 @@ class PushItems extends Component {
|
|
|
<div className={style["recommend"]}>
|
|
|
<h1>
|
|
|
<img src={recommendImg} />
|
|
|
- 推荐检验检查<div className={style["billing"]} onClick={billing}>开单</div>
|
|
|
+ 推荐检验检查
|
|
|
+ <div className={style["billing"]}
|
|
|
+ style={assay.length === 0 && check.length === 0 ? {color: 'gray', border: '1px solid gray'} : ''}
|
|
|
+ onClick={assay.length === 0 && check.length === 0 ? billing :''}>
|
|
|
+ 开单
|
|
|
+ </div>
|
|
|
</h1>
|
|
|
<div>
|
|
|
{assay.length === 0 && check.length === 0 ? (
|