Commit cb70dbea authored by krysent's avatar krysent

new

parent b5ef4290
......@@ -5,7 +5,7 @@ import { Tooltip } from "antd";
import { doFetch } from "@/utils/doFetch";
import { useAsyncEffect } from "ahooks";
import bodyParse from "@/utils/bodyParse";
import { history } from "umi";
const Mtable = (props) => {
const {
actionRef, //表格动作
......@@ -185,6 +185,7 @@ const Mtable = (props) => {
//调用重新渲染表格
useAsyncEffect(async () => {
console.log(history?.location?.pathname);
await initDrage();
}, [columns, extraparams, path, activeTabKey, refreshDep]);
......
......@@ -439,9 +439,12 @@ const Materiel = (props) => {
) {
defaultFields[i].required = false;
}
// if (i == "issueType") {
// defaultFields[i].value = 1;
// }
if (i == "materieControl") {
defaultFields[i].value = 1;
}
if (i == "issueType") {
defaultFields[i].value = 2;
}
if (i == "materieTypeId") {
defaultFields[i].value =
materieTypeId == "00000000" ? null : materieTypeId;
......
......@@ -229,9 +229,6 @@ const Materiel = (props) => {
valueType:'select',
options: {
database: storeselectionBoxAll,
params: {
factoryId: "linked",
},
},
},
{
......
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