Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
577ec548
Commit
577ec548
authored
May 11, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
也没修过
parent
6aa10b4e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
245 additions
and
302 deletions
+245
-302
editOrder-form.vue
src/components/sale/editOrder-form.vue
+15
-9
orderlist.vue
src/components/sale/orderlist.vue
+228
-291
classorder.vue
src/pages/course/classorder.vue
+0
-1
studyOrderStatistics.vue
src/pages/sale/studyOrderStatistics.vue
+2
-1
No files found.
src/components/sale/editOrder-form.vue
View file @
577ec548
...
@@ -41,7 +41,8 @@
...
@@ -41,7 +41,8 @@
<!--留学就业订单-->
<!--留学就业订单-->
<
template
v-if=
"orderType==2||OrderMsg.OrderType==2"
>
<
template
v-if=
"orderType==2||OrderMsg.OrderType==2"
>
<q-select
standout=
"bg-primary text-white"
option-value=
"Id"
class=
"q-pb-lg"
option-label=
"Name"
<q-select
standout=
"bg-primary text-white"
option-value=
"Id"
class=
"q-pb-lg"
option-label=
"Name"
v-model=
"OrderMsg.OrderNature"
:options=
"OrderStatus"
emit-value
map-options
label=
"订单性质"
/>
v-model=
"OrderMsg.OrderNature"
:options=
"OrderStatus"
emit-value
map-options
label=
"订单性质"
@
input=
"OrderNatureChange"
/>
<q-input
filled
stack-label
:dense=
"false"
maxlength=
"10"
@
keyup
.
native=
"checkPrice(OrderMsg,'PreferPrice')"
<q-input
filled
stack-label
:dense=
"false"
maxlength=
"10"
@
keyup
.
native=
"checkPrice(OrderMsg,'PreferPrice')"
:disable=
"OrderMsg.OrderNature==1&&isHaveModify"
v-model=
"OrderMsg.PreferPrice"
class=
"col-12 q-pb-lg"
:disable=
"OrderMsg.OrderNature==1&&isHaveModify"
v-model=
"OrderMsg.PreferPrice"
class=
"col-12 q-pb-lg"
label=
"应收"
/>
label=
"应收"
/>
...
@@ -127,7 +128,7 @@
...
@@ -127,7 +128,7 @@
Name
:
'返佣'
Name
:
'返佣'
}
}
],
],
isHaveModify
:
false
isHaveModify
:
false
}
}
},
},
created
()
{
created
()
{
...
@@ -135,21 +136,24 @@
...
@@ -135,21 +136,24 @@
this
.
getEmployee
();
this
.
getEmployee
();
var
localStorageData
=
window
.
localStorage
[
"loginUserInfo"
];
var
localStorageData
=
window
.
localStorage
[
"loginUserInfo"
];
let
ActionMenuList
=
JSON
.
parse
(
localStorageData
).
data
.
ActionMenuList
let
ActionMenuList
=
JSON
.
parse
(
localStorageData
).
data
.
ActionMenuList
if
(
ActionMenuList
&&
ActionMenuList
.
length
>
0
)
{
if
(
ActionMenuList
&&
ActionMenuList
.
length
>
0
){
ActionMenuList
.
forEach
(
x
=>
{
ActionMenuList
.
forEach
(
x
=>
{
if
(
x
.
FunctionCode
==
'E_ModifyStudyOrderPrice'
)
{
if
(
x
.
FunctionCode
==
'E_ModifyStudyOrderPrice'
){
this
.
isHaveModify
=
true
this
.
isHaveModify
=
true
}
}
})
})
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
"saveObj"
,
this
.
saveObj
);
console
.
log
(
"orderType"
,
this
.
orderType
);
this
.
initData
()
this
.
initData
()
},
},
methods
:
{
methods
:
{
//订单性质切换
OrderNatureChange
()
{
if
(
this
.
OrderMsg
.
OrderNature
==
1
)
{
this
.
countPrice
();
}
},
initData
()
{
initData
()
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
OrderId
>
0
)
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
OrderId
>
0
)
{
getClassOrderInfo
({
getClassOrderInfo
({
...
@@ -269,7 +273,9 @@
...
@@ -269,7 +273,9 @@
},
},
//修改订单
//修改订单
saveOrderInfo
()
{
saveOrderInfo
()
{
this
.
OrderMsg
.
PreferPrice
=
(
this
.
OrderMsg
.
GuestNum
*
this
.
OrderMsg
.
Unit_Price
)
-
this
.
OrderMsg
.
LessPrice
;
if
(
this
.
OrderMsg
.
OrderType
==
1
)
{
this
.
OrderMsg
.
PreferPrice
=
(
this
.
OrderMsg
.
GuestNum
*
this
.
OrderMsg
.
Unit_Price
)
-
this
.
OrderMsg
.
LessPrice
;
}
setClassOrder
(
this
.
OrderMsg
).
then
(
res
=>
{
setClassOrder
(
this
.
OrderMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
...
...
src/components/sale/orderlist.vue
View file @
577ec548
This diff is collapsed.
Click to expand it.
src/pages/course/classorder.vue
View file @
577ec548
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
<div
class=
"page-body myOrder"
>
<div
class=
"page-body myOrder"
>
<div
class=
"row col"
style=
"height: 40px"
>
<div
class=
"row col"
style=
"height: 40px"
>
<div
class=
"row col"
style=
"justify-content: space-between;align-items: center;margin-bottom: 10px"
>
<div
class=
"row col"
style=
"justify-content: space-between;align-items: center;margin-bottom: 10px"
>
<div>
<div>
<template
v-if=
"data&& data.ClassInfo"
>
<template
v-if=
"data&& data.ClassInfo"
>
{{
data
.
ClassInfo
.
ClassName
}}
{{
data
.
ClassInfo
.
ClassName
}}
...
...
src/pages/sale/studyOrderStatistics.vue
View file @
577ec548
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<orderlist
:dataList=
"data.List"
:authObj=
"authObj"
@
success=
"refreshClassOrder"
ref=
"orderL"
:isEdit=
"false"
>
<orderlist
:dataList=
"data.List"
:authObj=
"authObj"
@
success=
"refreshClassOrder"
ref=
"orderL"
>
</orderlist>
</orderlist>
<div
class=
"row"
style=
"justify-content: flex-end;padding: 5px 20px"
>
<div
class=
"row"
style=
"justify-content: flex-end;padding: 5px 20px"
>
<q-pagination
v-model=
"msg.pageIndex"
:max=
"pageCount"
@
input=
"changePage"
class=
"full-width justify-end"
<q-pagination
v-model=
"msg.pageIndex"
:max=
"pageCount"
@
input=
"changePage"
class=
"full-width justify-end"
...
@@ -156,6 +156,7 @@
...
@@ -156,6 +156,7 @@
isShowFinanceBtn
:
true
,
//显示财务单据按钮
isShowFinanceBtn
:
true
,
//显示财务单据按钮
isShowTransOrder
:
true
,
//显示转交订单按钮
isShowTransOrder
:
true
,
//显示转交订单按钮
isShowSaleRemark
:
true
,
//显示修改销售备注
isShowSaleRemark
:
true
,
//显示修改销售备注
isShowOperate
:
false
,
//不显示操作列
},
},
EmployeeList
:[],
//业务员
EmployeeList
:[],
//业务员
...
...
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