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
9299b256
Commit
9299b256
authored
Dec 13, 2021
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
into master
parents
b45b5704
556531ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
30 deletions
+12
-30
courseprice-form.vue
src/components/course/courseprice-form.vue
+2
-2
finishTask.vue
src/pages/sale/finishTask.vue
+3
-2
finishTaskDetails.vue
src/pages/sale/finishTaskDetails.vue
+7
-26
No files found.
src/components/course/courseprice-form.vue
View file @
9299b256
...
...
@@ -25,11 +25,11 @@
<div>
<table
style=
"margin-left:10px;"
>
<tr>
<td
style=
"width:
58
px;text-align:right;"
>
<td
style=
"width:
42
px;text-align:right;"
>
卖价
</td>
<td
colspan=
"2"
>
<q-input
filled
stack-label
maxlength=
"8"
style=
"padding-bottom:0;width:390px;"
:dense=
"false"
v-model=
"priceObj.courseObj.SellPrice"
<q-input
filled
stack-label
maxlength=
"8"
style=
"padding-bottom:0;width:390px;
margin-left:10px;
"
:dense=
"false"
v-model=
"priceObj.courseObj.SellPrice"
ref=
"SellPrice"
label=
"卖价"
@
keyup
.
native=
"checkPrice(priceObj.courseObj, 'SellPrice')"
:rules=
"[val => !!val || '请填写卖价']"
/>
</td>
...
...
src/pages/sale/finishTask.vue
View file @
9299b256
...
...
@@ -150,7 +150,6 @@
methods
:
{
//兑换奖品
exchangeKudo
(
item
)
{
console
.
log
(
item
,
"item"
);
var
postMsg
=
{
Id
:
item
.
Id
,
CustomerId
:
item
.
CustomerId
,
...
...
@@ -173,10 +172,12 @@
})
},
goToDetail
(
item
)
{
console
.
log
(
"item"
,
item
)
this
.
OpenNewUrl
(
'/sale/finishTaskDetails'
,
{
TaskId
:
item
.
TaskId
,
DetailsId
:
item
.
DetailsId
,
CustomerId
:
item
.
CustomerId
CustomerId
:
item
.
CustomerId
,
FinishId
:
item
.
Id
})
},
resetSearch
()
{
...
...
src/pages/sale/finishTaskDetails.vue
View file @
9299b256
...
...
@@ -16,20 +16,8 @@
<div
class=
"page-option"
>
</div>
</
template
>
<
template
v-slot:body-cell-ExchangeNum=
"props"
>
<q-td>
<template
v-if=
"props.row.FinishType==1"
>
{{
props
.
row
.
ExchangeNum
}}
人
</
template
>
</q-td>
</template>
<
template
v-slot:body-cell-ExchangeMoney=
"props"
>
<q-td>
<template
v-if=
"props.row.FinishType==2"
>
{{
props
.
row
.
ExchangeMoney
}}
元
</
template
>
</q-td>
</template>
<
template
v-slot:bottom
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
...
...
@@ -70,18 +58,7 @@
field
:
'FinishValue'
,
align
:
'left'
,
},
{
name
:
'ExchangeNum'
,
label
:
'使用人数'
,
align
:
"left"
,
field
:
'ExchangeNum'
,
},
{
name
:
'ExchangeMoney'
,
label
:
'使用金额'
,
align
:
"left"
,
field
:
'ExchangeMoney'
,
},
],
dataList
:
[],
loading
:
true
,
...
...
@@ -92,6 +69,7 @@
TaskId
:
""
,
//任务编号
DetailsId
:
""
,
//任务详情编号
CustomerId
:
""
,
//客户编号
FinishId
:
""
,
//完成任务编号
},
pageCount
:
0
,
}
...
...
@@ -106,6 +84,9 @@
if
(
this
.
$route
.
query
.
CustomerId
)
{
this
.
msg
.
CustomerId
=
this
.
$route
.
query
.
CustomerId
;
}
if
(
this
.
$route
.
query
.
FinishId
)
{
this
.
msg
.
FinishId
=
this
.
$route
.
query
.
FinishId
;
}
},
mounted
()
{
this
.
getList
()
...
...
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