Commit 912bdf58 authored by wuhao's avatar wuhao 🎯

we34

parent 406ebf91
...@@ -273,29 +273,31 @@ const Mtable = (props) => { ...@@ -273,29 +273,31 @@ const Mtable = (props) => {
columnsState={{ columnsState={{
value: valueColumns, value: valueColumns,
onChange: (val, state) => { onChange: (val, state) => {
let submitdata = { setcolumnes((s) => {
...valueColumns, let submitdata = {
...val, ...s,
}; ...val,
setcolumnes(submitdata); };
doFetch({ doFetch({
url: "/ngic-base-business/paFieldScene/save", url: "/ngic-base-business/paFieldScene/save",
params: { params: {
sceneMark: extraparams sceneMark: extraparams
? path + bodyParse(extraparams) ? path + bodyParse(extraparams)
: activeTabKey : activeTabKey
? path + activeTabKey ? path + activeTabKey
: path, : path,
controList: Object.keys(submitdata).map((it) => { controList: Object.keys(submitdata).map((it) => {
return { return {
fieldKey: it, fieldKey: it,
fieldWidth: submitdata[it].width, fieldWidth: submitdata[it].width,
fieldOrder: submitdata[it].order, fieldOrder: submitdata[it].order,
fieldFixed: submitdata[it].fixed, fieldFixed: submitdata[it].fixed,
fieldShow: submitdata[it].show, fieldShow: submitdata[it].show,
}; };
}), }),
}, },
});
return submitdata;
}); });
}, },
}} }}
......
...@@ -62,7 +62,7 @@ function Instore(props) { ...@@ -62,7 +62,7 @@ function Instore(props) {
{ {
title: "出库仓库", title: "出库仓库",
dataIndex: "storeName", dataIndex: "storeName",
key: "storeName", key: "storeId",
fieldProps: { fieldProps: {
allowClear: true, allowClear: true,
showSearch: true, showSearch: 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