Commit 3e004033 authored by wuhao's avatar wuhao 🎯

asder

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