Commit e8c269ba authored by 前端-许佳敏's avatar 前端-许佳敏

Merge branch 'v2-220418' of…

Merge branch 'v2-220418' of ssh://gitlab.shushangyun.com:8122/linkseeks-design/pro-platform into v2-220418
parents 7a41a347 8dfe6a0c
...@@ -77,5 +77,5 @@ export const AlreadyDeliveryNoteGenerated = intl.formatMessage({id: 'order.yishe ...@@ -77,5 +77,5 @@ export const AlreadyDeliveryNoteGenerated = intl.formatMessage({id: 'order.yishe
export const Deliverylimit = intl.formatMessage({id: 'order.songhuoshuliangbunengdayu',defaultMessage: '送货数量不能大于待送货数量'}) export const Deliverylimit = intl.formatMessage({id: 'order.songhuoshuliangbunengdayu',defaultMessage: '送货数量不能大于待送货数量'})
export const PlearInput = '请输入'
...@@ -80,7 +80,6 @@ const DeliveryNoticeManageSRMEdit: React.FC = () => { ...@@ -80,7 +80,6 @@ const DeliveryNoticeManageSRMEdit: React.FC = () => {
title: "提示", title: "提示",
content: "确认送货单资料填写是否正确,提交后不能再撤回!", content: "确认送货单资料填写是否正确,提交后不能再撤回!",
onOk: () => { onOk: () => {
service.setTableData(tableDataSource); service.setTableData(tableDataSource);
service.submit().then(res => { service.submit().then(res => {
if (res.code === 1000) { if (res.code === 1000) {
......
...@@ -99,7 +99,7 @@ const DeliveryNoteManageDetails: React.FC = () => { ...@@ -99,7 +99,7 @@ const DeliveryNoteManageDetails: React.FC = () => {
{info?.receiveTime} {info?.receiveTime}
</ListInfoItem> </ListInfoItem>
<ListInfoItem className="mt-16" label='收货人'> <ListInfoItem className="mt-16" label='收货人'>
{info?.receiverBO?.consignee} {info?.receiverBO?.consignee}
</ListInfoItem> </ListInfoItem>
<ListInfoItem className="mt-16" label='收货电话'> <ListInfoItem className="mt-16" label='收货电话'>
......
...@@ -6,9 +6,9 @@ import { ...@@ -6,9 +6,9 @@ import {
ReceiptAddLabel, NoteLabel, DeliveryTimeLabel, ReceiptAddLabel, NoteLabel, DeliveryTimeLabel,
ConsigneeTimeLabel, LogisticsCompanyLabel, LogisticsCarNoLabel, LogisticsNoLabel, ConsigneeTimeLabel, LogisticsCompanyLabel, LogisticsCarNoLabel, LogisticsNoLabel,
DeliveryAbstractLabel, BuyerLabel, DeliveryDateLabel, DeliveryNameLabel, DeliveryAbstractLabel, BuyerLabel, DeliveryDateLabel, DeliveryNameLabel,
DeliveryPhoneLabel, ReceivingAddress, DeliveryTypeLabel, DeliveryNoLabel, ExternalRoamRecord, DeliverySlefAddrLabel, DeliveryDate, ReceivingTime, ConsigneeLabel, ConsigneePhoneLabel DeliveryPhoneLabel, ReceivingAddress, DeliveryTypeLabel, DeliveryNoLabel, ExternalRoamRecord, DeliverySlefAddrLabel, DeliveryDate, ReceivingTime, ConsigneeLabel, ConsigneePhoneLabel, PlearInput
} from '../../constants' } from '../../constants'
import { Button, Form, Input, message, Radio, Table } from 'antd' import { Button, Form, Input, message, Modal, Radio, Table } from 'antd'
import { FormItem, required } from '@/components/FormItem' import { FormItem, required } from '@/components/FormItem'
import { DeliveryNoticeTableColumn, DeliveryNoticeTableColumnSRM, ExternalRoamRecordTableColumn } from "../../constants/page-table-column" import { DeliveryNoticeTableColumn, DeliveryNoticeTableColumnSRM, ExternalRoamRecordTableColumn } from "../../constants/page-table-column"
import { HarvestMaterialContextProvider, HarvestMaterialInput } from '../../assets/context' import { HarvestMaterialContextProvider, HarvestMaterialInput } from '../../assets/context'
...@@ -68,6 +68,8 @@ function DeliveryNoteAddForm() { ...@@ -68,6 +68,8 @@ function DeliveryNoteAddForm() {
"executorVO.phone": res?.executorVO?.phone, "executorVO.phone": res?.executorVO?.phone,
"executorVO.consignee": res?.executorVO?.consignee, "executorVO.consignee": res?.executorVO?.consignee,
"executorVO.carNumbers": res?.executorVO?.carNumbers, "executorVO.carNumbers": res?.executorVO?.carNumbers,
"receiveVO.phone": res?.receiveVO?.phone,
"receiveVO.consignee": res?.receiveVO?.consignee,
logisticsCompanyInt: { logisticsCompanyInt: {
label: res?.logisticsCompany, label: res?.logisticsCompany,
value: res?.logisticsCompanyId value: res?.logisticsCompanyId
...@@ -87,12 +89,20 @@ function DeliveryNoteAddForm() { ...@@ -87,12 +89,20 @@ function DeliveryNoteAddForm() {
function handleSubmit() { function handleSubmit() {
Modal.confirm({
title: "提示",
content: "确认送货单资料填写是否正确,提交后不能再撤回!",
onOk: () => {
service.setTableData(tableDataSource);
service.submit().then(res => { service.submit().then(res => {
if (res.code == 1000) { if (res.code === 1000) {
message.success(res.message) handleLeave(false)
setTimeout(() => {
history.go(-1) history.go(-1)
} else { }, 1000);
message.error(res.message) }
});
} }
}) })
} }
...@@ -126,7 +136,7 @@ function DeliveryNoteAddForm() { ...@@ -126,7 +136,7 @@ function DeliveryNoteAddForm() {
required() required()
]} ]}
label={DeliveryNoLabel} name="deliveryNo"> label={DeliveryNoLabel} name="deliveryNo">
<Input disabled={true} /> <Input disabled={true} placeholder={`${PlearInput}${DeliveryNoLabel}`}/>
</FormItem> </FormItem>
<FormItem <FormItem
...@@ -134,7 +144,7 @@ function DeliveryNoteAddForm() { ...@@ -134,7 +144,7 @@ function DeliveryNoteAddForm() {
required() required()
]} ]}
label={DeliveryAbstractLabel} name="digest"> label={DeliveryAbstractLabel} name="digest">
<Input disabled={true} /> <Input disabled={true} placeholder={`${PlearInput}${DeliveryAbstractLabel}`} />
</FormItem> </FormItem>
<FormItem <FormItem
...@@ -155,7 +165,7 @@ function DeliveryNoteAddForm() { ...@@ -155,7 +165,7 @@ function DeliveryNoteAddForm() {
</FormItem> </FormItem>
<FormItem label={NoteLabel} name="remark"> <FormItem label={NoteLabel} name="remark">
<Input /> <Input placeholder={`${PlearInput}${NoteLabel}`} />
</FormItem> </FormItem>
</ContentBox> </ContentBox>
...@@ -179,7 +189,7 @@ function DeliveryNoteAddForm() { ...@@ -179,7 +189,7 @@ function DeliveryNoteAddForm() {
} }
]} ]}
label={ConsigneeLabel} name="receiveVO.consignee"> label={ConsigneeLabel} name="receiveVO.consignee">
<Input /> <Input placeholder={`${PlearInput}${ConsigneeLabel}`} />
</FormItem> </FormItem>
<FormItem <FormItem
rules={[ rules={[
...@@ -188,6 +198,7 @@ function DeliveryNoteAddForm() { ...@@ -188,6 +198,7 @@ function DeliveryNoteAddForm() {
label={ReceivingAddress} name="receiveVO"> label={ReceivingAddress} name="receiveVO">
<ReceiverAddress <ReceiverAddress
disabled={true} disabled={true}
hiddenBtn
/> />
</FormItem> </FormItem>
...@@ -199,7 +210,7 @@ function DeliveryNoteAddForm() { ...@@ -199,7 +210,7 @@ function DeliveryNoteAddForm() {
} }
]} ]}
label={ConsigneePhoneLabel} name="receiveVO.phone"> label={ConsigneePhoneLabel} name="receiveVO.phone">
<Input /> <Input placeholder={`${PlearInput}${ConsigneePhoneLabel}`} />
</FormItem> </FormItem>
...@@ -238,7 +249,7 @@ function DeliveryNoteAddForm() { ...@@ -238,7 +249,7 @@ function DeliveryNoteAddForm() {
</FormItem> </FormItem>
<FormItem label={LogisticsCarNoLabel} name="executorVO.carNumbers"> <FormItem label={LogisticsCarNoLabel} name="executorVO.carNumbers">
<Input /> <Input placeholder={`${PlearInput}${LogisticsCarNoLabel}`} />
</FormItem> </FormItem>
<FormItem label={LogisticsCompanyLabel} name="logisticsCompanyInt"> <FormItem label={LogisticsCompanyLabel} name="logisticsCompanyInt">
<LogisticsCompanyMerchantsSelect /> <LogisticsCompanyMerchantsSelect />
...@@ -250,7 +261,7 @@ function DeliveryNoteAddForm() { ...@@ -250,7 +261,7 @@ function DeliveryNoteAddForm() {
} }
]} ]}
name="logisticsNo"> name="logisticsNo">
<Input maxLength={20} /> <Input maxLength={20} placeholder={`${PlearInput}${LogisticsNoLabel}`} />
</FormItem> </FormItem>
</ContentBox> </ContentBox>
......
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