|
|
|
@ -2,8 +2,13 @@ import * as React from "react"; |
|
|
|
import { connect, Dispatch } from "react-redux"; |
|
|
|
import { StMainView, StAppWithMainView } from "."; |
|
|
|
import { Grid, Row, Col, Table, ButtonToolbar, Button, Panel, FormControl, Checkbox } from "react-bootstrap"; |
|
|
|
import "mammoth/ui/jss"; |
|
|
|
import { Led } from "mammoth/ui/led"; |
|
|
|
import { DateInput } from "mammoth/ui/date-input"; |
|
|
|
import jss from "jss"; |
|
|
|
import preset from "jss-preset-default"; |
|
|
|
|
|
|
|
jss.setup(preset()); |
|
|
|
|
|
|
|
const sheet = jss.createStyleSheet({ |
|
|
|
pnl: { |
|
|
|
@ -32,7 +37,7 @@ function mainView(props: Props & Callbacks) { |
|
|
|
<Button>启用称重</Button> |
|
|
|
<Button disabled>停止称重</Button> |
|
|
|
</ButtonToolbar> |
|
|
|
<div>宰杀日期:<input /></div> |
|
|
|
<div>宰杀日期:<DateInput /></div> |
|
|
|
</Col> |
|
|
|
<Col lg={5} style={{ height: "15vh", flexWrap: "wrap", display: "flex", flexDirection: "column", alignItems: "flex-start" }}> |
|
|
|
<Checkbox>打印条码</Checkbox> |
|
|
|
|