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
84ce6fc3
Commit
84ce6fc3
authored
Apr 13, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 约课订单 增加成本单据录入
parent
3de3d7cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
myOrder-form.vue
src/components/sale/myOrder-form.vue
+4
-4
orderlist.vue
src/components/sale/orderlist.vue
+7
-3
No files found.
src/components/sale/myOrder-form.vue
View file @
84ce6fc3
...
...
@@ -399,10 +399,10 @@
</
template
>
</q-table>
<!--成本单-->
<div
class=
"row "
style=
"align-items: center;margin: 20px 0;"
v-if=
"saveObj.OrderType==2 "
>
<div
class=
"row "
style=
"align-items: center;margin: 20px 0;"
v-if=
"saveObj.OrderType==2
|| saveObj.ClassScrollType == 2
"
>
<div
style=
"width: 3px;height: 15px;background: #3FC4FF;margin-right: 10px"
></div>
成本单
</div>
<q-table
v-if=
"saveObj.OrderType==2 "
:pagination=
"financiaMsg"
style=
"padding-bottom:80px;"
:loading=
"floading"
no-data-label=
"暂无相关数据"
flat
<q-table
v-if=
"saveObj.OrderType==2
|| saveObj.ClassScrollType == 2
"
:pagination=
"financiaMsg"
style=
"padding-bottom:80px;"
:loading=
"floading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table"
:hide-pagination=
"true"
:data=
"dataListCB"
:columns=
"receiptColumns"
row-key=
"name"
>
<
template
v-slot:body-cell-FrID=
"props"
>
...
...
@@ -826,9 +826,9 @@
this
.
getfinanciaALLPageList
(
2
,
TCID
,
OrderID
)
}
else
{
if
(
this
.
saveObj
.
OrderType
==
1
){
if
(
this
.
saveObj
.
OrderType
==
1
&&
this
.
saveObj
.
ClassScrollType
==
1
){
this
.
dataListP
=
data
;
}
else
if
(
this
.
saveObj
.
OrderType
==
2
){
//等于留学的时候 成本单据
}
else
if
(
this
.
saveObj
.
OrderType
==
2
||
this
.
saveObj
.
ClassScrollType
==
2
){
//等于留学的时候 成本单据
this
.
dataListCB
=
[]
this
.
dataListP
=
[]
data
.
forEach
(
x
=>
{
...
...
src/components/sale/orderlist.vue
View file @
84ce6fc3
...
...
@@ -786,7 +786,7 @@
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item, 4)"
>
{{ x.FrID }}
</span>
</div>
</div>
<div
class=
"row"
style=
"justify-content: space-between"
v-if=
"item.OrderType == 2"
>
<div
class=
"row"
style=
"justify-content: space-between"
v-if=
"item.OrderType == 2
|| item.ClassScrollType == 2
"
>
<span>
成本单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"
AuthorityObj.isShowFinanceBtn &&
...
...
@@ -820,13 +820,13 @@
</tr>
</table>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,
2
)"
label=
"制单"
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,
3
)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
</q-banner>
</q-popup-proxy>
</
template
>
</div>
<div
class=
"row wrap"
v-if=
"item.OrderType == 2"
>
<div
class=
"row wrap"
v-if=
"item.OrderType == 2
|| item.ClassScrollType == 2
"
>
<div
class=
"finance row"
v-for=
"(x, j) in item.RefundFinanceList"
v-if=
"x.OtherType == 45"
:key=
"j"
:style=
"{
background:
...
...
@@ -1812,6 +1812,10 @@
//默认取第一个人的 (现基本都是单人订单 如果有多人订单 需调整)
guestId
=
obj
.
GuestList
[
0
].
Id
;
}
if
(
obj
&&
obj
.
OrderType
==
1
&&
obj
.
ClassScrollType
==
2
&&
type
==
3
){
orderObj
.
OtherType
=
45
;
//成本单据 (约课的订单上做成本单据)
type
=
2
;
//付款单据
}
this
.
$router
.
push
({
path
:
"/financial/financalDocument/ChoiceAddFinancialDocuments"
,
query
:
{
...
...
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