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
ffbf80c2
Commit
ffbf80c2
authored
Mar 17, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
f6380281
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
27 deletions
+45
-27
index.js
src/api/course/index.js
+13
-0
common.css
src/assets/css/common.css
+2
-2
edittransorder-form.vue
src/components/sale/edittransorder-form.vue
+30
-25
No files found.
src/api/course/index.js
View file @
ffbf80c2
...
...
@@ -336,4 +336,17 @@ export function SetApplyModifyPrice(data) {
data
})
}
/**
* 报价单修改价格
*/
export
function
saveCourseOfferPrice
(
data
)
{
return
request
({
url
:
"/CourseOffer/SetCourseOfferPrice"
,
method
:
'post'
,
data
})
}
\ No newline at end of file
src/assets/css/common.css
View file @
ffbf80c2
...
...
@@ -88,6 +88,6 @@
opacity
:
0.7
;
}
/* 控制下拉长度 */
.q-menu
{
/*
.q-menu{
max-height: 29vh;
}
\ No newline at end of file
} */
\ No newline at end of file
src/components/sale/edittransorder-form.vue
View file @
ffbf80c2
...
...
@@ -3,57 +3,55 @@
<q-card-section
class=
"row items-center q-pb-none"
>
<div
class=
"text-h6"
>
报价单修改价格
</div>
<q-space
/>
<
q-btn
icon=
"close"
flat
round
dense
v-close-popup
/
>
<
!--
<q-btn
icon=
"close"
flat
round
dense
v-close-popup
/>
--
>
</q-card-section>
<div
class=
"text-subtitle2 text-weight-bold q-mb-md"
>
<span>
客户信息
</span>
<div
class=
"text-subtitle2 text-weight-bold q-mb-md"
style=
"margin:20px 0 0 15px;"
>
<span
style=
"font-size:15px;"
>
客户信息
</span>
</div>
<q-card-section
style=
"max-height:75vh;"
class=
"scroll"
>
<div
class=
"row"
>
<div
class=
"row
q-price-info
"
>
<div
class=
"col q-mr-md"
>
报价单名称:
{{
model
.
Name
}}
报价单名称:
{{
model
.
Name
}}
</div>
<div
class=
"col"
>
客户来源:
{{
model
.
CustomerSourceName
}}
客户来源:
{{
model
.
CustomerSourceName
}}
</div>
</div>
<div
class=
"row"
>
<div
class=
"row
q-price-info
"
>
<div
class=
"col q-mr-md"
>
客户类型:
{{
model
.
CustomerTypeName
}}
客户类型:
{{
model
.
CustomerTypeName
}}
</div>
<div
class=
"col"
>
报名人数:
{{
model
.
JoinNum
}}
人
</div>
</div>
<div
class=
"row"
>
<div
class=
"row
q-price-info
"
>
<div
class=
"col q-mr-md"
>
客户姓名:
{{
model
.
CustomerName
}}
</div>
<div
class=
"col"
>
客户电话:
{{
model
.
CustomerTel
}}
</div>
</div>
<div
class=
"row"
>
<div
class=
"row
q-price-info
"
>
<div
class=
"col q-mr-md"
>
报价有效期:
{{
model
.
EffectiveEnd
}}
</div>
<div
class=
"col"
>
销售人员:
{{
model
.
CreateByName
}}
</div>
</div>
<div
class=
"text-subtitle2 text-weight-bold q-mb-md"
>
<span>
申请信息
</span>
<span
style=
"font-size:15px;"
>
申请信息
</span>
</div>
<div
class=
"row"
>
<div
class=
"col q-mr-md"
>
申请原因:
{{
model
.
ApplyReason
}}
<div
class=
"col q-mr-md"
style=
"display:flex;"
>
<div
style=
"flex-shrink:0"
>
申请原因:
</div>
<div
style=
"max-height:150px;overflow-y:auto;"
>
{{
model
.
ApplyReason
}}
</div>
</div>
</div>
<div
class=
"text-subtitle2 text-weight-bold q-mb-md"
>
<span>
课程信息
</span>
<div
class=
"text-subtitle2 text-weight-bold q-mb-md"
style=
"margin-top:20px"
>
<span
style=
"font-size:15px;"
>
课程信息
</span>
</div>
<div
class=
"q-mt-md"
>
<q-table
:pagination=
"pageInfo"
no-data-label=
"暂无相关数据"
flat
...
...
@@ -68,8 +66,9 @@
</
template
>
<
template
v-slot:body-cell-DiscountPrice=
"props"
>
<q-td
:props=
"props"
>
<span
style=
"width:80px;"
>
{{
props
.
row
.
DiscountPrice
.
toFixed
(
2
)
}}
</span>
<i
class=
"iconfont icon-edit"
@
click
.
stop=
"getClassItem(props.row)"
title=
"点击修改价格"
style=
"cursor:pointer;color:blue;font-size: 13px;"
>
修改价格
<span
style=
"display:inline-block;width:65px;"
>
{{
props
.
row
.
DiscountPrice
.
toFixed
(
2
)
}}
</span>
<i
class=
"iconfont icon-edit"
@
click
.
stop=
"getClassItem(props.row)"
title=
"点击修改价格"
style=
"cursor:pointer;color:blue;font-size: 14px;"
>
<span
style=
"font-size:13px;margin-left:3px;"
>
修改价格
</span>
<q-popup-proxy>
<q-banner
v-if=
"isShowEdit"
>
<div
class=
"calenderDialog"
style=
"width:300px;"
>
...
...
@@ -117,7 +116,7 @@
<
script
>
import
{
queryCourseOfferInfo
,
saveCourseOffer
saveCourseOffer
Price
}
from
"../../api/course/index"
;
export
default
{
...
...
@@ -238,6 +237,7 @@
OfferDetails
:
[],
JoinNum
:
tempObj
.
JoinNum
,
ApplyReason
:
tempObj
.
ApplyReason
,
CreateByName
:
tempObj
.
CreateByName
};
if
(
tempObj
.
OfferDetails
&&
tempObj
.
OfferDetails
.
length
>
0
)
{
this
.
model
.
OfferDetails
=
tempObj
.
OfferDetails
;
...
...
@@ -249,10 +249,11 @@
},
//修改报价单价格
saveOfferPrice
()
{
saveCourseOffer
(
this
.
model
).
then
(
r
=>
{
saveCourseOffer
Price
(
this
.
model
).
then
(
r
=>
{
this
.
$q
.
notify
({
icon
:
"iconfont icon-chenggong"
,
color
:
"positive"
,
// color: "positive",
color
:
'accent'
,
timeout
:
2000
,
message
:
"修改价格成功!"
,
position
:
"top"
,
...
...
@@ -268,4 +269,8 @@
</
script
>
<
style
></
style
>
<
style
>
.q-price-info
{
margin-bottom
:
20px
;
}
</
style
>
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