Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ee0e895c
authored
Jan 05, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
售前权益v1.1.0
1 parent
dd4fcae0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
9 deletions
src/views/beforeSale/editEquity.vue
src/views/beforeSale/equityList.vue
src/views/beforeSale/editEquity.vue
View file @
ee0e895
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
</el-select>
</el-select>
</
template
>
</
template
>
<
template
v-if=
"attr.attributeType == 'datePicker'"
>
<
template
v-if=
"attr.attributeType == 'datePicker'"
>
<el-date-picker
class=
"arrt_pannel"
:
disabled=
"
disabled"
@
change=
"getCurChangeDate($event, item, attr)"
v-model=
"productModal[item.idName][attr.attributeName]"
size=
"small"
type=
"date"
:placeholder=
"'请选择' + attr.attributeDesc"
></el-date-picker>
<el-date-picker
class=
"arrt_pannel"
:
picker-options=
"pickerOptions"
:disabled=
"disabled || attr.
disabled"
@
change=
"getCurChangeDate($event, item, attr)"
v-model=
"productModal[item.idName][attr.attributeName]"
size=
"small"
type=
"date"
:placeholder=
"'请选择' + attr.attributeDesc"
></el-date-picker>
</
template
>
</
template
>
</div>
</div>
</div>
</div>
...
@@ -522,7 +522,8 @@ export default {
...
@@ -522,7 +522,8 @@ export default {
label
:
'约定内容'
,
label
:
'约定内容'
,
name
:
'specialAppoint'
,
name
:
'specialAppoint'
,
type
:
'input'
,
type
:
'input'
,
inputType
:
'textarea'
inputType
:
'textarea'
,
isDisabled
:
true
,
}
}
],
],
// 店面信息
// 店面信息
...
@@ -672,7 +673,8 @@ export default {
...
@@ -672,7 +673,8 @@ export default {
caseTable
:
[],
caseTable
:
[],
checkCodeList
:
[],
checkCodeList
:
[],
rightDisable
:
false
,
rightDisable
:
false
,
leftDisable
:
false
leftDisable
:
false
,
pickerOptions
:{}
}
}
},
},
...
@@ -750,6 +752,7 @@ export default {
...
@@ -750,6 +752,7 @@ export default {
// 测试时使用
// 测试时使用
this
.
getSpeAgreeOptions
()
this
.
getSpeAgreeOptions
()
this
.
getStoreInfo
()
this
.
getStoreInfo
()
this
.
pickerOptions
=
this
.
setDateLimit
()
},
},
mounted
()
{
mounted
()
{
...
@@ -770,6 +773,15 @@ export default {
...
@@ -770,6 +773,15 @@ export default {
},
},
methods
:
{
methods
:
{
// 设置日期组件时间范围
setDateLimit
()
{
let
obj
=
{
disabledDate
(
time
)
{
return
time
.
getTime
()
==
Date
.
now
()
||
time
.
getTime
()
<
new
Date
().
getTime
()
}
}
return
obj
},
// 卡号获取期限
// 卡号获取期限
getDateList
(
seqNo
,
pack
,
attr
)
{
getDateList
(
seqNo
,
pack
,
attr
)
{
this
.
$apis
.
beforeSale
.
dateBycarNo
({
seqNo
}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
dateBycarNo
({
seqNo
}).
then
(
res
=>
{
...
@@ -1191,6 +1203,9 @@ export default {
...
@@ -1191,6 +1203,9 @@ export default {
if
(
ele
.
attributeName
==
'card'
)
{
if
(
ele
.
attributeName
==
'card'
)
{
ele
.
disabled
=
true
ele
.
disabled
=
true
}
}
if
(
ele
.
attributeName
==
'effective_date'
)
{
ele
.
disabled
=
true
}
})
})
}
}
return
item
return
item
...
@@ -1647,7 +1662,7 @@ export default {
...
@@ -1647,7 +1662,7 @@ export default {
// return true
// return true
// }
// }
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/beforeSale/
index
'
path
:
'/beforeSale/
checkSet
'
})
})
}
}
}
}
...
...
src/views/beforeSale/equityList.vue
View file @
ee0e895
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<
template
>
<
template
>
<div
class=
"before-sale"
>
<div
class=
"before-sale"
>
<div
class=
"flex m-b-10"
>
<div
class=
"flex m-b-10"
>
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新增权益
</el-button>
<!--
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新增权益
</el-button>
-->
<GLButton
:size=
"size"
fn=
"新增权益"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增权益
</GLButton>
<!--
<div
class=
"table-top-tips"
><span
class=
"el-icon-warning"
></span>
请注意:订单列表还有
{{
countNoData
}}
单未上传客户凭证等资料,若发生事故无法获得补偿,请尽快在列表操作-上传资料中完善。
</div>
-->
<!--
<div
class=
"table-top-tips"
><span
class=
"el-icon-warning"
></span>
请注意:订单列表还有
{{
countNoData
}}
单未上传客户凭证等资料,若发生事故无法获得补偿,请尽快在列表操作-上传资料中完善。
</div>
-->
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -21,12 +22,13 @@
...
@@ -21,12 +22,13 @@
<div
class=
"table_wrapper"
>
<div
class=
"table_wrapper"
>
<GLTable
ref=
"equityRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"equityRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<el-button
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</el-button>
<GLButton
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</GLButton>
<!--
<el-button
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</el-button>
-->
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<
el-button
v-if=
"[0].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</el-b
utton>
<
GLButton
v-if=
"[0].includes(scope.scope.orderStatus)"
fn=
"编辑"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLB
utton>
<
el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</el-b
utton>
<
GLButton
v-if=
"[2].includes(scope.scope.orderStatus)"
fn=
"修改"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</GLB
utton>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleBack(scope.scope)"
>
退单
</el-button>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleBack(scope.scope)"
>
退单
</el-button>
<
el-button
v-if=
"[3, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</el-b
utton>
<
GLButton
v-if=
"[3, 4, 5].includes(scope.scope.orderStatus)"
fn=
"重新提单"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</GLB
utton>
</div>
</div>
</GLTable>
</GLTable>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment