Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
13c82afc
Commit
13c82afc
authored
Mar 15, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
eb29c4bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
orderList.vue
src/components/coffeeManage/orderList.vue
+15
-2
No files found.
src/components/coffeeManage/orderList.vue
View file @
13c82afc
...
@@ -192,7 +192,7 @@
...
@@ -192,7 +192,7 @@
<el-tag
v-if=
"item.OrderStatus == 7"
style=
"margin-left: 5px"
size=
"small"
type=
"danger"
>
已取消
</el-tag>
<el-tag
v-if=
"item.OrderStatus == 7"
style=
"margin-left: 5px"
size=
"small"
type=
"danger"
>
已取消
</el-tag>
</div>
</div>
<el-button
type=
"primary"
plain
style=
"margin-left:50px;padding:8px 10px "
size=
"mini"
<el-button
type=
"primary"
plain
style=
"margin-left:50px;padding:8px 10px "
size=
"mini"
@
click=
"yunfeizhidan(item.OrderId)"
>
运费一键制单
</el-button>
@
click=
"yunfeizhidan(item.OrderId)"
v-if=
"isShowzhidan(item)"
>
运费一键制单
</el-button>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"强制取消"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"强制取消"
placement=
"top-start"
>
<img
v-if=
"item.OrderStatus == 1 || item.OrderStatus == 2"
@
click=
"OrderExit2(item)"
<img
v-if=
"item.OrderStatus == 1 || item.OrderStatus == 2"
@
click=
"OrderExit2(item)"
style=
"right: 60px"
class=
"app-order-btnimg"
src=
"../../assets/img/userman/force.png"
alt=
""
/>
style=
"right: 60px"
class=
"app-order-btnimg"
src=
"../../assets/img/userman/force.png"
alt=
""
/>
...
@@ -1892,7 +1892,7 @@
...
@@ -1892,7 +1892,7 @@
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
that
.
i_post
(
"/api/
Supplier/GetSupplierAllList
"
,
{
that
.
i_post
(
"/api/
order/SetEduGoodsFreightCostFinance
"
,
{
OrderId
:
id
OrderId
:
id
},
(
res
)
=>
{
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
@@ -1905,6 +1905,19 @@
...
@@ -1905,6 +1905,19 @@
}
}
});
});
})
})
},
isShowzhidan
(
item
){
const
flag
=
item
.
DetailList
.
some
(
e
=>
{
return
e
.
CostFinanceId
==
0
&&
e
.
FreightCostMoney
>
0
})
console
.
log
(
1910
,
flag
)
if
(
item
.
FreightMoney
>
0
&&
flag
){
return
true
}
else
{
return
false
}
}
}
},
},
};
};
...
...
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