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
a3da76cb
Commit
a3da76cb
authored
Aug 05, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
5c726100
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
16 deletions
+28
-16
RecomBillDetail.vue
src/components/orderMan/RecomBillDetail.vue
+24
-12
RecommendBill.vue
src/components/orderMan/RecommendBill.vue
+4
-4
No files found.
src/components/orderMan/RecomBillDetail.vue
View file @
a3da76cb
...
...
@@ -2,6 +2,10 @@
<div
class=
"RecomBillDetail"
>
<div
class=
"head-title"
>
账单明细
<el-button
@
click=
"goBackList"
style=
"float:right;margin: -5px 0 0 5px;"
size=
"small"
type=
"primary"
>
返回
</el-button>
</div>
<div
class=
"content"
>
<div
class=
"Tongji_info"
>
...
...
@@ -19,17 +23,15 @@
</el-table-column>
<el-table-column
prop=
"GoodsName"
label=
"商品名称"
min-width=
"300"
>
</el-table-column>
<el-table-column
prop=
"SpecificationList"
label=
"商品规格"
width=
"
15
0"
>
<el-table-column
prop=
"SpecificationList"
label=
"商品规格"
width=
"
20
0"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"(item,index) in scope.row.SpecificationList"
:key=
"index"
>
{{
item
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"ProductCode"
label=
"货号"
width=
"200"
>
</el-table-column>
<el-table-column
prop=
"Final_Price"
label=
"最终价格"
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"Number"
label=
"数量"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"Final_Price"
label=
"价格"
width=
"120"
>
</el-table-column>
<el-table-column
label=
"状态"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span
style=
"color:red;"
v-if=
"scope.row.OrderIntroduction.CommissionState==1"
>
未结算
</span>
...
...
@@ -60,6 +62,7 @@
},
methods
:
{
//获取数据
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"/api/user/GetRecommendOrdersBillDetailList"
,
this
.
msg
,
res
=>
{
...
...
@@ -71,6 +74,15 @@
}
})
},
//返回列表
goBackList
(){
this
.
$router
.
push
({
name
:
'RecommendBill'
,
query
:
{
blank
:
"y"
}
});
}
},
mounted
()
{
this
.
msg
.
BillId
=
this
.
$route
.
query
.
BillId
;
...
...
src/components/orderMan/RecommendBill.vue
View file @
a3da76cb
...
...
@@ -3,7 +3,7 @@
<template>
<div
class=
"head-title"
>
推荐账单
<el-button
@
click=
"choiceOrder=true,getUserId()"
style=
"float:right;margin: -5px 0 0 5px;"
size=
"small"
<el-button
@
click=
"choiceOrder=true,
UserMsg.Name='',
getUserId()"
style=
"float:right;margin: -5px 0 0 5px;"
size=
"small"
type=
"primary"
>
新增
</el-button>
...
...
@@ -90,7 +90,7 @@
<el-dialog
title=
"新增账单"
:visible
.
sync=
"choiceOrder"
width=
"1200px"
@
close=
'closeDialog'
>
<el-form
label-width=
"80px"
>
<el-form-item
label=
"用户"
style=
"display:inline-block;"
>
<el-select
size=
"small"
v-model=
"orderMsg.UserId"
:filter-method=
"ChangeListName"
filterable
<el-select
size=
"small"
v-model=
"orderMsg.UserId"
@
change=
"orderMsg.pageIndex=1,getOrderTable()"
:filter-method=
"ChangeListName"
filterable
placeholder=
"请选择"
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
v-for=
"item in searchUserTable"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
...
...
@@ -98,7 +98,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
"供应商"
style=
"display:inline-block;"
>
<el-select
class=
"w150"
v-model=
"orderMsg.SupplierId"
size=
"small"
placeholder=
"请选择"
>
<el-select
class=
"w150"
v-model=
"orderMsg.SupplierId"
@
change=
"orderMsg.pageIndex=1,getOrderTable()"
size=
"small"
placeholder=
"请选择"
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
v-for=
"item in options"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
...
...
@@ -132,8 +132,8 @@
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"Final_Price"
label=
"最终价格"
width=
"80"
></el-table-column>
<el-table-column
prop=
"Number"
label=
"数量"
width=
"70"
></el-table-column>
<el-table-column
prop=
"Final_Price"
label=
"价格"
width=
"80"
></el-table-column>
<el-table-column
prop=
"OrderIntroduction"
label=
"返佣信息"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<div>
姓名:
{{
scope
.
row
.
OrderIntroduction
.
Name
}}
</div>
...
...
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