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
d6b2713e
Commit
d6b2713e
authored
Dec 14, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
704ed15e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
5 deletions
+71
-5
japaneseTrain.vue
src/pages/sale/japaneseTrain.vue
+1
-0
myOrder.vue
src/pages/sale/myOrder.vue
+70
-5
No files found.
src/pages/sale/japaneseTrain.vue
View file @
d6b2713e
...
@@ -142,6 +142,7 @@
...
@@ -142,6 +142,7 @@
v-model=
"msg.pageIndex"
v-model=
"msg.pageIndex"
:max=
"pageCount"
:max=
"pageCount"
@
input=
"changePage"
@
input=
"changePage"
class=
"full-width justify-end"
color=
"primary"
:input=
"true"
>
>
</q-pagination>
</q-pagination>
</li>
</li>
...
...
src/pages/sale/myOrder.vue
View file @
d6b2713e
...
@@ -294,7 +294,10 @@
...
@@ -294,7 +294,10 @@
</div>
</div>
</div>
</div>
<div
class=
"col"
>
<div
class=
"col"
>
<div>
收款单据:
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<span
@
click=
"chanceType(item,1)"
>
修改
</span>
</div>
</div>
</div>
</div>
</div>
...
@@ -302,6 +305,16 @@
...
@@ -302,6 +305,16 @@
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<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"
color=
"primary"
:input=
"true"
>
</q-pagination>
</div>
</div>
</div>
...
@@ -501,8 +514,11 @@
...
@@ -501,8 +514,11 @@
//翻页
//翻页
changePage
(
val
)
{
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
if
(
val
!=
1
&&
this
.
msg
.
pageIndex
!=
1
){
//对第一次进来防止掉2次getList
this
.
getList
()
this
.
msg
.
pageIndex
=
val
;
this
.
getList
()
}
},
},
resetSearch
()
{
resetSearch
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
pageIndex
=
1
;
...
@@ -526,13 +542,39 @@
...
@@ -526,13 +542,39 @@
}
}
this
.
loading
=
true
;
this
.
loading
=
true
;
getMyOrderPageList
(
this
.
msg
).
then
(
res
=>
{
getMyOrderPageList
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
this
.
data
=
res
.
Data
.
PageData
this
.
data
=
res
.
Data
.
PageData
;
let
OrderIds
=
[]
this
.
data
.
List
.
forEach
(
x
=>
{
OrderIds
.
push
(
x
.
OrderId
)
})
OrderIds
=
OrderIds
.
join
(
','
)
this
.
getOrderFinanceList
(
OrderIds
)
this
.
pageCount
=
res
.
Data
.
PageCount
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
getOrderFinanceList
(
msg
){
this
.
apipost
(
'sellorder_post_GetOrderFinanceListForEdu'
,{
OrderIds
:
msg
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
){
this
.
loading
=
false
;
this
.
data
.
List
.
forEach
(
x
=>
{
res
.
data
.
data
.
forEach
(
j
=>
{
if
(
x
.
OrderId
==
j
.
OrderId
){
x
.
FinanceList
=
j
.
FinanceList
x
.
RefundFinanceList
=
j
.
RefundFinanceList
}
})
})
console
.
log
()
}
else
{
this
.
loading
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
gostudent
(
item
){
//跳转到学生名单
gostudent
(
item
){
//跳转到学生名单
var
tempStr
=
'/sale/studentList?OrderId='
+
item
.
OrderId
+
'&ClassId='
+
item
.
ClassId
;
var
tempStr
=
'/sale/studentList?OrderId='
+
item
.
OrderId
+
'&ClassId='
+
item
.
ClassId
;
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -748,6 +790,29 @@
...
@@ -748,6 +790,29 @@
}).
catch
(()
=>
{
}).
catch
(()
=>
{
})
})
},
chanceType
(
obj
,
type
){
let
TCIDARR
=
[]
TCIDARR
.
push
(
obj
.
ClassId
)
let
orderObj
=
{
OrderID
:
obj
.
orderId
,
OrderSource
:
8
,
Obj
:
{},
SourceID
:
17
,
TCIDList
:
TCIDARR
}
this
.
$router
.
push
({
path
:
'/financial/financalDocument/ChoiceAddFinancialDocuments'
,
query
:{
"Type"
:
1
,
"companyID"
:
this
.
getLocalStorage
().
School_Id
,
"path"
:
""
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
'tradeWay'
:
obj
.
tradeWay
,
}
});
}
}
...
...
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