Commit a0a23013 authored by rainbowmorel@163.com's avatar rainbowmorel@163.com

logisticsCompanyInt to logisticsCompany

和延迟处理 go.back(-1)
parent 995099d1
......@@ -85,7 +85,10 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
service.setTableData(tableDataSource);
service.submit().then(res => {
if (res.code === 1000) {
history.go(-1)
handleLeave(false)
setTimeout(() => {
history.go(-1)
}, 1000);
}
});
......
......@@ -67,7 +67,9 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
service.submit().then(res => {
if (res.code === 1000) {
handleLeave(false)
history.go(-1)
setTimeout(() => {
history.go(-1)
}, 1000);
}
});
......
......@@ -85,7 +85,9 @@ const DeliveryNoticeManageSRMEdit: React.FC = () => {
service.submit().then(res => {
if (res.code === 1000) {
handleLeave(false)
history.go(-1)
setTimeout(() => {
history.go(-1)
}, 1000);
}
});
......
......@@ -70,7 +70,9 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
service.setTableData(tableDataSource);
service.submit().then(res => {
if (res.code === 1000) {
history.go(-1)
setTimeout(() => {
history.go(-1)
}, 1000);
}
});
......
......@@ -86,7 +86,9 @@ const DeliveryNoticeManageSRMEdit: React.FC = () => {
service.submit().then(res => {
if (res.code === 1000) {
handleLeave(false)
history.go(-1)
setTimeout(() => {
history.go(-1)
}, 1000);
}
});
}
......
......@@ -98,7 +98,9 @@ function DeliveryNoticeFromCreate() {
service.getForomService().submit().then(res => {
if (res.code === 1000) {
handleAnchor(false)
history.go(-1)
setTimeout(() => {
history.go(-1)
}, 1000);
}
});
......
......@@ -66,6 +66,7 @@ function DeliveryNoteAddForm() {
service.getDetailById(id).then(res => {
const target = noteService.formatField(res);
form.setFieldsValue({
deliveryOrderId: id,
...target
......@@ -85,7 +86,9 @@ function DeliveryNoteAddForm() {
service.submit().then(res => {
if (res.code == 1000) {
handleLeave(false)
history.go(-1)
setTimeout(() => {
history.go(-1)
}, 1000);
}
})
}
......@@ -221,7 +224,7 @@ function DeliveryNoteAddForm() {
{info?.executorVO?.carNumbers}
</FormItem>
<FormItem label={LogisticsCompanyLabel} >
{info?.LogisticsCompanyInt?.label}
{info?.logisticsCompany}
</FormItem>
<FormItem
rules={[
......
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