Commit f9f7027d authored by krysent's avatar krysent

出库

parent 36f252db
......@@ -78,6 +78,7 @@ function Outstore(props) {
title: "任务单号",
dataIndex: "taskNo",
key: "taskNo",
search: false,
render: (dom, record) => {
return (
<a
......@@ -118,6 +119,7 @@ function Outstore(props) {
dataIndex: "materieName",
key: "materieName",
valueType: "select",
options: [
{
label: "生产领料出库",
......@@ -141,6 +143,7 @@ function Outstore(props) {
title: "规格型号",
dataIndex: "specificationModel",
key: "specificationModel",
search: false,
fieldProps: {
allowClear: true,
showSearch: true,
......@@ -165,11 +168,13 @@ function Outstore(props) {
title: "来源库位",
dataIndex: "sourceStorePositionName",
key: "sourceStorePositionName",
search: false,
},
{
title: "目标库位",
dataIndex: "targetStorePositionName",
key: "targetStorePositionName",
search: false,
},
{
title: "任务类型",
......@@ -204,12 +209,14 @@ function Outstore(props) {
title: "下发时间",
dataIndex: "distributeTime",
key: "distributeTime",
search: false,
},
{
title: "操作",
dataIndex: "options",
key: "options",
render:(text, record, _, action) => {
search: false,
render: (text, record, _, action) => {
return [
getPrem("equipmentCustomer_deleteById", action, "关单", null, {
title: "确认关单?",
......
......@@ -5,7 +5,7 @@ import EditTable from "@/components/EditTable";
import { useEffect, useState } from 'react'
import { useModel } from 'umi'
const EditUpload = ({ record, fid, storeId }) => {
const EditUpload = ({ record, fid, storeId ,formRef}) => {
const [value, setvalue] = useState({
[record.id]: record.downloadList
});
......@@ -595,7 +595,9 @@ const one = {
"key": "materieId",
"valueType": "select",
"request": async () => {
let res = await doFetch({ url: "/ngic-workmanship/pmMaterie/query/selectbox", params: {} })
let res = await doFetch({
url: "/ngic-workmanship/pmMaterie/selectboxByStoreId", params: {
} })
return res?.data?.dataList
},
"fieldProps": {
......
......@@ -149,6 +149,7 @@ function Outstore(props) {
dataIndex: "outstoreTypeName",
key: "outstoreType",
valueType: "select",
search: false,
options: [
{
label: "生产领料出库",
......@@ -171,6 +172,7 @@ function Outstore(props) {
{
title: "出库仓库",
dataIndex: "storeName",
search: false,
key: "storeId",
fieldProps: {
allowClear: true,
......@@ -194,18 +196,20 @@ function Outstore(props) {
{
title: "备注",
dataIndex: "remark",
search: false,
key: "remark",
search: false,
},
{
title: "创建人",
dataIndex: "createUserName",
key: "createUserName",
dataIndex: "applyUserName",
key: "applyUserName",
search: false,
},
{
title: "创建时间",
dataIndex: "createTime",
key: "createTime",
dataIndex: "applyTime",
key: "applyTimeList",
valueType: "dateRange",
formItemProps: {
name: "createTimeList",
......@@ -216,6 +220,7 @@ function Outstore(props) {
dataIndex: "statusName",
key: "status",
valueType: "select",
search: false,
options: [
{
label: "待下架",
......@@ -261,6 +266,7 @@ function Outstore(props) {
dataIndex: "outstoreTypeName",
key: "outstoreType",
valueType: "select",
search: false,
options: [
{
label: "生产领料出库",
......@@ -311,13 +317,15 @@ function Outstore(props) {
},
{
title: "创建人",
dataIndex: "createUserName",
key: "createUserName",
dataIndex: "applyUserName",
key: "applyUserName",
search: false,
},
{
title: "创建时间",
dataIndex: "createTime",
key: "createTime",
dataIndex: "applyTime",
key: "applyTimeList",
search: false,
valueType: "dateRange",
formItemProps: {
name: "createTimeList",
......@@ -336,6 +344,7 @@ function Outstore(props) {
title: "状态",
dataIndex: "statusName",
key: "status",
search: false,
valueType: "select",
options: [
{
......@@ -497,6 +506,9 @@ function Outstore(props) {
};
},
valueType: "digit",
fieldProps: {
precision: 3,
},
editable: true,
},
{
......
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