Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
c068dea2
Commit
c068dea2
authored
May 12, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
61681048
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
127 additions
and
14 deletions
+127
-14
orderDetailsDrawer.vue
src/components/customerManage/orderDetailsDrawer.vue
+1
-1
orderList.vue
src/components/customerManage/orderList.vue
+4
-2
orderProfits.vue
src/components/customerManage/orderProfits.vue
+72
-6
Agreement.vue
src/components/guestManagement/Agreement.vue
+50
-5
No files found.
src/components/customerManage/orderDetailsDrawer.vue
View file @
c068dea2
...
...
@@ -113,7 +113,7 @@
<productDetails
:detailsData=
"detailsData"
></productDetails>
</el-tab-pane>
<el-tab-pane
label=
"订单核算"
name=
"2"
>
<orderProfits
:orderId=
"orderId"
></orderProfits>
<orderProfits
:orderId=
"orderId"
:GuestId=
"detailsData.GuestId"
></orderProfits>
</el-tab-pane>
<el-tab-pane
label=
"订单日志"
name=
"3"
>
<orderLog
:orderId=
"orderId"
></orderLog>
...
...
src/components/customerManage/orderList.vue
View file @
c068dea2
...
...
@@ -1480,9 +1480,11 @@ li {
cursor
:
pointer
;
}
.OrderId-text
.text-underline
{
text-decoration
:
underline
;
margin-right
:
5px
;
}
}
.OrderId-text
.text-underline
:hover
{
text-decoration
:
underline
;
}
.CreateByName-text
{
margin-bottom
:
10px
;
...
...
src/components/customerManage/orderProfits.vue
View file @
c068dea2
...
...
@@ -165,12 +165,15 @@
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
其他收入
<span>
<span
class=
"span_all"
>
应收:¥{{d.OtherYS}}
</span>
<span
class=
"span_all"
>
实收:¥{{d.OtherSS}}
</span>
</span>
<div
class=
"TB_comtitle TB-Title"
>
<div>
其他收入
<span>
<span
class=
"span_all"
>
应收:¥{{d.OtherYS}}
</span>
<span
class=
"span_all"
>
实收:¥{{d.OtherSS}}
</span>
</span>
</div>
</div>
<el-button
style=
"float: right;"
size=
"mini"
type=
"primary"
@
click=
"makeAdocument(d,1)"
>
制单
</el-button>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
...
...
@@ -281,6 +284,7 @@
<span
class=
"span_all"
>
实付:¥{{d.OtherSF}}
</span>
</span>
</div>
<el-button
style=
"float: right;"
size=
"mini"
type=
"primary"
@
click=
"makeAdocument(d,3)"
>
制单
</el-button>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
...
...
@@ -388,14 +392,16 @@
<
script
>
export
default
{
props
:
[
"orderId"
],
props
:
[
"orderId"
,
"GuestId"
],
data
()
{
return
{
loading
:
true
,
d
:
null
,
userInfo
:{}
};
},
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
init
();
},
methods
:
{
...
...
@@ -450,6 +456,54 @@ export default {
return
this
.
d
.
FinanceList
.
filter
((
x
)
=>
x
.
ReFinanceId2
==
2
);
}
},
// 制作单据
makeAdocument
(
row
,
num
)
{
this
.
makeAdocumentFun
(
row
,
num
);
},
makeAdocumentFun
(
row
,
num
)
{
let
type
;
type
=
num
==
1
?
1
:
2
;
// 1收款 2退款 3成本
let
href
;
let
url
=
this
.
domainManager
().
erpRoutingUrl
;
let
data
;
if
(
this
.
userInfo
.
EmName
==
row
.
EnterName
)
{
if
(
row
.
OrderStatus
!=
"2"
)
{
if
(
num
==
'1'
||
num
==
'3'
)
{
data
=
[
{
path
:
"ChoiceAddFinancialDocuments"
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
this
.
orderId
,
ReFinanceId2
:
num
,
GuestId
:
this
.
GuestId
,
RelevanceFrId
:
5
,
// 单据类型 5其他
},
];
}
if
(
num
==
'2'
)
{
data
=
[
{
path
:
"ChoiceAddFinancialDocuments"
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
this
.
orderId
,
ReFinanceId2
:
num
,
GuestId
:
this
.
GuestId
,
},
];
}
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
window
.
open
(
href
);
}
}
},
},
};
</
script
>
...
...
@@ -497,12 +551,14 @@ export default {
.singeRowTable
tr
th
{
height
:
30px
;
text-align
:
left
!important
;
padding-left
:
12px
!important
;
}
.singeRowTable
tr
td
{
border
:
1px
solid
#e5e5e5
;
padding
:
0px
!important
;
padding-left
:
12px
!important
;
font-size
:
13px
;
}
/* .Team_Content .el-col-5 {
...
...
@@ -523,6 +579,10 @@ export default {
position
:
relative
;
top
:
10px
;
}
.TB-Title.B-Title-fr
{
display
:
flex
;
justify-content
:
space-between
;
}
.Team_ComCoin
{
width
:
60%
;
...
...
@@ -536,6 +596,12 @@ export default {
.Team_collection
{
margin-top
:
40px
;
display
:
flex
;
flex-direction
:
column
;
}
.Team_collection
tr
th
{
border
:
1px
solid
#e5e5e5
;
font-size
:
14px
;
}
.Team_outCome
{
...
...
src/components/guestManagement/Agreement.vue
View file @
c068dea2
<
style
scoped
>
<
style
>
.add-Enclosure
{
display
:
flex
;
justify-content
:
space-between
;
...
...
@@ -116,13 +116,36 @@
/
deep
/
.el-table
.cell.el-tooltip
{
overflow
:
hidden
!important
;
}
.OrderType-text-box
{
word-break
:
break-word
;
word-wrap
:
break-word
;
white-space
:
-moz-pre-wrap
;
white-space
:
-hp-pre-wrap
;
white-space
:
-o-pre-wrap
;
white-space
:
-pre-wrap
;
white-space
:
pre
;
white-space
:
pre-wrap
;
white-space
:
pre-line
;
}
.OrderType-text-box
.text-underline
{
font-size
:
19px
;
color
:
rgb
(
41
,
97
,
254
);
margin-right
:
10px
;
font-weight
:
bold
;
display
:
inline
;
cursor
:
pointer
;
}
.OrderType-text-box
.text-underline
:hover
{
text-decoration
:
underline
;
}
.OrderType-text
{
font-size
:
1
1
px
;
font-size
:
1
0
px
;
font-weight
:
100
;
margin-left
:
5px
;
border-radius
:
3px
;
display
:
inline-block
;
padding
:
0
1px
;
margin-bottom
:
2px
;
}
.OrderType-text-box
.OrderType-text
:nth-child
(
2
)
{
margin-left
:
0
;
...
...
@@ -192,8 +215,8 @@
fixed
label=
"订单号"
width=
"110"
>
<template
slot-scope=
"scope"
>
<div
class=
"OrderType-text-box"
>
<
p>
{{
scope
.
row
.
OrderId
}}
</p
>
<div
class=
"OrderType-text-box"
@
click=
"clickSingleNumber(scope.row)"
>
<
span
class=
"text-underline"
>
{{
scope
.
row
.
OrderId
}}
</span
>
<span
class=
"OrderType-text"
:class=
"items.Id==1?'one':(items.Id==2?'two':(items.Id==3?'three':(items.Id==4?'four':(items.Id==5?'five':''))))"
v-for=
"(items,index) in scope.row.MultipleChoiceList"
>
{{
items
.
Name
}}
</span>
...
...
@@ -372,10 +395,18 @@
<el-pagination
class=
"Mypagination"
background
@
current-change=
"handleCurrentChange"
:page-sizes=
"[10, 30, 60, 90, 100]"
:page-size=
"msg.pageSize"
layout=
"total, sizes, prev, pager, next"
@
size-change=
"handleSizeChange"
:total=
"total"
>
</el-pagination>
</div>
<!-- 单号抽屉 -->
<el-drawer
@
closed=
"closeOrderDrawerHandler"
:with-header=
"false"
size=
'70%'
:append-to-body=
"true"
:visible
.
sync=
"orderDrawer"
direction=
"rtl"
:before-close=
"handleClose"
>
<orderDetailsDrawer
v-if=
"currentOrder"
:orderId=
"currentOrder.OrderId"
/>
</el-drawer>
</div>
</template>
<
script
>
import
orderDetailsDrawer
from
"../customerManage/orderDetailsDrawer"
;
export
default
{
components
:
{
orderDetailsDrawer
},
props
:
[
"ID"
,
"BusinessType"
],
data
()
{
return
{
...
...
@@ -430,7 +461,9 @@
EnterID
:
""
,
userInfo
:
{}
},
total
:
0
total
:
0
,
currentOrder
:
null
,
orderDrawer
:
false
,
};
},
watch
:
{
...
...
@@ -459,6 +492,18 @@
});
},
methods
:
{
// 点击单号
clickSingleNumber
(
item
)
{
this
.
currentOrder
=
item
;
this
.
orderDrawer
=
true
;
},
closeOrderDrawerHandler
()
{
this
.
currentOrder
=
null
;
this
.
orderDrawer
=
false
;
},
handleClose
(
done
)
{
done
();
},
// 取消
popCancelClick
(
row
,
index
,
num
){
this
.
dataList
.
forEach
(
item
=>
{
...
...
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