| | |
| | | aria-hidden |
| | | fullWidth |
| | | disableRestoreFocus |
| | | maxWidth="lg" // 'xs' | 'sm' | 'md' | 'lg' | 'xl' |
| | | maxWidth="xl" // 'xs' | 'sm' | 'md' | 'lg' | 'xl' |
| | | > |
| | | <DialogTitle id="form-dialog-title" sx={{ |
| | | position: 'sticky', |
| | |
| | | const AsnOrderModalTable = ({ tabelData, setTableData, asnId, selectedRows, setSelectedRows, tableRef }) => { |
| | | const translate = useTranslate(); |
| | | const notify = useNotify(); |
| | | const [check, setCheck] = useState([]); |
| | | |
| | | const [columns, setColumns] = useState([ |
| | | { |
| | |
| | | }, |
| | | { |
| | | field: 'anfme', |
| | | headerName: translate('table.field.outStockItem.anfme') + "*", |
| | | headerName: translate('table.field.checkOrder.anfme') + "*", |
| | | type: 'number', |
| | | minWidth: 100, |
| | | minWidth: 120, |
| | | flex: 1, |
| | | editable: true, |
| | | valueFormatter: (val) => val < 0 ? 0 : val, |
| | |
| | | let cdata = useRef([]); |
| | | |
| | | useEffect(() => { |
| | | getDynamicFields(); |
| | | if (check == null || check.length < 1) { |
| | | getDynamicFields(); |
| | | } |
| | | }, []); |
| | | |
| | | useEffect(() => { |
| | |
| | | flex: 1, |
| | | editable: false |
| | | })) |
| | | setCheck(cols); |
| | | setColumns([...columns, ...cols, action]) |
| | | } else { |
| | | notify(msg); |
| | |
| | | import MemoInput from "@/page/components/MemoInput"; |
| | | import ReviseLogList from "./ReviseLogList"; |
| | | import * as Common from '@/utils/common'; |
| | | import request from '@/utils/request'; |
| | | |
| | | |
| | | const LocReviseEdit = () => { |
File was renamed from rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/ReceiveMsgController.java |
| | |
| | | import com.vincent.rsf.server.api.service.ReceiveMsgService; |
| | | import com.vincent.rsf.framework.exception.CoolException; |
| | | import com.vincent.rsf.server.api.controller.erp.params.*; |
| | | import com.vincent.rsf.server.api.service.ReceiveMsgService; |
| | | import com.vincent.rsf.server.common.domain.BaseParam; |
| | | import com.vincent.rsf.server.common.domain.PageParam; |
| | | import com.vincent.rsf.framework.common.R; |
| | |
| | | @RestController |
| | | @RequestMapping("/erp") |
| | | @Api(tags = "综合查询") |
| | | public class ReceiveMsgController extends BaseController { |
| | | public class ErpQueryController extends BaseController { |
| | | |
| | | @Autowired |
| | | private ReceiveMsgService receiveMsgService; |
| | |
| | | package com.vincent.rsf.server.api.controller.erp; |
| | | |
| | | import com.vincent.rsf.framework.common.R; |
| | | import com.vincent.rsf.server.api.controller.erp.params.CheckDiffParams; |
| | | import com.vincent.rsf.server.api.controller.erp.params.OrderParams; |
| | | import com.vincent.rsf.server.api.service.ReceiveMsgService; |
| | | import com.vincent.rsf.server.common.utils.ExcelUtil; |
| | |
| | | System.out.println(template); |
| | | // return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * @author Ryan |
| | | * @date 2025/8/19 |
| | | * @description: 同步盘点单据 |
| | | * @version 1.0 |
| | | */ |
| | | @ApiOperation("同步盘点单") |
| | | @PostMapping("/sync/checks") |
| | | public R syncCheckResult(@RequestBody List<CheckDiffParams> checkDiffs) { |
| | | |
| | | return R.ok(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.vincent.rsf.server.api.controller.erp.params; |
| | | |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | import lombok.experimental.Accessors; |
| | | |
| | | @Data |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "CheckDiffParams", description = "同步盘点参数") |
| | | public class CheckDiffParams { |
| | | |
| | | private String orderNo; |
| | | |
| | | } |