Commit f12dec5b authored by krysent's avatar krysent

new

parent af55289a
...@@ -59,7 +59,7 @@ const Station = (props) => { ...@@ -59,7 +59,7 @@ const Station = (props) => {
search: false, search: false,
}, },
{ {
title: "批号", title: "批号",
dataIndex: "materieControlNo", dataIndex: "materieControlNo",
key: "materieControlNo", key: "materieControlNo",
}, },
......
...@@ -115,8 +115,8 @@ function Instore(props) { ...@@ -115,8 +115,8 @@ function Instore(props) {
}, },
{ {
title: "库存单位", title: "库存单位",
dataIndex: "productionUnit", dataIndex: "productionUnitName",
key: "productionUnit", key: "productionUnitName",
search: false, search: false,
}, },
{ {
......
...@@ -451,6 +451,7 @@ function Outstore(props) { ...@@ -451,6 +451,7 @@ function Outstore(props) {
), ),
dataIndex: "materieId", dataIndex: "materieId",
key: "materieId", key: "materieId",
width:250,
valueType: "select", valueType: "select",
fieldProps: { fieldProps: {
allowClear: true, allowClear: true,
......
...@@ -301,7 +301,7 @@ function Instore(props) { ...@@ -301,7 +301,7 @@ function Instore(props) {
dataIndex: "labelId", dataIndex: "labelId",
key: "labelId", key: "labelId",
valueType: "select", valueType: "select",
width: 220, width: 180,
request: async () => { request: async () => {
let res = await doFetch({ let res = await doFetch({
url: "/ngic-workmanship/wmsMaterieLabel/selectionByStatus", url: "/ngic-workmanship/wmsMaterieLabel/selectionByStatus",
...@@ -327,6 +327,7 @@ function Instore(props) { ...@@ -327,6 +327,7 @@ function Instore(props) {
), ),
dataIndex: "materieCode", dataIndex: "materieCode",
key: "materieCode", key: "materieCode",
width: 160,
valueType: "select", valueType: "select",
readonly: true, readonly: true,
}, },
...@@ -335,6 +336,7 @@ function Instore(props) { ...@@ -335,6 +336,7 @@ function Instore(props) {
dataIndex: "specificationModel", dataIndex: "specificationModel",
key: "specificationModel", key: "specificationModel",
readonly: true, readonly: true,
width: 140,
}, },
{ {
...@@ -933,12 +935,16 @@ function Instore(props) { ...@@ -933,12 +935,16 @@ function Instore(props) {
valueType: "select", valueType: "select",
options: [ options: [
{ {
label: "待上架", label: "待分配",
value: "0", value: "5",
}, },
{ {
label: "上架中", label: "待执行",
value: "1", value: "6",
},
{
label: "执行中",
value: "7",
}, },
], ],
}, },
...@@ -987,7 +993,7 @@ function Instore(props) { ...@@ -987,7 +993,7 @@ function Instore(props) {
}); });
}, },
}), }),
record.status == 0 &&
getPrem("equipmentCustomer_deleteById", action, "删除", null, { getPrem("equipmentCustomer_deleteById", action, "删除", null, {
title: "确认删除?", title: "确认删除?",
onConfirm: () => { onConfirm: () => {
......
...@@ -147,6 +147,7 @@ const defaultFields = { ...@@ -147,6 +147,7 @@ const defaultFields = {
dataIndex: "materieId", dataIndex: "materieId",
key: "materieId", key: "materieId",
valueType: "select", valueType: "select",
width: 160,
fieldProps: { fieldProps: {
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
...@@ -579,6 +580,7 @@ function Outstore(props) { ...@@ -579,6 +580,7 @@ function Outstore(props) {
width: "width", width: "width",
weight: "weight", weight: "weight",
holdNum: "holdNum", holdNum: "holdNum",
storePositionName: "storePositionName",
}, },
}, },
}, },
...@@ -593,6 +595,14 @@ function Outstore(props) { ...@@ -593,6 +595,14 @@ function Outstore(props) {
key: "materieCode", key: "materieCode",
valueType: "select", valueType: "select",
readonly: true, readonly: true,
width: 180,
renderFormItem: ({ entry }) => {
return (
<span>
{entry?.materieCode}-{entry?.materieName}
</span>
);
},
}, },
{ {
title: ( title: (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment