|
|
@@ -3,7 +3,6 @@ import {View, Text, Button, Picker} from '@tarojs/components';
|
|
|
import classNames from 'classnames';
|
|
|
import {TextGroup} from '@components';
|
|
|
import dayjs from 'dayjs';
|
|
|
-import {useState} from 'react';
|
|
|
import {useBoolean} from 'ahooks';
|
|
|
|
|
|
export default function Item({
|
|
|
@@ -20,6 +19,7 @@ export default function Item({
|
|
|
type,
|
|
|
onClear,
|
|
|
onEdit,
|
|
|
+ name,
|
|
|
}) {
|
|
|
const onClick = usePreview();
|
|
|
const {className, msg} = useOrderState(states, anomaly, {time: arrivalTime});
|
|
|
@@ -76,6 +76,7 @@ export default function Item({
|
|
|
<View className='mt-4'>
|
|
|
<TextGroup title='卡车号' content={truckNo} className='!py-0' />
|
|
|
<TextGroup title='客户编号' content={customer} className='!py-0 mt-2' />
|
|
|
+ <TextGroup title='客户名称' content={name} className='!py-0 mt-2' />
|
|
|
<TextGroup
|
|
|
title='发货时间'
|
|
|
content={dayjs(scrq).format('YYYY-MM-DD')}
|