Commit cce514ac authored by 邓超's avatar 邓超

fix: 修改二维配置无回显,编辑台账失效问题

parent d9f91cbb
Pipeline #37797 skipped with stages
...@@ -112,7 +112,7 @@ const CardData = props => { ...@@ -112,7 +112,7 @@ const CardData = props => {
schemename: item.schemename, schemename: item.schemename,
terminalType: "web", terminalType: "web",
isBaseMap: false, isBaseMap: false,
jsconCfg: JSON.stringify(jsConfig) jsonCfg: JSON.stringify(jsConfig)
} }
).then( ).then(
res => { res => {
......
...@@ -78,7 +78,7 @@ const AddModal = props => { ...@@ -78,7 +78,7 @@ const AddModal = props => {
let data = let data =
type == 'add' type == 'add'
? { ...obj, ...inputValue, Order: maxLength } ? { ...obj, ...inputValue, Order: maxLength }
: { ...obj, Order, ID: formObj.ID }; : { ...obj, ...inputValue, Order, ID: formObj.ID };
GetCMLedger_OperateLedger(data) GetCMLedger_OperateLedger(data)
.then(res => { .then(res => {
setLoading(false); setLoading(false);
...@@ -237,6 +237,7 @@ const AddModal = props => { ...@@ -237,6 +237,7 @@ const AddModal = props => {
const changeText = (e, type) => { const changeText = (e, type) => {
let inputText = { ...inputValue }; let inputText = { ...inputValue };
inputText[type] = e.target.value; inputText[type] = e.target.value;
console.log(inputText, '32555');
setInputVaule(inputText); setInputVaule(inputText);
}; };
const inputType = e => { const inputType = e => {
......
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