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
a8ae3b10
Commit
a8ae3b10
authored
Mar 30, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
085e6935
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
55 deletions
+40
-55
offertransorder-form.vue
src/components/sale/offertransorder-form.vue
+2
-4
orderlist.vue
src/components/sale/orderlist.vue
+36
-46
transOrder-form.vue
src/components/sale/transOrder-form.vue
+1
-4
studentList.vue
src/pages/sale/studentList.vue
+1
-1
No files found.
src/components/sale/offertransorder-form.vue
View file @
a8ae3b10
...
...
@@ -216,16 +216,14 @@
},
{
name
:
"ClassId"
,
required
:
true
,
label
:
"班级"
,
align
:
"left"
,
field
:
row
=>
row
.
ClassId
},
],
//表格可见列
visibleColumns
:
[
'CourseName'
,
'OriginalPrice'
,
'JoinNum'
,
"DiscountPrice"
,
"DiscountRemark"
,
"ActualPrice"
,
"ClassId"
,
'CourseName'
,
'OriginalPrice'
,
'JoinNum'
,
'DiscountPrice'
,
'DiscountRemark'
,
'ActualPrice'
,
'ClassId'
],
//可见列
pageInfo
:
{
pageIndex
:
1
,
...
...
src/components/sale/orderlist.vue
View file @
a8ae3b10
...
...
@@ -259,8 +259,8 @@
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,1)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,1)"
/>
</div>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
...
...
@@ -272,8 +272,8 @@
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,2)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,2)"
/>
</div>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
...
...
@@ -470,7 +470,7 @@
</div>
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,2)"
/>
</div>
...
...
@@ -490,34 +490,34 @@
<!--取消订单-->
</table>
<!--修改订单-->
<editorder-form
v-if=
"isShowEditOrderForm"
:save-obj=
"orderObj"
@
close=
"closeOrderSaveForm"
@
success=
"refreshClassOrder"
>
</editorder-form>
<editorder-form
v-if=
"isShowEditOrderForm"
:save-obj=
"orderObj"
@
close=
"closeOrderSaveForm"
@
success=
"refreshOrder"
>
</editorder-form>
<!--修改订单备注-->
<orderremark-form
v-if=
"isShowRemarkOrderForm"
:save-obj=
"orderObj"
:remarkType=
"remarkType"
@
close=
"closeRemarkForm"
@
success=
"refresh
Class
Order"
></orderremark-form>
@
close=
"closeRemarkForm"
@
success=
"refreshOrder"
></orderremark-form>
<!--转交订单-->
<transOrder-form
v-if=
"isShowTransOrderForm"
:save-obj=
"orderObj"
:employeeList=
"EmployeeList"
@
close=
"closeTransOrderForm"
@
success=
"refresh
Class
Order"
></transOrder-form>
@
close=
"closeTransOrderForm"
@
success=
"refreshOrder"
></transOrder-form>
<myOrder-form
v-if=
"isShowmyorderForm"
:save-obj=
"myorderObjOption"
@
close=
"closeMOSaveForm"
></myOrder-form>
<!--班级详情-->
<classinfo-form
v-if=
"isShowClassInfo"
:seting-obj=
"classObjOption"
@
close=
"closeClass"
@
success=
"refresh
Class
"
>
<classinfo-form
v-if=
"isShowClassInfo"
:seting-obj=
"classObjOption"
@
close=
"closeClass"
@
success=
"refresh
Order
"
>
</classinfo-form>
<!--退课申请-->
<backclass-form
v-if=
"isShowBackClassForm"
:save-obj=
"orderObj"
@
close=
"closeBackClassForm"
@
success=
"refreshClassOrder"
>
</backclass-form>
<backclass-form
v-if=
"isShowBackClassForm"
:save-obj=
"orderObj"
@
close=
"closeBackClassForm"
@
success=
"refreshOrder"
>
</backclass-form>
<!-- 修改提成和额外奖励 -->
<money-form
v-if=
"isShowMoney"
:data=
"moneyObj"
:type=
"CommonType"
@
close=
"closeMoneyForm"
@
success=
"refresh
Money
"
>
<money-form
v-if=
"isShowMoney"
:data=
"moneyObj"
:type=
"CommonType"
@
close=
"closeMoneyForm"
@
success=
"refresh
Order
"
>
</money-form>
<!--续课申请-->
<continueclass-form
v-if=
"isShowContinueClass"
:save-obj=
"orderObj"
@
close=
"closeContinueClassForm"
@
success=
"refresh
Class
Order"
></continueclass-form>
@
success=
"refreshOrder"
></continueclass-form>
<!-- 查看报价单 -->
<viewquotation-form
v-if=
"isShowviewQuo"
:rId=
"offerId"
:isShowCancle=
"1"
@
close=
"closeQuota"
@
success=
"refresh
View
"
>
@
success=
"refresh
Order
"
>
</viewquotation-form>
</div>
...
...
@@ -660,20 +660,17 @@
this
.
AuthorityObj
.
isShowRenewClass
=
this
.
authObj
.
isShowRenewClass
;
}
}
console
.
log
(
" this.AuthorityObj"
,
this
.
AuthorityObj
)
},
//关闭报价单
closeQuota
()
{
this
.
isShowviewQuo
=
false
;
},
//刷新页面
refreshView
()
{
},
//跳转到报价单
goQuotation
(
Id
)
{
this
.
offerId
=
Id
;
this
.
isShowviewQuo
=
true
;
},
//弹出退课名单
getTkshow
(
data
)
{
let
Tkshow
=
false
;
if
(
data
.
length
>
0
)
{
...
...
@@ -685,6 +682,16 @@
}
return
Tkshow
},
//关闭退课申请
closeBackClassForm
()
{
this
.
orderObj
=
{};
this
.
isShowBackClassForm
=
false
;
},
//显示退课申请
showBackClassForm
(
item
)
{
this
.
orderObj
=
item
;
this
.
isShowBackClassForm
=
true
;
},
//显示续课申请
showContinueClass
(
item
)
{
this
.
orderObj
=
item
;
...
...
@@ -695,16 +702,7 @@
this
.
orderObj
=
{};
this
.
isShowContinueClass
=
false
;
},
//显示退课申请
showBackClassForm
(
item
)
{
this
.
orderObj
=
item
;
this
.
isShowBackClassForm
=
true
;
},
//关闭退课申请
closeBackClassForm
()
{
this
.
orderObj
=
{};
this
.
isShowBackClassForm
=
false
;
},
//获取员工列表
Employee
()
{
var
qMsg
=
{
EmployeeName
:
''
...
...
@@ -713,8 +711,6 @@
if
(
res
.
Code
==
1
)
{
this
.
EmployeeList
=
res
.
Data
;
}
}).
catch
(()
=>
{
})
},
//获取财务单据
...
...
@@ -753,11 +749,13 @@
}
},
err
=>
{})
},
//显示订单详情
goOrderdetails
(
item
,
tab
)
{
item
.
tab
=
tab
this
.
myorderObjOption
=
item
;
this
.
isShowmyorderForm
=
true
;
},
//关闭订单详情
closeMOSaveForm
()
{
this
.
isShowmyorderForm
=
false
;
},
...
...
@@ -801,8 +799,9 @@
this
.
isShowEditOrderForm
=
true
;
},
//刷新页面
refresh
Class
Order
()
{
refreshOrder
()
{
this
.
isShowEditOrderForm
=
false
;
this
.
isShowMoney
=
false
;
//调用父页面成功方法
this
.
$emit
(
'success'
);
},
...
...
@@ -811,11 +810,6 @@
this
.
moneyObj
=
{};
this
.
isShowMoney
=
false
;
},
//修改提成和额外奖励后刷新
refreshMoney
()
{
this
.
isShowMoney
=
false
;
this
.
$emit
(
'success'
);
},
//取消订单
CancelOrder
(
item
)
{
let
that
=
this
...
...
@@ -843,10 +837,9 @@
this
.
$emit
(
'success'
);
}
})
}).
onCancel
(()
=>
{
});
})
},
//财务单据
chanceType
(
obj
,
type
)
{
let
TCIDARR
=
[]
TCIDARR
.
push
(
obj
.
ClassId
);
...
...
@@ -882,7 +875,8 @@
}
});
},
getClassInfo
(
obj
)
{
//打开班级详情组件
//打开班级详情组件
getClassInfo
(
obj
)
{
this
.
classObjOption
=
obj
;
this
.
classObjOption
.
School_Id
=
this
.
classObjOption
.
ClassSchoolId
this
.
isShowClassInfo
=
true
;
...
...
@@ -890,10 +884,6 @@
//关闭班级信息弹窗
closeClass
()
{
this
.
isShowClassInfo
=
false
},
//刷新
refreshClass
()
{
},
//修改提成-奖励
upDateMoney
(
item
,
type
)
{
...
...
src/components/sale/transOrder-form.vue
View file @
a8ae3b10
...
...
@@ -86,7 +86,6 @@
},
//保存订单转交
saveTransOrder
()
{
if
(
this
.
saveObj
.
type
==
1
){
let
transMsg
=
{
OrderId
:
this
.
TransOrderMsg
.
OrderId
,
...
...
@@ -126,9 +125,7 @@
}
})
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
src/pages/sale/studentList.vue
View file @
a8ae3b10
...
...
@@ -4,7 +4,7 @@
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
@
click=
"goreturn"
>
返回
</div>
<div
class=
"col-2 q-table__title"
@
click=
"goreturn"
style=
"cursor:pointer"
>
返回
</div>
<q-space
/>
<div
class=
"page-option"
>
<q-btn
color=
"accent"
size=
"sm"
v-if=
"isShowBtn"
icon=
"add"
label=
"新增名单"
@
click=
"addxue"
/>
...
...
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