Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 c138b88d
authored
Aug 19, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
表单改版,定向礼包,商品管理
1 parent
f389742e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
24 deletions
src/assets/css/public.scss
src/views/giftBag/editGift.vue
src/views/giftBag/receivedGiftList.vue
src/views/orderManage/index.vue
src/views/productGroup/editProduct.vue
src/assets/css/public.scss
View file @
c138b88
...
...
@@ -284,10 +284,6 @@ html {
margin-bottom
:
20px
;
}
.marketing
.m-t-20
{
margin-top
:
20px
;
}
.marketing
.m-b-60
{
margin-bottom
:
60px
;
}
...
...
src/views/giftBag/editGift.vue
View file @
c138b88
...
...
@@ -17,10 +17,10 @@
</div>
-->
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
v-loading=
"loading"
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
:labelWidth=
"
l
abelWidth"
defaultWidth=
"415px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
v-loading=
"loading"
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
:labelWidth=
"
defaultL
abelWidth"
defaultWidth=
"415px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
slot=
"remarkName"
class=
"edit-tips m-t-8"
>
可根据备注名称进行查找,仅作内部查看,不展示给客户
</div>
<el-button
slot=
"selectGiftBtn"
:disabled=
"routeInfo.receivedStock"
class=
"default-blue-btn"
@
click=
"handleGiftAdd"
>
选择礼包内容
</el-button>
<div
slot=
"couponListBlock"
class=
"gift-block"
:style=
"
{ 'margin-left':
l
abelWidth }" v-show="editForm.couponList
&&
editForm.couponList.length != 0">
<div
slot=
"couponListBlock"
class=
"gift-block"
:style=
"
{ 'margin-left':
defaultL
abelWidth }" v-show="editForm.couponList
&&
editForm.couponList.length != 0">
<div
class=
"gift-title"
>
预估成本:
<span
class=
"price"
>
{{
totalEstimatedCost
}}
</span>
...
...
@@ -92,7 +92,7 @@
</span>
<!--
<div
slot=
"receiveDetails"
class=
"edit-tips m-t-8"
>
客户需要输入该
{{
editForm
.
receiveWay
==
'1'
?
'手机号'
:
'车架号后6位'
}}
才能成功领取
</div>
-->
<el-button
slot=
"selectStaffBtn"
:disabled=
"routeInfo.receivedStock"
class=
"el-icon-plus"
@
click=
"handleSelectStaff"
>
选择员工
</el-button>
<div
slot=
"staffListBlock"
class=
"sale-select"
:style=
"
{ 'margin-left':
l
abelWidth }" v-show="editForm.staffList
&&
editForm.staffList.length != 0
&&
editForm.receiveRule !== 4">
<div
slot=
"staffListBlock"
class=
"sale-select"
:style=
"
{ 'margin-left':
defaultL
abelWidth }" v-show="editForm.staffList
&&
editForm.staffList.length != 0
&&
editForm.receiveRule !== 4">
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in editForm.staffList"
:key=
"idx"
:closable=
"!routeInfo.receivedStock"
:disable-transitions=
"false"
@
close=
"handleStaffRemove(tag, idx)"
>
<i
class=
"el-icon-user-solid"
></i>
...
...
@@ -157,7 +157,6 @@ export default {
id
:
''
},
editStatus
:
false
,
labelWidth
:
'144px'
,
receiveWay
:
1
,
curStock
:
0
,
curReceiveRule
:
0
,
...
...
src/views/giftBag/receivedGiftList.vue
View file @
c138b88
...
...
@@ -41,15 +41,13 @@
</GLTable>
<!-- 表格区域 end -->
</div>
<GLDialog
title=
"作废确认"
mode=
"small"
:visible
.
sync=
"isCancelVisible"
@
onOk=
"handleCancelConfirm"
@
onCancel=
"handleCancelClose"
>
<div
class=
"small-content"
>
<p>
请先和客户沟通再确认,避免引起客诉,作废后客户将不可使用该礼包下所有优惠卷
</p>
<el-form
ref=
"cancelRef"
label-width=
"80px"
:rules=
"cancelRules"
:model=
"cancelForm"
>
<el-form-item
label=
"作废原因"
prop=
"cancelReason"
class=
"m-t-20"
>
<el-input
style=
"width: 410px;"
:size=
"size"
type=
"textarea"
v-model=
"cancelForm.cancelReason"
placeholder=
"请输入作废原因"
maxlength=
"50"
rows=
"3"
show-word-limit
></el-input>
</el-form-item>
</el-form>
</div>
<GLDialog
title=
"作废确认"
mode=
"mid"
:visible
.
sync=
"isCancelVisible"
@
onOk=
"handleCancelConfirm"
@
onCancel=
"handleCancelClose"
>
<p
class=
"m-t-20"
style=
"padding-left: 76px;"
>
请先和客户沟通再确认,避免引起客诉,作废后客户将不可使用该礼包下所有优惠卷
</p>
<el-form
ref=
"cancelRef"
label-width=
"154px"
:rules=
"cancelRules"
:model=
"cancelForm"
>
<el-form-item
label=
"作废原因"
prop=
"cancelReason"
class=
"m-t-20"
>
<el-input
style=
"width: 432px;"
:size=
"size"
type=
"textarea"
v-model=
"cancelForm.cancelReason"
placeholder=
"请输入作废原因"
maxlength=
"50"
rows=
"3"
show-word-limit
></el-input>
</el-form-item>
</el-form>
</GLDialog>
</div>
</
template
>
...
...
src/views/orderManage/index.vue
View file @
c138b88
...
...
@@ -60,12 +60,12 @@
<!-- 表格区域 - 全部订单/售后订单 - end -->
</div>
<!-- 快递信息 -->
<GLDialog
v-if=
"isExpressVisible"
title=
"输入快递信息"
mode=
"
small
"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isExpressVisible"
@
onOk=
"handleExpressConfirm"
@
onCancel=
"handleExpressClose"
>
<glsx-combi-form
class=
"small-content
"
ref=
"expressRef"
defaultWidth=
"284px
"
:isBlock=
"true"
:isEdit=
"isEdit"
:formRef=
"editChildRef"
:formObj=
"expressForm"
:formData=
"expressFormData"
:formRules=
"expressRules"
></glsx-combi-form>
<GLDialog
v-if=
"isExpressVisible"
title=
"输入快递信息"
mode=
"
mid
"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isExpressVisible"
@
onOk=
"handleExpressConfirm"
@
onCancel=
"handleExpressClose"
>
<glsx-combi-form
class=
"small-content
m-t-20"
ref=
"expressRef
"
:isBlock=
"true"
:isEdit=
"isEdit"
:formRef=
"editChildRef"
:formObj=
"expressForm"
:formData=
"expressFormData"
:formRules=
"expressRules"
></glsx-combi-form>
</GLDialog>
<!-- 订单核销 -->
<GLDialog
v-if=
"isWriteOffVisible"
title=
"订单核销(请确保用户到店后核销,避免引起不必要问题)"
mode=
"
small
"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isWriteOffVisible"
@
onOk=
"handleWriteOffConfirm"
@
onCancel=
"handleWriteOffClose"
>
<glsx-combi-form
class=
"small-content
"
ref=
"writeOffRef"
defaultWidth=
"284px
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"writeOffForm"
:formData=
"writeOffFormData"
:formRules=
"writeOffRules"
></glsx-combi-form>
<GLDialog
v-if=
"isWriteOffVisible"
title=
"订单核销(请确保用户到店后核销,避免引起不必要问题)"
mode=
"
mid
"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isWriteOffVisible"
@
onOk=
"handleWriteOffConfirm"
@
onCancel=
"handleWriteOffClose"
>
<glsx-combi-form
class=
"small-content
m-t-20"
ref=
"writeOffRef
"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"writeOffForm"
:formData=
"writeOffFormData"
:formRules=
"writeOffRules"
></glsx-combi-form>
</GLDialog>
<!-- 退款审核 -->
<GLDialog
v-if=
"isExamineVisible"
bigTitle=
"退款审核"
mode=
"big"
:visible
.
sync=
"isExamineVisible"
@
onOk=
"handleExamineConfirm"
@
onCancel=
"handleExamineClose"
>
...
...
src/views/productGroup/editProduct.vue
View file @
c138b88
...
...
@@ -191,8 +191,8 @@
</div>
<div
slot=
"merchantTable"
class=
"select-merchant"
v-show=
"editForm.takeAllMerchant == '0'"
:style=
"{ 'margin-left': defaultLabelWidth, width: `calc(100% - ${defaultLabelWidth} - 10px )` }"
>
<GLTable
v-show=
"editForm.supplyMerchantList.length"
ref=
"merchantTableRef"
:tableParams=
"tableParams"
:tableData=
"editForm.supplyMerchantList"
:hasPage=
"false"
>
<span
slot=
"
auth-butto
n"
slot-scope=
"scope"
>
<el-button
:disabled=
"isDisabled"
type=
"text"
@
click=
"handleMerchantDelete(scope)"
>
删除
</el-button>
<span
slot=
"
customBt
n"
slot-scope=
"scope"
>
<el-button
class=
"p-0"
:disabled=
"isDisabled"
type=
"text"
@
click=
"handleMerchantDelete(scope)"
>
删除
</el-button>
</span>
</GLTable>
</div>
...
...
@@ -436,11 +436,15 @@ export default {
selectedList
:
[],
// 门店表格
tableParams
:
{
tableOption
:
true
,
tableColumns
:
[
{
label
:
'门店名称'
,
prop
:
'merchantName'
},
{
label
:
'操作'
,
prop
:
''
,
addHtml
:
'customBtn'
}
]
},
...
...
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