| | |
| | | import SaveIcon from '@mui/icons-material/Save'; |
| | | import AsnWareModal from "./AsnWareModal"; |
| | | import request from '@/utils/request'; |
| | | import { formatQuantity } from '@/utils/common'; |
| | | import _, { set } from 'lodash'; |
| | | import "./asnOrder.css"; |
| | | |
| | |
| | | <DictSelect |
| | | label={translate("table.field.asnOrder.wkType")} |
| | | value={formData.wkType} |
| | | group='1' |
| | | onChange={(e) => handleChange(e.target.value, 'wkType')} |
| | | dictTypeCode="sys_business_type" |
| | | dictTypeCode="sys_order_work_type" |
| | | group='1' |
| | | required |
| | | /> |
| | | </Grid> |
| | |
| | | minWidth: 100, |
| | | flex: 1, |
| | | editable: true, |
| | | valueFormatter: (val) => val < 0 ? 0 : val, |
| | | valueFormatter: (val) => formatQuantity(val != null && val >= 0 ? val : 0), |
| | | headerClassName: "custom", |
| | | }, |
| | | // { |
| | |
| | | ), |
| | | headerClassName: "custom", |
| | | }, |
| | | { |
| | | field: 'platItemId', |
| | | headerName: translate('table.field.asnOrderItem.platItemId') + "*", |
| | | minWidth: 100, |
| | | flex: 1, |
| | | editable: true, |
| | | headerClassName: "custom", |
| | | }, |
| | | // 现品票号已注释 |
| | | // { |
| | | // field: 'platItemId', |
| | | // headerName: translate('table.field.asnOrderItem.platItemId') + "*", |
| | | // minWidth: 100, |
| | | // flex: 1, |
| | | // editable: true, |
| | | // headerClassName: "custom", |
| | | // }, |
| | | { |
| | | field: 'splrBatch', |
| | | headerName: translate('table.field.asnOrderItem.splrBatch'), |