Commit f78c7d70 authored by 左玲玲's avatar 左玲玲 😬

1605

parent 36e15889
......@@ -79,11 +79,8 @@ const EditTable = ({
parames[it] = params[it]
}
})
if (ifs) {
//值未变化
} else {
let res = await database(parames);
newvalue = newvalue.map((it, i) => {
......@@ -92,6 +89,7 @@ const EditTable = ({
let result = res?.data?.data ?? {}
it[items] = result[effectresult[items]];
})
}else{
}
editorFormRef.current?.setRowData?.(i, it)
return it
......
......@@ -338,6 +338,9 @@ table {
flex:1
}
}
.ant-input-number-affix-wrapper{
width: 100% !important;
}
@media all {
.page-break {
......
......@@ -177,7 +177,9 @@ const one = {
params: { "materieId": "linked" },
effectresult: {
"productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值
"productionUnitName": "productionUnitName"
"productionUnitName": "productionUnitName",
"materieControlNo": "materialCode",
"instroeNum": "instroeNum"
}
}
},
......@@ -216,6 +218,7 @@ const one = {
rules: [{ required: true, message: '此项为必填项' }],
};
},
valueType:"digit"
},
{
"title": "单位",
......@@ -312,7 +315,9 @@ const one = {
params: { "materieId": "linked" },
effectresult: {
"productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值
"productionUnitName": "productionUnitName"
"productionUnitName": "productionUnitName",
"materieControlNo": "materialCode",
"instroeNum": "instroeNum"
}
}
},
......@@ -351,6 +356,7 @@ const one = {
rules: [{ required: true, message: '此项为必填项' }],
};
},
valueType:"digit"
},
{
"title": "单位",
......@@ -431,7 +437,10 @@ const one = {
params: { "materieId": "linked" },
effectresult: {
"productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值
"productionUnitName": "productionUnitName"
"productionUnitName": "productionUnitName",
"materieControlNo": "materialCode",
"instroeNum": "instroeNum",
"supplierId": "supplierId"
}
}
},
......@@ -490,6 +499,7 @@ const one = {
rules: [{ required: true, message: '此项为必填项' }],
};
},
valueType:"digit"
},
{
"title": "单位",
......@@ -570,7 +580,10 @@ const one = {
params: { "materieId": "linked" },
effectresult: {
"productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值
"productionUnitName": "productionUnitName"
"productionUnitName": "productionUnitName",
"materieControlNo": "materialCode",
"instroeNum": "instroeNum",
"supplierId": "supplierId"
}
}
},
......@@ -629,6 +642,7 @@ const one = {
rules: [{ required: true, message: '此项为必填项' }],
};
},
valueType:"digit"
},
{
"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