Commit 9c7ea26877e1e471e8b1c759004e69f4c31794b7

Authored by boyang
2 parents 32dbf89c 01578991

Merge branch 'warning' of http://39.108.227.113:8001/zhusen/canrd-erp-front into warning

src/pages/Order/Order/components/CheckModal.tsx
... ... @@ -236,8 +236,8 @@ export default ({
236 236 setPreviewOpen(true);
237 237 setPreviewTitle(
238 238 file.name ||
239   - file.originFileObj?.name ||
240   - file.url!.substring(file.url!.lastIndexOf('/') + 1),
  239 + file.originFileObj?.name ||
  240 + file.url!.substring(file.url!.lastIndexOf('/') + 1),
241 241 );
242 242 };
243 243  
... ... @@ -681,6 +681,12 @@ export default ({
681 681 width="md"
682 682 name="bankStatementSerialNumbersText"
683 683 label="流水号"
  684 + rules={[
  685 + {
  686 + required: true,
  687 + message: '请输入流水号!',
  688 + },
  689 + ]}
684 690 placeholder={'多个流水号用逗号隔开'}
685 691 />
686 692 <div className="pb-4 text-xs decoration-gray-50">
... ...
src/pages/Order/Order/index.tsx
... ... @@ -1199,11 +1199,13 @@ const OrderPage = () =&gt; {
1199 1199 </div>
1200 1200  
1201 1201 {/* 确认发票状态 */}
1202   - <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">
1203   - <Tag color={'success'} style={{ marginRight: '4px' }}>
1204   - {optRecord.invoiceConfirmStatusText}
1205   - </Tag>
1206   - </div>
  1202 + {optRecord.invoiceConfirmStatusText !== null && (
  1203 + <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">
  1204 + <Tag color={'success'} style={{ marginRight: '4px' }}>
  1205 + {optRecord.invoiceConfirmStatusText}
  1206 + </Tag>
  1207 + </div>
  1208 + )}
1207 1209  
1208 1210 {/* 后置审核状态 */}
1209 1211 {optRecord.postAuditStatus !== null ? (
... ...
src/pages/Order/constant.ts
... ... @@ -550,7 +550,7 @@ export const MAIN_ORDER_COLUMNS = [
550 550 hideInTable: true,
551 551 valueEnum: {
552 552 invoiceConfirmWarning: {
553   - text: '待开票预警',
  553 + text: '待确认开票预警',
554 554 status: 'invoiceConfirmWarning',
555 555 },
556 556 paymentReceiptStatusWarning: {
... ...