Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewTruckTerminalSyetem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
SQL_Mou
NewTruckTerminalSyetem
Commits
04164bcd
Commit
04164bcd
authored
Nov 23, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除订单接口添加odd
parent
2935e2ec
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
13 deletions
+29
-13
index.vue
src/views/MLargeScreen/components/personalCenter/index.vue
+2
-2
index.vue
...ews/MLargeScreen/components/startOrderReceiving/index.vue
+24
-8
index.vue
src/views/MLargeScreen/index.vue
+3
-3
No files found.
src/views/MLargeScreen/components/personalCenter/index.vue
View file @
04164bcd
...
...
@@ -159,7 +159,7 @@ export default {
//删除调度单子
httpGet
(
dingDanBiaoCaoZuo
,{
carNo
:
this
.
carnumber
}).
then
((
res3Del
)
=>
{
if
(
res3Del
.
code
==
200
&&
res3Del
.
data
.
content
.
length
!=
0
){
httpDelForJson
(
dingDanBiaoCaoZuo
,[
res3Del
.
data
.
content
[
0
].
id
,
this
.
carnumber
]).
then
((
res3DelSon
)
=>
{
httpDelForJson
(
dingDanBiaoCaoZuo
,[
res3Del
.
data
.
content
[
0
].
id
,
this
.
carnumber
,
res3Del
.
data
.
content
[
0
].
odd
]).
then
((
res3DelSon
)
=>
{
this
.
logout
();
});
}
else
{
...
...
@@ -259,7 +259,7 @@ export default {
//删除调度单子
httpGet
(
dingDanBiaoCaoZuo
,{
carNo
:
this
.
carnumber
}).
then
((
res3Del
)
=>
{
if
(
res3Del
.
code
==
200
&&
res3Del
.
data
.
content
.
length
!=
0
){
httpDelForJson
(
dingDanBiaoCaoZuo
,[
res3Del
.
data
.
content
[
0
].
id
,
this
.
carnumber
]).
then
((
res3DelSon
)
=>
{});
httpDelForJson
(
dingDanBiaoCaoZuo
,[
res3Del
.
data
.
content
[
0
].
id
,
this
.
carnumber
,
res3Del
.
data
.
content
[
0
].
odd
]).
then
((
res3DelSon
)
=>
{});
}
})
}
...
...
src/views/MLargeScreen/components/startOrderReceiving/index.vue
View file @
04164bcd
This diff is collapsed.
Click to expand it.
src/views/MLargeScreen/index.vue
View file @
04164bcd
...
...
@@ -73,7 +73,7 @@
<div
class=
"waitingtrucksView_content"
>
<div
v-for=
"(item,index) in daizhangCar"
:key=
"index"
>
<div>
车牌号:
{{
item
.
number
}}
</div>
<button
class=
"daizhangCarBtn1"
:disabled=
"interdictBtn || (item.weightStatus != 2)"
@
click=
"wanchengzhuangcheFn(item.number,item.id)"
>
完成装车
</button>
<button
class=
"daizhangCarBtn1"
:disabled=
"interdictBtn || (item.weightStatus != 2)"
@
click=
"wanchengzhuangcheFn(item.number,item.id
,item.odd
)"
>
完成装车
</button>
</div>
</div>
</div>
...
...
@@ -491,7 +491,7 @@ export default {
}
},
//完成装车
wanchengzhuangcheFn
(
number
,
id
){
wanchengzhuangcheFn
(
number
,
id
,
odd
){
this
.
interdictBtn
=
true
;
//改订单状态
httpGet
(
manualSchedulingQuery
,{
sort
:
'
createTime,desc
'
,
size
:
1
,
carNo
:
number
}).
then
((
res
)
=>
{
...
...
@@ -527,7 +527,7 @@ export default {
if
(
res
.
code
==
200
){}
});
//删除
httpDelForJson
(
dingDanBiaoCaoZuo
,[
id
,
this
.
carnumber
]).
then
((
res
)
=>
{
httpDelForJson
(
dingDanBiaoCaoZuo
,[
id
,
this
.
carnumber
,
odd
]).
then
((
res
)
=>
{
this
.
loadData1
();
});
},
...
...
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