Commit 16a04d58 authored by 郭志伟's avatar 郭志伟

Merge branch 'feature/wph' into 'master'

Feature/wph

See merge request !24
parents 47ae77fa e0be4d96
...@@ -54,6 +54,12 @@ export default () => { ...@@ -54,6 +54,12 @@ export default () => {
setSelectedRow(detailData); setSelectedRow(detailData);
}; };
const columns = [ const columns = [
{
title: '售后状态',
dataIndex: 'serviceStatus',
hideInSearch: true,
width: 100,
},
...columnSticData, ...columnSticData,
{ {
title: '售后凭证', title: '售后凭证',
...@@ -75,12 +81,6 @@ export default () => { ...@@ -75,12 +81,6 @@ export default () => {
return <div>未申诉</div>; return <div>未申诉</div>;
}, },
}, },
{
title: '售后状态',
dataIndex: 'serviceStatus',
hideInSearch: true,
width: 100,
},
{ {
title: '操作', title: '操作',
hideInSearch: true, hideInSearch: true,
......
import React from 'react'; import React from 'react';
import { Modal, Form, Input, Cascader, notification } from 'antd'; import { Modal, Form, Input, Cascader, notification, InputNumber } from 'antd';
import { shopAudit } from '../services'; import { shopAudit } from '../services';
const FormItem = Form.Item; const FormItem = Form.Item;
...@@ -137,8 +137,12 @@ const AuditModal = props => { ...@@ -137,8 +137,12 @@ const AuditModal = props => {
{getFieldDecorator('receiverPhone', { {getFieldDecorator('receiverPhone', {
initialValue: formData.phone, initialValue: formData.phone,
rules: [ rules: [
// {
// pattern: new RegExp(/^1[3456789]\d{9}$/, 'g'),
// message: '手机号码格式不正确!',
// },
{ {
pattern: new RegExp(/^1[3456789]\d{9}$/, 'g'), pattern: new RegExp(/^[0-9]*$/),
message: '手机号码格式不正确!', message: '手机号码格式不正确!',
}, },
{ {
......
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