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 79b4e958
authored
Jul 21, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
弹窗改版-关联门店,多选商品,选择标签,sop,订单,专区管理
1 parent
1f5d9c98
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
30 additions
and
45 deletions
src/components/relate-store-dialog/index.vue
src/components/select-muti-pro/index.vue
src/components/selectMutiProDialog/index.vue
src/components/selectTag/index.vue
src/views/classifyList/editClassify.vue
src/views/orderManage/index.vue
src/views/sop/editSop/components/selectCrowd.vue
src/views/sop/editSop/components/selectCustomer.vue
src/views/zoneList/editZone.vue
src/components/relate-store-dialog/index.vue
View file @
79b4e95
<!-- 关联门店弹窗 -->
<
template
>
<
glsx-dialog
title=
"关联门店"
:isVisible
.
sync=
"relateStoreVisible"
width=
"70%"
btnOkLabel=
"关联"
@
confirmDialog=
"handleRelateStoreConfirm"
@
closeDialog
=
"handleRelateStoreClose"
class=
"relateStore"
>
<
GLDialog
bigTitle=
"关联门店"
mode=
"big"
:visible
.
sync=
"relateStoreVisible"
okText=
"关联"
@
onOk=
"handleRelateStoreConfirm"
@
onCancel
=
"handleRelateStoreClose"
class=
"relateStore"
>
<slot></slot>
<el-row>
<el-col
:span=
"12"
>
...
...
@@ -23,7 +23,7 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"merchantName"
label=
"商户名称"
align=
"center"
></el-table-column>
<el-table-column
label=
"删除"
align=
"center"
width=
"
5
0"
>
<el-table-column
label=
"删除"
align=
"center"
width=
"
7
0"
>
<
template
slot-scope=
"scope"
>
<el-button
style=
"padding: 0;"
class=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
type=
"text"
></el-button>
</
template
>
...
...
@@ -31,11 +31,10 @@
</el-table>
</el-col>
</el-row>
</
glsx-d
ialog>
</
GLD
ialog>
</template>
<
script
>
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
name
:
'relateStoreDialog'
,
data
()
{
...
...
@@ -83,10 +82,6 @@ export default {
// }
},
components
:
{
glsxDialog
},
mounted
()
{
this
.
selectedData
=
this
.
storeSelected
this
.
selectedData
.
forEach
(
item
=>
{
...
...
src/components/select-muti-pro/index.vue
View file @
79b4e95
<!-- 选择商品弹窗 -->
<
template
>
<
glsx-dialog
class=
"muti-pro"
title=
"选择商品"
:isVisible
.
sync=
"isMutiSelectVisible"
width=
"70%"
@
confirmDialog=
"handleMutiSelectConfirm"
@
closeDialog
=
"handleMutiSelectClose"
>
<
GLDialog
class=
"muti-pro"
bigTitle=
"选择商品"
mode=
"big"
:visible
.
sync=
"isMutiSelectVisible"
@
onOk=
"handleMutiSelectConfirm"
@
onCancel
=
"handleMutiSelectClose"
>
<div
class=
"flex"
>
<el-form
:inline=
"true"
:model=
"searchForm"
>
<el-form-item
label=
"商品名称:"
>
...
...
@@ -17,12 +17,11 @@
<img
class=
"m-t-10 img-60"
:src=
"scope.scope.coverImgUrl"
/>
</span>
</GLTable>
</
glsx-d
ialog>
</
GLD
ialog>
</
template
>
<
script
>
// import { getGoodsList } from '@/api/modules/common'
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
name
:
'selectMutiProDialog'
,
data
()
{
...
...
@@ -84,10 +83,6 @@ export default {
}
},
components
:
{
glsxDialog
},
mounted
()
{
this
.
getList
({},
true
)
},
...
...
src/components/selectMutiProDialog/index.vue
View file @
79b4e95
<!-- 选择商品弹窗 -->
<
template
>
<
glsx-dialog
class=
"muti-pro"
title=
"选择商品"
:isVisible
.
sync=
"isMutiSelectVisible"
:btnOkLabel=
"productList.length ? '确定' : '创建商品'"
width=
"70%"
@
confirmDialog=
"handleMutiSelectConfirm"
@
closeDialog
=
"handleMutiSelectClose"
v-loading=
"loading"
>
<
GLDialog
class=
"muti-pro"
bigTitle=
"选择商品"
mode=
"big"
:visible
.
sync=
"isMutiSelectVisible"
:okText=
"productList.length ? '确定' : '创建商品'"
@
onOk=
"handleMutiSelectConfirm"
@
onCancel
=
"handleMutiSelectClose"
v-loading=
"loading"
>
<div
class=
"noproDiv"
v-show=
"!productList.length && fnCallBack"
>
<img
src=
"@/assets/noPro.png"
/>
<p
class=
"noproP"
>
系统暂无已创建的商品
</p>
...
...
@@ -13,19 +13,17 @@
</span>
</GLTable>
</div>
</
glsx-d
ialog>
</
GLD
ialog>
</
template
>
<
script
>
// import { getGoodsList } from '@/api/modules/common'
import
url
from
'@/assets/empty.png'
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
name
:
'selectMutiProDialog'
,
data
()
{
return
{
// 表格组件
// getListApi: this.$apis.common.getGoodsListApi,
userInfo
:
{},
productList
:
[],
fnCallBack
:
false
,
...
...
@@ -77,10 +75,6 @@ export default {
}
},
components
:
{
glsxDialog
},
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
getList
({},
true
)
...
...
src/components/selectTag/index.vue
View file @
79b4e95
<
template
>
<div
class=
"tag-main select-tag"
>
<
el-dialog
title=
"选择标签"
:visible
.
sync=
"dialogVisible"
width=
"70%
"
:before-close=
"handleClose"
>
<
GLDialog
bigTitle=
"选择标签"
mode=
"big"
:visible
.
sync=
"dialogVisible
"
:before-close=
"handleClose"
>
<div
class=
"tag-panel"
>
<div
class=
"tag-panel-select"
>
<div
class=
"tag-title"
>
预选标签
</div>
...
...
@@ -52,7 +52,7 @@
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSelect"
>
确 定
</el-button>
</span>
</
el-d
ialog>
</
GLD
ialog>
</div>
</
template
>
...
...
src/views/classifyList/editClassify.vue
View file @
79b4e95
...
...
@@ -174,7 +174,7 @@ export default {
this
.
$messageBox
.
confirm
(
'是否删除该商品?'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
// type: 'error
',
type
:
'warning
'
,
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
var
idx
=
this
.
editForm
.
goodsRefList
.
findIndex
(
item
=>
item
.
id
==
obj
.
scope
.
id
)
...
...
@@ -220,12 +220,13 @@ export default {
this
.
$confirm
(
'当前有内容信息未保存,是否继续返回?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
,
customClass
:
'gl-message-box'
})
.
then
(()
=>
{
this
.
cancelJump
()
})
.
catch
(()
=>
{})
.
catch
(()
=>
{
})
}
else
{
this
.
cancelJump
()
}
...
...
src/views/orderManage/index.vue
View file @
79b4e95
...
...
@@ -51,15 +51,15 @@
<!-- 表格区域 - 全部订单/售后订单 - end -->
</div>
<!-- 快递信息 -->
<
glsx-dialog
v-if=
"isExpressVisible"
title=
"输入快递信息"
:isVisible
.
sync=
"isExpressVisible"
@
confirmDialog=
"handleExpressConfirm"
@
closeDialog
=
"handleExpressClose"
>
<glsx-combi-form
ref=
"expressRef"
:isEdit=
"isEdit
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"expressForm"
:formData=
"expressFormData"
:formRules=
"expressRules"
></glsx-combi-form>
</
glsx-d
ialog>
<
GLDialog
v-if=
"isExpressVisible"
title=
"输入快递信息"
mode=
"small"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isExpressVisible"
@
onOk=
"handleExpressConfirm"
@
onCancel
=
"handleExpressClose"
>
<glsx-combi-form
class=
"small-content"
ref=
"expressRef"
labelWidth=
"100px
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"expressForm"
:formData=
"expressFormData"
:formRules=
"expressRules"
></glsx-combi-form>
</
GLD
ialog>
<!-- 订单核销 -->
<
glsx-dialog
v-if=
"isWriteOffVisible"
title=
"订单核销(请确保用户到店后核销,避免引起不必要问题)"
:isVisible
.
sync=
"isWriteOffVisible"
@
confirmDialog=
"handleWriteOffConfirm"
@
closeDialog
=
"handleWriteOffClose"
>
<glsx-combi-form
ref=
"writeOffRef"
:isEdit=
"isEdit
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"writeOffForm"
:formData=
"writeOffFormData"
:formRules=
"writeOffRules"
></glsx-combi-form>
</
glsx-d
ialog>
<
GLDialog
v-if=
"isWriteOffVisible"
title=
"订单核销(请确保用户到店后核销,避免引起不必要问题)"
mode=
"small"
okText=
"确定"
cancelText=
"取消"
:visible
.
sync=
"isWriteOffVisible"
@
onOk=
"handleWriteOffConfirm"
@
onCancel
=
"handleWriteOffClose"
>
<glsx-combi-form
class=
"small-content"
ref=
"writeOffRef"
labelWidth=
"100px
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"writeOffForm"
:formData=
"writeOffFormData"
:formRules=
"writeOffRules"
></glsx-combi-form>
</
GLD
ialog>
<!-- 退款审核 -->
<
glsx-dialog
v-if=
"isExamineVisible"
title=
"退款审核"
width=
"50%"
:isVisible
.
sync=
"isExamineVisible"
@
confirmDialog=
"handleExamineConfirm"
@
closeDialog
=
"handleExamineClose"
>
<
GLDialog
v-if=
"isExamineVisible"
bigTitle=
"退款审核"
mode=
"big"
:visible
.
sync=
"isExamineVisible"
@
onOk=
"handleExamineConfirm"
@
onCancel
=
"handleExamineClose"
>
<el-form
label-width=
"144px"
>
<el-form-item
label=
"售后类型"
>
<span>
{{ orderInfo.refundTypeName }}
</span>
...
...
@@ -88,9 +88,9 @@
<glsx-combi-form
ref=
"examineRef"
:isEdit=
"isEdit"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"examineForm"
:formData=
"examineFormData"
:formRules=
"examineRules"
></glsx-combi-form>
</
template
>
</el-form>
</
glsx-d
ialog>
</
GLD
ialog>
<!-- 确认收货 -->
<
glsx-dialog
v-if=
"isReceivingVisible"
title=
"确认收货"
width=
"50%"
:isVisible
.
sync=
"isReceivingVisible"
@
confirmDialog=
"handleReceivingConfirm"
@
closeDialog
=
"handleReceivingClose"
>
<
GLDialog
v-if=
"isReceivingVisible"
bigTitle=
"确认收货"
mode=
"big"
:visible
.
sync=
"isReceivingVisible"
@
onOk=
"handleReceivingConfirm"
@
onCancel
=
"handleReceivingClose"
>
<el-form
label-width=
"140px"
>
<el-form-item
label=
"售后类型"
>
<span>
{{ orderInfo.refundTypeName }}
</span>
...
...
@@ -111,7 +111,7 @@
<span>
{{ orderInfo.deliveryNumber }}
</span>
</el-form-item>
</el-form>
</
glsx-d
ialog>
</
GLD
ialog>
</div>
</template>
...
...
src/views/sop/editSop/components/selectCrowd.vue
View file @
79b4e95
<
template
>
<div
class=
"select-crowd"
>
<
el-dialog
title=
"选择人群"
:visible=
"dialogVisible"
width=
"1080px"
:before-close=
"handleClose"
:close-on-click-modal=
"fal
se"
>
<
GLDialog
bigTitle=
"选择人群"
mode=
"big"
:visible
.
sync=
"dialogVisible"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
@
onOk=
"handleConfirm"
@
onCancel=
"handleClo
se"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"getList"
>
查询
</el-button>
...
...
@@ -11,11 +11,11 @@
<el-radio
v-model=
"selectedCrowdId"
:label=
"scope.scope.crowdId"
@
click
.
native=
"handleClick(scope.scope)"
></el-radio>
</div>
</GLTable>
<span
slot=
"footer"
class=
"dialog-footer"
>
<
!--
<
span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"handleClose"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleConfirm"
>
确 定
</el-button>
</span>
</
el-d
ialog>
</span>
-->
</
GLD
ialog>
</div>
</
template
>
...
...
src/views/sop/editSop/components/selectCustomer.vue
View file @
79b4e95
<
template
>
<div
class=
"select-cutomer"
>
<
el-dialog
title=
"选择客户"
:visible=
"dialogVisible"
width=
"1080px
"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
>
<
GLDialog
bigTitle=
"选择客户"
mode=
"big"
:visible=
"dialogVisible
"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
...
...
@@ -25,7 +25,7 @@
<el-button
size=
"small"
@
click=
"handleClose"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleConfirm"
>
确 定
</el-button>
</span>
</
el-d
ialog>
</
GLD
ialog>
</div>
</
template
>
...
...
src/views/zoneList/editZone.vue
View file @
79b4e95
...
...
@@ -178,7 +178,7 @@ export default {
this
.
$messageBox
.
confirm
(
'是否删除该门店?'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
// type: 'error
',
type
:
'warning
'
,
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
var
idx
=
this
.
editForm
.
merchantList
.
findIndex
(
item
=>
item
.
merchantNo
==
obj
.
scope
.
merchantNo
)
...
...
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