Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdsf-wx-app
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
cdsf-wx-app
Commits
61061035
Commit
61061035
authored
Oct 10, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改报修校验报修区域
parent
84b9343c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
index.js
src/config/index.js
+1
-1
index.js
src/containers/PublicCarDeal/index.js
+4
-3
ReprtRepair.js
src/containers/Repair/ReprtRepair.js
+2
-2
No files found.
src/config/index.js
View file @
61061035
export
const
APP_ID
=
'wx723baaa343083ca9'
;
export
const
APP_ID
=
'wx723baaa343083ca9'
;
// export const SERVER_URL = 'http://ex-dev-gx-manager.168cad.top';
// export const SERVER_URL = 'http://ex-dev-gx-manager.168cad.top';
export
const
SERVER_URL
=
'http://
192.168.1.33:8888
'
;
export
const
SERVER_URL
=
'http://
ex-logistics-service-manager.168cad.top
'
;
export
default
{
export
default
{
APP_ID
,
APP_ID
,
...
...
src/containers/PublicCarDeal/index.js
View file @
61061035
...
@@ -140,7 +140,7 @@ class PublicCarDeal extends Component {
...
@@ -140,7 +140,7 @@ class PublicCarDeal extends Component {
return
false
;
return
false
;
}
}
if
(
value
===
2
)
{
if
(
value
===
2
)
{
if
(
!
carPlate
)
{
if
(
carPlate
===
'-1'
)
{
Toast
.
fail
(
'请选择派车!'
);
Toast
.
fail
(
'请选择派车!'
);
return
false
;
return
false
;
}
}
...
@@ -201,7 +201,7 @@ class PublicCarDeal extends Component {
...
@@ -201,7 +201,7 @@ class PublicCarDeal extends Component {
};
};
render
()
{
render
()
{
const
{
const
{
selected
:
{
value
,
carPlate
,
dealOpinion
},
selected
:
{
value
,
dealOpinion
},
dealDialogVisible
,
dealDialogVisible
,
carPlateList
,
carPlateList
,
}
=
this
.
state
;
}
=
this
.
state
;
...
@@ -279,9 +279,10 @@ class PublicCarDeal extends Component {
...
@@ -279,9 +279,10 @@ class PublicCarDeal extends Component {
<
/div
>
<
/div
>
<
select
<
select
className
=
{
styles
.
select
}
className
=
{
styles
.
select
}
value
=
{
carPlate
}
onChange
=
{
this
.
onSelectHandle
}
onChange
=
{
this
.
onSelectHandle
}
defaultValue
=
"-1"
>
>
<
option
disabled
value
=
"-1"
/>
{
carPlateList
.
map
(
i
=>
(
{
carPlateList
.
map
(
i
=>
(
<
option
key
=
{
i
.
value
}
value
=
{
i
.
lable
}
>
<
option
key
=
{
i
.
value
}
value
=
{
i
.
lable
}
>
{
i
.
lable
}
{
i
.
lable
}
...
...
src/containers/Repair/ReprtRepair.js
View file @
61061035
...
@@ -137,11 +137,11 @@ class ReprtRepair extends Component {
...
@@ -137,11 +137,11 @@ class ReprtRepair extends Component {
Toast
.
fail
(
'请选择报修人身份!'
);
Toast
.
fail
(
'请选择报修人身份!'
);
return
;
return
;
}
}
if
(
!
applyForm
.
area
)
{
if
(
!
applyForm
.
area
Id
)
{
Toast
.
fail
(
'请选择报修区域!'
);
Toast
.
fail
(
'请选择报修区域!'
);
return
;
return
;
}
}
if
(
!
applyForm
.
term
)
{
if
(
!
applyForm
.
term
Id
)
{
Toast
.
fail
(
'请选择报修项目!'
);
Toast
.
fail
(
'请选择报修项目!'
);
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment