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
b19cfc55
Commit
b19cfc55
authored
Oct 10, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into test
parents
34236e72
61061035
Hide 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 @
b19cfc55
export
const
APP_ID
=
'wx723baaa343083ca9'
;
// 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
{
APP_ID
,
...
...
src/containers/PublicCarDeal/index.js
View file @
b19cfc55
...
...
@@ -140,7 +140,7 @@ class PublicCarDeal extends Component {
return
false
;
}
if
(
value
===
2
)
{
if
(
!
carPlate
)
{
if
(
carPlate
===
'-1'
)
{
Toast
.
fail
(
'请选择派车!'
);
return
false
;
}
...
...
@@ -201,7 +201,7 @@ class PublicCarDeal extends Component {
};
render
()
{
const
{
selected
:
{
value
,
carPlate
,
dealOpinion
},
selected
:
{
value
,
dealOpinion
},
dealDialogVisible
,
carPlateList
,
}
=
this
.
state
;
...
...
@@ -279,9 +279,10 @@ class PublicCarDeal extends Component {
<
/div
>
<
select
className
=
{
styles
.
select
}
value
=
{
carPlate
}
onChange
=
{
this
.
onSelectHandle
}
defaultValue
=
"-1"
>
<
option
disabled
value
=
"-1"
/>
{
carPlateList
.
map
(
i
=>
(
<
option
key
=
{
i
.
value
}
value
=
{
i
.
lable
}
>
{
i
.
lable
}
...
...
src/containers/Repair/ReprtRepair.js
View file @
b19cfc55
...
...
@@ -137,11 +137,11 @@ class ReprtRepair extends Component {
Toast
.
fail
(
'请选择报修人身份!'
);
return
;
}
if
(
!
applyForm
.
area
)
{
if
(
!
applyForm
.
area
Id
)
{
Toast
.
fail
(
'请选择报修区域!'
);
return
;
}
if
(
!
applyForm
.
term
)
{
if
(
!
applyForm
.
term
Id
)
{
Toast
.
fail
(
'请选择报修项目!'
);
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