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
f6380281
Commit
f6380281
authored
Mar 17, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
57efa883
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
18 deletions
+31
-18
courseoffer.vue
src/pages/sale/courseoffer.vue
+2
-2
myoffer.vue
src/pages/sale/myoffer.vue
+29
-16
No files found.
src/pages/sale/courseoffer.vue
View file @
f6380281
...
...
@@ -128,9 +128,9 @@
label=
"客户名称"
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-select
filled
stack-label
use-input
option-value=
"Id"
clearable
@
input=
"resetSearch"
<q-select
filled
stack-label
use-input
input-debounce=
"0"
option-value=
"Id"
clearable
@
input=
"resetSearch"
option-label=
"EmployeeName"
v-model=
"msg.CreateBy"
:options=
"EmployeeList"
label=
"员工"
:dense=
"false"
emit-value
map-options
@
filter=
"filterFn"
>
emit-value
map-options
@
filter=
"filterFn"
>
<template
v-slot:no-option
>
<q-item>
<q-item-section
class=
"text-grey"
>
...
...
src/pages/sale/myoffer.vue
View file @
f6380281
...
...
@@ -119,6 +119,14 @@
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.Name"
label=
"报价单名称"
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.SerialNum"
label=
"流水号"
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.CustomerName"
label=
"客户名称"
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
</div>
</div>
<div
class=
"page-content"
>
...
...
@@ -149,13 +157,16 @@
<q-item-label>
详情
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"props.row.CustomerStatus==1||props.row.CustomerStatus==2"
<q-item
clickable
v-close-popup
v-if=
"props.row.CustomerStatus==1||props.row.CustomerStatus==2||props.row.CustomerStatus==6"
@
click=
"offerTransOrder(props.row)"
>
<q-item-section>
<q-item-label>
转订单
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"applyUpdatePrice(props.row)"
>
<q-item
clickable
v-close-popup
v-if=
"props.row.CustomerStatus==1||props.row.CustomerStatus==2||props.row.CustomerStatus==6"
@
click=
"applyUpdatePrice(props.row)"
>
<q-item-section>
<q-item-label>
申请改价
</q-item-label>
</q-item-section>
...
...
@@ -171,24 +182,24 @@
</
template
>
</q-table>
</div>
<!-- 新增修改报价单 -->
<q-dialog
v-model=
"showForm"
persistent
>
<quotation-form
:obj=
"offerObj"
@
save=
"refreshPage()"
></quotation-form>
</q-dialog>
<!-- 报价单转订单 -->
<q-dialog
v-model=
"showOrderForm"
persistent
>
<offertransorder-form
:obj=
"offerObj"
@
save=
"refreshPage()"
></offertransorder-form>
</q-dialog>
<!-- 查看报价单 -->
<viewquotation-form
v-if=
"isShowviewQuo"
:rId=
"rId"
:isShowCancle=
"0"
@
close=
"closeQuota"
>
</viewquotation-form>
<!-- 申请改价 -->
<q-dialog
v-model=
"isShowUpPrice"
persistent
>
<q-card
style=
"width: 500px;max-width:500px;"
class=
"CLM-Form"
>
<q-card-section>
<div
class=
"text-h6"
>
申请改价
</div>
</q-card-section>
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<div
class=
"row wrap"
>
<div
class=
"col-12"
>
<q-input
v-model=
"uppriceMsg.ApplyReason"
filled
type=
"textarea"
placeholder=
"改价原因"
/>
...
...
@@ -219,7 +230,7 @@
export
default
{
meta
:
{
title
:
"报价单"
title
:
"
我的
报价单"
},
components
:
{
quotationForm
,
...
...
@@ -237,7 +248,9 @@
rowsPerPage
:
10
,
Name
:
""
,
IsGetDetails
:
1
,
CreateBy
:
0
CreateBy
:
0
,
SerialNum
:
""
,
//流水号
CustomerName
:
""
,
//客户名称
},
pageCount
:
0
,
showForm
:
false
,
//是否显示报价单弹窗
...
...
@@ -326,9 +339,9 @@
isShowviewQuo
:
false
,
rId
:
0
,
isShowUpPrice
:
false
,
uppriceMsg
:{
Id
:
0
,
ApplyReason
:
''
uppriceMsg
:
{
Id
:
0
,
ApplyReason
:
''
}
}
},
...
...
@@ -345,8 +358,8 @@
this
.
isShowUpPrice
=
true
;
},
//提交改价原因
saveUpprice
(){
if
(
this
.
uppriceMsg
.
ApplyReason
==
''
)
{
saveUpprice
()
{
if
(
this
.
uppriceMsg
.
ApplyReason
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
...
...
@@ -355,9 +368,9 @@
return
;
}
SetApplyModifyPrice
(
this
.
uppriceMsg
).
then
(
res
=>
{
this
.
isShowUpPrice
=
false
;
this
.
uppriceMsg
.
ApplyReason
=
''
;
this
.
$q
.
notify
({
this
.
isShowUpPrice
=
false
;
this
.
uppriceMsg
.
ApplyReason
=
''
;
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
...
...
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