Commit 3e004033 authored by wuhao's avatar wuhao 🎯

asder

parent 387701f5
......@@ -13,7 +13,7 @@ export default {
dev: {
[defaultSetting.proxypath]: {
// 要代理的地址
target: 'http://192.168.40.64:28000', //jf哥
target: 'http://192.168.40.203:8000', //jf哥
// target: 'http://192.168.40.64:28000', //gc哥
// target: 'http://192.168.40.203:8000', //dj哥
changeOrigin: true,
......
......@@ -262,7 +262,7 @@ let Diyrule = (props) => {
other: other,
});
}}
></Input>
/>
</div>
</Col>
);
......@@ -321,7 +321,7 @@ let Diyrule = (props) => {
other: other,
});
}}
></Input>
/>
</div>
</Col>
);
......@@ -434,7 +434,7 @@ let Diyrule = (props) => {
</a>
</Col>
<Col span={24}>{renderDom(it, 'last')}</Col>
<Divider></Divider>
<Divider />
</Row>
);
})}
......@@ -510,7 +510,7 @@ let Diyrule = (props) => {
},
});
}}
></InputNumber>
/>
</Col>
<Col span={4}>
......@@ -531,7 +531,7 @@ let Diyrule = (props) => {
},
});
}}
></Select>
/>
</Col>
</Row>
</div>
......
......@@ -153,9 +153,18 @@ function InitForm(props) {
}),
}
: {};
let result = res?.data?.data;
if (result?.nrList) {
result.nrList = result?.nrList?.map((it) => {
it.sort = it.sort - 1;
return it;
});
}
return {
...defaultFormValue,
...(res?.data?.data ?? {}),
...(result ?? {}),
...relationSupplierList,
};
} else {
......
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