From 79edfec1f6e6789d3f6cc57db3cb0cfdffd64c32 Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期二, 24 二月 2026 15:50:32 +0800
Subject: [PATCH] 库位拣料出库数量调整
---
rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx b/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx
index 278e218..4fdab48 100644
--- a/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx
+++ b/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx
@@ -56,6 +56,7 @@
import AddIcon from '@mui/icons-material/Add';
import DeleteIcon from '@mui/icons-material/Delete';
import request from '@/utils/request';
+import { formatQuantity } from '@/utils/common';
import LocItemInfoModal from "../components/locItemInfoModal";
import { Delete } from '@mui/icons-material';
import _, { set } from 'lodash';
@@ -128,7 +129,6 @@
label={translate("table.field.outBound.checkSta")}
onChange={(e) => {
setSta(e.target.value);
- console.log("绔欑偣宸查�夋嫨:", e.target.value);
}}
size="small"
type="[107]"
@@ -182,7 +182,7 @@
http(sta, data);
}
const http = async (sta, items) => {
- const { data: { code, data, msg } } = await request.post(`/locItem/generate/task`, { siteNo: sta, items: items, type: 'check' });
+ const { data: { code, data, msg } } = await request.post(`/locItem/check/task`, { siteNo: sta, items: items });
if (code === 200) {
notify(msg);
refresh()
@@ -221,14 +221,15 @@
type: 'number',
width: 100,
editable: false,
+ valueFormatter: (v) => formatQuantity(v),
},
- {
- field: 'workQty',
- headerName: translate('table.field.locItem.workQty'),
- width: 100,
- type: 'number',
- editable: false,
- },
+ // {
+ // field: 'workQty',
+ // headerName: translate('table.field.locItem.workQty'),
+ // width: 100,
+ // type: 'number',
+ // editable: false,
+ // },
{
field: 'matnrCode',
headerName: translate('table.field.locItem.matnrCode'),
@@ -335,7 +336,7 @@
}}
pageSizeOptions={[15, 25, 50, 100]}
editMode="row"
- checkboxSelection
+ checkboxSelection = {false}
onRowSelectionModelChange={handleSelectionChange}
selectionModel={selectedRows}
sx={{
--
Gitblit v1.9.1