From b003a49794f49a329e2702918ecfc8d14b371d0d Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期三, 04 三月 2026 14:51:25 +0800
Subject: [PATCH] 云仓WMS接口流程
---
rsf-admin/src/page/orders/outStock/OutOrderList.jsx | 20 ++++++++------------
1 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/rsf-admin/src/page/orders/outStock/OutOrderList.jsx b/rsf-admin/src/page/orders/outStock/OutOrderList.jsx
index 873320e..6d23aa5 100644
--- a/rsf-admin/src/page/orders/outStock/OutOrderList.jsx
+++ b/rsf-admin/src/page/orders/outStock/OutOrderList.jsx
@@ -195,8 +195,8 @@
actions={(
<TopToolbar>
<FilterButton />
- <CreateByOrderButton setCreateDialog={setCreateDialog} />
- <MyCreateButton onClick={() => { setManualDialog(true); setmodalType(0) }} />
+ {/* <CreateByOrderButton setCreateDialog={setCreateDialog} /> 閫氳繃鍗曟嵁鍒涘缓鏆備笉浣跨敤 */}
+ {/* <MyCreateButton onClick={() => { setManualDialog(true); setmodalType(0) }} /> 娣诲姞鎸夐挳鏆備笉浣跨敤 */}
<SelectColumnsButton preferenceKey='outStock' />
<ImportButton value={'outStockItem'} />
</TopToolbar>
@@ -216,9 +216,9 @@
<TextField source="poCode" label="table.field.outStock.poCode" />
<TextField source="type$" label="table.field.outStock.type" />
<TextField cellClassName="wkType" source="wkType$" label="table.field.outStock.wkType" />
- <NumberField source="anfme" label="table.field.outStock.anfme" options={{ maximumFractionDigits: 6 }} />
- <NumberField source="workQty" label="table.field.outStock.workQty" options={{ maximumFractionDigits: 6 }} />
- <NumberField source="qty" label="table.field.outStock.qty" options={{ maximumFractionDigits: 6 }} />
+ <NumberField source="anfme" label="table.field.outStock.anfme" options={{ minimumFractionDigits: 2, maximumFractionDigits: 2 }} />
+ <NumberField source="workQty" label="table.field.outStock.workQty" options={{ minimumFractionDigits: 2, maximumFractionDigits: 2 }} />
+ <NumberField source="qty" label="table.field.outStock.qty" options={{ minimumFractionDigits: 2, maximumFractionDigits: 2 }} />
<TextField source="logisNo" label="table.field.outStock.logisNo" />
<TextField source="rleStatus$" label="table.field.outStock.rleStatus" sortable={false} />
<TextField source="updateBy$" label="common.field.updateBy" />
@@ -317,7 +317,7 @@
)
}
-/** 鍑哄簱鍗曟墽琛岀姸鎬侊細10=鍒濆鍖栵紙浠呮鐘舵�佹樉绀虹紪杈�/璇︽儏锛� */
+/** 鍑哄簱鍗曟墽琛岀姸鎬侊細10=鍒濆鍖栵紙浠呮鐘舵�佹樉绀虹紪杈戯級锛涜鎯呬换鎰忕姸鎬佸彲鏌ョ湅 */
const OUT_STOCK_EXCE_STATUS_INIT = 10;
const OutOrderRowActions = ({ setCreateDialog, setmodalType, setDrawerVal, drawerVal, setSelect }) => {
@@ -325,12 +325,8 @@
const isInit = record?.exceStatus === OUT_STOCK_EXCE_STATUS_INIT || record?.exceStatus === '10';
return (
<>
- {isInit && (
- <>
- <MyButton setCreateDialog={setCreateDialog} setmodalType={setmodalType} />
- <EditButton label="toolbar.detail" icon={(<DetailsIcon />)} />
- </>
- )}
+ {isInit && <MyButton setCreateDialog={setCreateDialog} setmodalType={setmodalType} />}
+ <EditButton label="toolbar.detail" icon={(<DetailsIcon />)} />
<PublicButton setDrawerVal={setDrawerVal} drawerVal={drawerVal} setSelect={setSelect} />
</>
);
--
Gitblit v1.9.1