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
6aa10b4e
Commit
6aa10b4e
authored
May 11, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
7972b208
221ff22d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
34 deletions
+44
-34
orderlist.vue
src/components/sale/orderlist.vue
+44
-34
No files found.
src/components/sale/orderlist.vue
View file @
6aa10b4e
...
@@ -354,7 +354,7 @@
...
@@ -354,7 +354,7 @@
<span>
收款单据:
</span>
<span>
收款单据:
</span>
<!-- <q-btn flat size="xs" icon="edit" v-if="AuthorityObj.isShowFinanceBtn&&isEdit"
<!-- <q-btn flat size="xs" icon="edit" v-if="AuthorityObj.isShowFinanceBtn&&isEdit"
style="font-weight:400;color: #02C499" label="修改" /> -->
style="font-weight:400;color: #02C499" label="修改" /> -->
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit
&&item.OrderType==1
"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<q-banner>
...
@@ -375,7 +375,7 @@
...
@@ -375,7 +375,7 @@
</tr>
</tr>
</table>
</table>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item)"
label=
"制单"
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item
,1
)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
style=
"min-width:70px;float:right;margin-top:10px"
/>
</q-banner>
</q-banner>
</q-popup-proxy>
</q-popup-proxy>
...
@@ -390,7 +390,7 @@
...
@@ -390,7 +390,7 @@
</div>
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit
&&item.OrderType==1
"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<q-banner>
...
@@ -411,7 +411,7 @@
...
@@ -411,7 +411,7 @@
</tr>
</tr>
</table>
</table>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item)"
label=
"制单"
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item
,2
)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
style=
"min-width:70px;float:right;margin-top:10px"
/>
</q-banner>
</q-banner>
</q-popup-proxy>
</q-popup-proxy>
...
@@ -600,7 +600,7 @@
...
@@ -600,7 +600,7 @@
<div
class=
"col"
>
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<span>
收款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn
&&item.OrderType==1
"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<q-banner>
...
@@ -621,7 +621,7 @@
...
@@ -621,7 +621,7 @@
</tr>
</tr>
</table>
</table>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item)"
label=
"制单"
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item
,1
)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
style=
"min-width:70px;float:right;margin-top:10px"
/>
</q-banner>
</q-banner>
</q-popup-proxy>
</q-popup-proxy>
...
@@ -636,7 +636,7 @@
...
@@ -636,7 +636,7 @@
</div>
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn
&&item.OrderType==1
"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<q-banner>
...
@@ -657,7 +657,7 @@
...
@@ -657,7 +657,7 @@
</tr>
</tr>
</table>
</table>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item)"
label=
"制单"
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item
,2
)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
style=
"min-width:70px;float:right;margin-top:10px"
/>
</q-banner>
</q-banner>
</q-popup-proxy>
</q-popup-proxy>
...
@@ -1070,8 +1070,9 @@
...
@@ -1070,8 +1070,9 @@
})
})
},
},
//财务单据
//财务单据
chanceType
(
obj
)
{
chanceType
(
obj
,
type
)
{
if
(
obj
.
OrderType
==
1
)
{
if
(
obj
.
OrderType
==
1
)
{
if
(
this
.
chooseStudent
==
""
)
{
if
(
this
.
chooseStudent
==
""
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
...
@@ -1083,20 +1084,30 @@
...
@@ -1083,20 +1084,30 @@
})
})
return
return
}
}
let
ContractNo
=
''
if
(
this
.
chooseStudent
==
""
)
{
if
(
obj
&&
obj
.
GuestList
.
length
>
0
)
{
this
.
$q
.
notify
({
obj
.
GuestList
.
forEach
(
x
=>
{
icon
:
'close'
,
if
(
this
.
chooseStudent
==
x
.
Id
)
{
color
:
'accent'
,
ContractNo
=
x
.
ContractNo
timeout
:
2000
,
message
:
'请选择学生'
,
position
:
'top'
})
return
}
let
ContractNo
=
''
if
(
obj
&&
obj
.
GuestList
.
length
>
0
){
obj
.
GuestList
.
forEach
(
x
=>
{
if
(
this
.
chooseStudent
==
x
.
Id
){
ContractNo
=
x
.
ContractNo
}
}
})
})
}
}
if
(
ContractNo
==
''
)
{
if
(
ContractNo
==
''
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
icon
:
'close'
,
icon
:
'close'
,
color
:
'accent'
,
color
:
'accent'
,
timeout
:
2000
,
timeout
:
2000
,
message
:
'
领取合同后才能制单
'
,
message
:
'
请完善合同信息
'
,
position
:
'top'
position
:
'top'
})
})
return
return
...
@@ -1128,25 +1139,24 @@
...
@@ -1128,25 +1139,24 @@
TCIDList
:
TCIDARR
TCIDList
:
TCIDARR
}
}
}
}
}
else
{
//留学就业订单
if
(
obj
&&
obj
.
OrderType
==
2
)
{
//财务单据类型【教育留学】
orderObj
.
OrderSource
=
18
;
}
this
.
$router
.
push
({
path
:
'/financial/financalDocument/ChoiceAddFinancialDocuments'
,
query
:
{
"Type"
:
type
,
"companyID"
:
obj
.
ClassSchoolId
,
"path"
:
""
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
'tradeWay'
:
obj
.
tradeWay
,
"GuestId"
:
this
.
chooseStudent
}
});
}
}
//留学就业订单
if
(
obj
&&
obj
.
OrderType
==
2
)
{
//财务单据类型【教育留学】
orderObj
.
OrderSource
=
18
;
}
this
.
$router
.
push
({
path
:
'/financial/financalDocument/ChoiceAddFinancialDocuments'
,
query
:
{
"Type"
:
type
,
"companyID"
:
obj
.
ClassSchoolId
,
"path"
:
""
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
'tradeWay'
:
obj
.
tradeWay
,
"GuestId"
:
this
.
chooseStudent
}
});
},
},
//打开班级详情组件
//打开班级详情组件
getClassInfo
(
obj
)
{
getClassInfo
(
obj
)
{
...
...
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