Commit 0a114c46 by 胡悦

Merge branch 'chenwq_dev_v2.9.0' into 'v2.9.0'

Chenwq dev v2.9.0

See merge request !339
2 parents c88e7de1 c7f53799
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.5.1", "glsx-components": "^1.5.2",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"node-sass": "^4.0.0", "node-sass": "^4.0.0",
"vue": "^2.6.10", "vue": "^2.6.10",
......
<template> <template>
<div v-if="provinceView"> <div v-if="provinceView">
<el-form ref="provinceForm" :model="provinceForm" inline="true" class="province"> <el-form ref="provinceForm" :model="provinceForm" inline="true" class="province" style="padding-left: 0;">
<el-select size="small" v-model="provinceForm.provinceName" clearable :disabled="isDisabled" placeholder="选择省份" :style="{ width: defaultWidth }" @change="selectProvince" class="select-padding"> <el-select size="small" v-model="provinceForm.provinceName" clearable :disabled="isDisabled" placeholder="选择省份" :style="{ width: defaultWidth }" @change="selectProvince" class="select-padding">
<el-option v-for="item in AllData" :key="item.adcode" :label="item.name" :value="item.name" @click.native="selectProvince(item)"></el-option> <el-option v-for="item in AllData" :key="item.adcode" :label="item.name" :value="item.name" @click.native="selectProvince(item)"></el-option>
</el-select> </el-select>
...@@ -160,9 +160,12 @@ export default { ...@@ -160,9 +160,12 @@ export default {
} }
} }
</script> </script>
<style scoped lang="scss"> <style lang="scss">
.province { .province {
display: inline-flex; display: inline-flex;
.el-select .el-input {
width: auto !important;
}
} }
.select-padding { .select-padding {
margin-right: 10px; margin-right: 10px;
......
...@@ -104,8 +104,8 @@ ...@@ -104,8 +104,8 @@
</el-form-item> </el-form-item>
</template> </template>
<template slot="denominationHtml"> <template slot="denominationHtml">
<el-input v-model="editForm.denomination" id="denomination" style="width: 150px" :disabled="apear != 'couponAdd'" @blur.native.capture="editForm.useChannel == 1 && denominationBlur($event)"> <el-input v-model="editForm.denomination" id="denomination" placeholder="请输入面值" :disabled="apear != 'couponAdd'" @blur.native.capture="editForm.useChannel == 1 && denominationBlur($event)">
<span slot="append">元</span> <!-- <span slot="append">元</span> -->
</el-input> </el-input>
<span style="color: red; margin-left: 15px" v-if="priceFlag && editForm.useChannel == 1">{{ <span style="color: red; margin-left: 15px" v-if="priceFlag && editForm.useChannel == 1">{{
selectedAllProList.length ? '存在零售价低于代金券的商品' : '系统暂无已创建的商品,请先创建好商品后再配置代金券' selectedAllProList.length ? '存在零售价低于代金券的商品' : '系统暂无已创建的商品,请先创建好商品后再配置代金券'
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
<template slot="stock" slot-scope="scope"> <template slot="stock" slot-scope="scope">
<span v-if="$isGroupUp">无库存限制</span> <span v-if="$isGroupUp">无库存限制</span>
<el-input :disabled="apear != 'couponAdd'" v-else class="w-150" v-model="editForm[scope.scope.name]" placeholder="请输入库存"> <el-input :disabled="apear != 'couponAdd'" v-else class="w-150" v-model="editForm[scope.scope.name]" placeholder="请输入库存">
<span slot="suffix">张</span> <!-- <span slot="suffix">张</span> -->
</el-input> </el-input>
</template> </template>
<!-- 只有使用途径为线上商品时才有效,到店核销时屏蔽 --> <!-- 只有使用途径为线上商品时才有效,到店核销时屏蔽 -->
...@@ -266,6 +266,7 @@ export default { ...@@ -266,6 +266,7 @@ export default {
label: '预估成本/元', label: '预估成本/元',
name: 'anticipatedCost', name: 'anticipatedCost',
type: 'input', type: 'input',
placeholder: '请输入预估成本',
isDisabled: false isDisabled: false
}, },
{ {
...@@ -296,12 +297,12 @@ export default { ...@@ -296,12 +297,12 @@ export default {
isHide: true isHide: true
}, },
{ {
label: '面值', label: '面值/元',
name: 'denomination', name: 'denomination',
addHtml: 'denominationHtml' addHtml: 'denominationHtml'
}, },
{ {
label: '库存', label: '库存/张',
name: 'stock', name: 'stock',
addHtml: 'stock' addHtml: 'stock'
// width: '150px', // width: '150px',
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
<template slot="stock" slot-scope="scope"> <template slot="stock" slot-scope="scope">
<span v-if="$isGroupUp">无库存限制</span> <span v-if="$isGroupUp">无库存限制</span>
<el-input :disabled="apear != 'couponAdd'" v-else class="w-150" v-model="editForm[scope.scope.name]" placeholder="请输入库存"> <el-input :disabled="apear != 'couponAdd'" v-else class="w-150" v-model="editForm[scope.scope.name]" placeholder="请输入库存">
<span slot="suffix">张</span> <!-- <span slot="suffix">张</span> -->
</el-input> </el-input>
</template> </template>
<template slot="useDescriptionHtml"> <template slot="useDescriptionHtml">
...@@ -200,13 +200,14 @@ export default { ...@@ -200,13 +200,14 @@ export default {
label: '预估成本/元', label: '预估成本/元',
name: 'anticipatedCost', name: 'anticipatedCost',
type: 'input', type: 'input',
isDisabled: false isDisabled: false,
placeholder: '请输入预估成本'
}, },
{ {
label: '优惠内容', label: '优惠内容/折',
name: 'discountIntensity', name: 'discountIntensity',
type: 'input', type: 'input',
append: '折' placeholder: '请输入优惠内容'
}, },
{ {
label: '使用限制', label: '使用限制',
...@@ -214,7 +215,7 @@ export default { ...@@ -214,7 +215,7 @@ export default {
addHtml: 'useLimitHtml' addHtml: 'useLimitHtml'
}, },
{ {
label: '库存', label: '库存/张',
name: 'stock', name: 'stock',
addHtml: 'stock' addHtml: 'stock'
// width: '180px', // width: '180px',
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<template slot="stock" slot-scope="scope"> <template slot="stock" slot-scope="scope">
<span v-if="$isGroupUp">无库存限制</span> <span v-if="$isGroupUp">无库存限制</span>
<el-input :disabled="apear != 'couponAdd'" v-else class="w-150" v-model="editForm[scope.scope.name]" placeholder="请输入库存"> <el-input :disabled="apear != 'couponAdd'" v-else class="w-150" v-model="editForm[scope.scope.name]" placeholder="请输入库存">
<span slot="suffix">张</span> <!-- <span slot="suffix">张</span> -->
</el-input> </el-input>
</template> </template>
<template slot="directionalFlagHtml"> <template slot="directionalFlagHtml">
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
isDisabled: false isDisabled: false
}, },
{ {
label: '库存', label: '库存/张',
name: 'stock', name: 'stock',
addHtml: 'stock' addHtml: 'stock'
// width: '180px', // width: '180px',
......
...@@ -60,24 +60,22 @@ ...@@ -60,24 +60,22 @@
</el-radio-group> </el-radio-group>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item v-if="!$isGroupUp" size="small" label="会员价:" prop="vipPrice"> <el-form-item v-if="!$isGroupUp" size="small" label="会员价/元:" prop="vipPrice">
<el-input size="small" :disabled="disabledContent" maxlength="8" v-model="ruleForm.vipPrice" placeholder="请输入" @keyup.native="ruleForm.vipPrice = oninput(ruleForm.vipPrice)"> <el-input size="small" :disabled="disabledContent" maxlength="8" v-model="ruleForm.vipPrice" placeholder="请输入会员价" @keyup.native="ruleForm.vipPrice = oninput(ruleForm.vipPrice)">
<!-- <template slot="append">元</template> --> <!-- <span slot="suffix" class="suffix-label">元</span> -->
<span slot="suffix" class="suffix-label">元</span>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="!$isGroupUp" size="small" label="门店价:" prop="shopPrice"> <el-form-item v-if="!$isGroupUp" size="small" label="门店价/元:" prop="shopPrice">
<el-input size="small" :disabled="disabledContent" maxlength="8" v-model="ruleForm.shopPrice" placeholder="请输入" @keyup.native="ruleForm.shopPrice = oninput(ruleForm.shopPrice)"> <el-input size="small" :disabled="disabledContent" maxlength="8" v-model="ruleForm.shopPrice" placeholder="请输入门店价" @keyup.native="ruleForm.shopPrice = oninput(ruleForm.shopPrice)">
<!-- <template slot="append">元</template> --> <!-- <span slot="suffix" class="suffix-label">元</span> -->
<span slot="suffix" class="suffix-label">元</span>
</el-input> </el-input>
</el-form-item> </el-form-item>
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 --> <!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<el-form-item size="small" label="库存:" prop="stock"> <el-form-item size="small" label="库存/张:" prop="stock">
<!-- <el-input size="small" :disabled="title == '查看'" maxlength="6" v-model.number="ruleForm.stock" placeholder="请输入"></el-input> --> <!-- <el-input size="small" :disabled="title == '查看'" maxlength="6" v-model.number="ruleForm.stock" placeholder="请输入"></el-input> -->
<span v-if="$isGroupUp">无库存限制</span> <span v-if="$isGroupUp">无库存限制</span>
<el-input :disabled="title == '查看'" v-else class="w-150" v-model="ruleForm.stock" placeholder="请输入库存"> <el-input :disabled="title == '查看'" v-else class="w-150" v-model="ruleForm.stock" placeholder="请输入库存">
<span slot="suffix">张</span> <!-- <span slot="suffix">张</span> -->
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item size="small" label="使用说明:" prop="useDescription"> <el-form-item size="small" label="使用说明:" prop="useDescription">
......
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
<!-- 基础信息 --> <!-- 基础信息 -->
<div class="title">基础信息</div> <div class="title">基础信息</div>
<div class="info-box"> <div class="info-box">
<div class="info-content"> <div class="info-content gl-form-page">
<el-form class="basic-form" :model="basicForm" :rules="basicRules" ref="basicForm" label-width="120px"> <el-form class="basic-form" :model="basicForm" :rules="basicRules" ref="basicForm" label-width="154px">
<el-form-item prop="userList"> <el-form-item prop="userList">
<label slot="label" class="required">选择群发账号</label> <label slot="label" class="required">选择群发账号:</label>
<el-button size="small" :disabled="isSelectCrowd" @click="openMembers"> <el-button size="small" :disabled="isSelectCrowd" @click="openMembers">
<i class="el-icon-plus"></i> <i class="el-icon-plus"></i>
选择成员 选择成员
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="选择客户" prop="selectType"> <el-form-item label="选择客户:" prop="selectType">
<el-radio-group v-model="basicForm.selectType" @change="radioChange"> <el-radio-group v-model="basicForm.selectType" @change="radioChange">
<el-radio :label="1">全部客户</el-radio> <el-radio :label="1">全部客户</el-radio>
<el-radio :label="2">筛选客户</el-radio> <el-radio :label="2">筛选客户</el-radio>
...@@ -95,13 +95,18 @@ ...@@ -95,13 +95,18 @@
<!-- 编辑入群欢迎语 --> <!-- 编辑入群欢迎语 -->
<div class="title">编辑群发内容</div> <div class="title">编辑群发内容</div>
<div class="group-content"> <div class="group-content">
<el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="120px"> <el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="154px">
<el-form-item prop="attachmentList"> <el-form-item prop="attachmentList">
<label slot="label" class="required">群发内容</label> <label slot="label" class="required">群发内容:</label>
<GLEditor ref="welcome" :form="'customer'" style="line-height: 12px;" :btnList="btnList" @previewWord="previewForm"></GLEditor> <GLEditor ref="welcome" :form="'customer'" style="line-height: 12px;" :btnList="btnList" @previewWord="previewForm"></GLEditor>
<div v-show="attachmentShow" class="el-form-item__error">{{ attachmentText }}</div> <div v-show="attachmentShow" class="el-form-item__error">{{ attachmentText }}</div>
</el-form-item> </el-form-item>
<el-form-item label="发送时间" prop="sendType"> <div class="transform-text">
<div class="tips-icon"><img src="@/assets/guestCustom/tips.png" alt /></div>
<span>每位客户每天可接收1条群发消息,超过接收上限的客户将无法再收到群发消息。</span>
<!-- <span v-if="form == 'customerGroup'">每个客户群每天可接收1条群发消息,超过接收上限的客户群将无法再收到群发消息。</span> -->
</div>
<el-form-item label="发送时间:" prop="sendType">
<el-radio-group v-model="basicForm.sendType"> <el-radio-group v-model="basicForm.sendType">
<el-radio :label="1">立即发送</el-radio> <el-radio :label="1">立即发送</el-radio>
<el-radio :label="2">定时发送</el-radio> <el-radio :label="2">定时发送</el-radio>
...@@ -454,7 +459,7 @@ export default { ...@@ -454,7 +459,7 @@ export default {
if (previewList.length != 0) { if (previewList.length != 0) {
this.basicForm.attachmentList = previewList this.basicForm.attachmentList = previewList
} }
if (this.basicForm.attachmentList && this.basicForm.attachmentList.length && this.basicForm.attachmentList[0].attType == 1 && this.basicForm.attachmentList[0].attContent != "") { if (this.basicForm.attachmentList && this.basicForm.attachmentList.length && this.basicForm.attachmentList[0].attType == 1 && this.basicForm.attachmentList[0].attContent != '') {
if (this.basicForm.attachmentList.length > 9) { if (this.basicForm.attachmentList.length > 9) {
return (this.attachmentText = '附件不可超过9个') return (this.attachmentText = '附件不可超过9个')
} else { } else {
...@@ -816,10 +821,6 @@ export default { ...@@ -816,10 +821,6 @@ export default {
.basic-form { .basic-form {
padding: 32px 0 20px 20px; padding: 32px 0 20px 20px;
/deep/.el-input {
width: 320px;
}
} }
} }
} }
...@@ -835,6 +836,32 @@ export default { ...@@ -835,6 +836,32 @@ export default {
} }
} }
.transform-text {
display: flex;
// align-items: center;
justify-self: center;
color: #000;
font-size: 14px;
padding: 10px 16px;
background-color: rgba(230, 233, 255, 0.49);
border: 1px solid rgba(88, 80, 255, 0.49);
border-radius: 4px;
line-height: 20px;
margin-left: 154px;
width: 580px;
box-sizing: border-box;
.tips-icon {
display: flex;
align-items: center;
height: 20px;
img {
width: 14px;
height: 14px;
margin-right: 8px;
}
}
}
.footer-panel { .footer-panel {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -942,7 +969,7 @@ export default { ...@@ -942,7 +969,7 @@ export default {
} }
.group-content { .group-content {
padding: 22px 0 20px 20px; padding: 22px 0 20px 0;
} }
.tips-text { .tips-text {
......
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
<!-- 基础信息 --> <!-- 基础信息 -->
<div class="title">基础信息</div> <div class="title">基础信息</div>
<div class="info-box"> <div class="info-box">
<div class="info-content"> <div class="info-content gl-form-page">
<el-form :model="basicForm" class="basic-form" :rules="basicRules" ref="basicForm" label-width="120px"> <el-form :model="basicForm" class="basic-form" :rules="basicRules" ref="basicForm" label-width="154px">
<el-form-item label="群发名称" prop="massName"> <el-form-item label="群发名称:" prop="massName">
<el-input v-model="basicForm.massName" :size="size" placeholder="群发名称仅内部可见" maxlength="10"></el-input> <el-input v-model="basicForm.massName" :size="size" placeholder="群发名称仅内部可见" maxlength="10"></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="userList"> <el-form-item prop="userList">
<label slot="label" class="required">选择群主</label> <label slot="label" class="required">选择群主:</label>
<el-button size="small" @click="openMembers"> <el-button size="small" @click="openMembers">
<i class="el-icon-plus"></i> <i class="el-icon-plus"></i>
全部账号 全部账号
...@@ -30,14 +30,18 @@ ...@@ -30,14 +30,18 @@
</el-form> </el-form>
<!-- 编辑入群欢迎语 --> <!-- 编辑入群欢迎语 -->
<div class="title">编辑群发内容</div> <div class="title">编辑群发内容</div>
<div> <div class="group-content">
<el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="120px"> <el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="154px">
<el-form-item prop="attachmentList"> <el-form-item prop="attachmentList">
<label slot="label" class="required">群发内容</label> <label slot="label" class="required">群发内容:</label>
<GLEditor ref="welcome" :form="'customerGroup'" style="line-height: 12px;" :btnList="btnList" @previewWord="previewForm"></GLEditor> <GLEditor ref="welcome" :form="'customerGroup'" style="line-height: 12px;" :btnList="btnList" @previewWord="previewForm"></GLEditor>
<div v-show="attachmentShow" class="el-form-item__error">{{ attachmentText }}</div> <div v-show="attachmentShow" class="el-form-item__error">{{ attachmentText }}</div>
</el-form-item> </el-form-item>
<el-form-item label="发送时间" prop="sendType"> <div class="transform-text">
<div class="tips-icon"><img src="@/assets/guestCustom/tips.png" alt /></div>
<span>每个客户群每天可接收1条群发消息,超过接收上限的客户群将无法再收到群发消息。</span>
</div>
<el-form-item label="发送时间:" prop="sendType">
<el-radio-group v-model="basicForm.sendType"> <el-radio-group v-model="basicForm.sendType">
<el-radio :label="1">立即发送</el-radio> <el-radio :label="1">立即发送</el-radio>
<el-radio :label="2">定时发送</el-radio> <el-radio :label="2">定时发送</el-radio>
...@@ -405,7 +409,7 @@ export default { ...@@ -405,7 +409,7 @@ export default {
message: '操作成功!' message: '操作成功!'
}) })
// this.$router.push('/customerTransform/index') // this.$router.push('/customerTransform/index')
this.$tracker.track(Object.assign({},{pageName:'群发助手',name:'新建客户群群发',params})) this.$tracker.track(Object.assign({}, { pageName: '群发助手', name: '新建客户群群发', params }))
} else { } else {
this.$message({ this.$message({
type: 'error', type: 'error',
...@@ -465,10 +469,7 @@ export default { ...@@ -465,10 +469,7 @@ export default {
} }
.basic-form { .basic-form {
padding: 32px 0 20px 66px; padding: 32px 0 20px 20px;
/deep/.el-input {
width: 320px;
}
} }
.form-tips { .form-tips {
font-size: 12px; font-size: 12px;
...@@ -479,6 +480,34 @@ export default { ...@@ -479,6 +480,34 @@ export default {
margin-bottom: 100px; margin-bottom: 100px;
} }
} }
.transform-text {
display: flex;
// align-items: center;
justify-self: center;
color: #000;
font-size: 14px;
padding: 10px 16px;
background-color: rgba(230, 233, 255, 0.49);
border: 1px solid rgba(88, 80, 255, 0.49);
border-radius: 4px;
line-height: 20px;
margin-left: 154px;
width: 580px;
box-sizing: border-box;
.tips-icon {
display: flex;
align-items: center;
height: 20px;
img {
width: 14px;
height: 14px;
margin-right: 8px;
}
}
}
.group-content {
padding: 22px 0 20px 0;
}
.footer-panel { .footer-panel {
display: flex; display: flex;
align-items: center; align-items: center;
......
...@@ -17,18 +17,8 @@ ...@@ -17,18 +17,8 @@
<el-input :size="size" v-model.trim="searchForm.name" @keyup.enter.native="search" clearable placeholder="请输入姓名搜索"></el-input> <el-input :size="size" v-model.trim="searchForm.name" @keyup.enter.native="search" clearable placeholder="请输入姓名搜索"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="跟进专员类型"> <el-form-item label="跟进专员类型">
<el-select <el-select v-model="searchForm.status" clearable :size="size" placeholder="全部">
v-model="searchForm.status" <el-option v-for="item in state" :key="item.value" :label="item.label" :value="item.value"></el-option>
clearable
:size="size"
placeholder="全部"
>
<el-option
v-for="item in state"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -145,7 +135,7 @@ export default { ...@@ -145,7 +135,7 @@ export default {
}, },
unique(arr) { unique(arr) {
let res = new Set() let res = new Set()
return arr.filter((item) => { return arr.filter(item => {
let id = JSON.stringify(item) let id = JSON.stringify(item)
if (res.has(id)) { if (res.has(id)) {
return false return false
...@@ -176,7 +166,7 @@ export default { ...@@ -176,7 +166,7 @@ export default {
this.selectData = [] this.selectData = []
} }
res[0].entmicroStaffResponses.forEach(e => { res[0].entmicroStaffResponses.forEach(e => {
this.state.push({value: e.followerTypeId, label: e.followerName}) this.state.push({ value: e.followerTypeId, label: e.followerName })
}) })
this.state = this.unique(this.state) this.state = this.unique(this.state)
} else { } else {
......
...@@ -9,38 +9,40 @@ ...@@ -9,38 +9,40 @@
</div> </div>
<div class="info-box"> <div class="info-box">
<div class="info-content"> <div class="info-content">
<el-form class="basic-form" :model="basicForm" :rules="basicRules" ref="basicForm" label-width="120px"> <div class="gl-form-page">
<el-form-item prop="userList"> <el-form class="basic-form" :model="basicForm" :rules="basicRules" ref="basicForm">
<label slot="label" class="required">发表成员</label> <el-form-item prop="userList">
<el-button size="small" @click="openMembers"> <label slot="label" class="required">发表成员:</label>
<i class="el-icon-plus"></i> <el-button size="small" @click="openMembers">
选择成员 <i class="el-icon-plus"></i>
</el-button> 选择成员
<div class="sale-select" v-show="basicForm.userList && basicForm.userList.length != 0"> </el-button>
<div :key="key" class="el-input-tag input-tag-wrapper"> <div class="sale-select" v-show="basicForm.userList && basicForm.userList.length != 0">
<el-tag effect="plain" type="info" v-for="(tag, idx) in basicForm.userList" :key="idx" closable :disable-transitions="false" @close="remove(tag, idx)"> <div :key="key" class="el-input-tag input-tag-wrapper">
<i class="el-icon-user-solid"></i> <el-tag effect="plain" type="info" v-for="(tag, idx) in basicForm.userList" :key="idx" closable :disable-transitions="false" @close="remove(tag, idx)">
{{ tag.staffName }} <i class="el-icon-user-solid"></i>
</el-tag> {{ tag.staffName }}
</el-tag>
</div>
</div> </div>
</div> <div class="filter-footer">
<div class="filter-footer"> <!-- <span>将消息发送给客户符合条件的客户</span> -->
<!-- <span>将消息发送给客户符合条件的客户</span> --> <div class="filter-number">
<div class="filter-number"> 查看客户数
查看客户数 <el-button type="text" v-show="isUpdate" :loading="viewLoading" @click="viewMembers">查看</el-button>
<el-button type="text" v-show="isUpdate" :loading="viewLoading" @click="viewMembers">查看</el-button> <!-- <span v-show="isUpdate" @click="viewMembers">查看</span> -->
<!-- <span v-show="isUpdate" @click="viewMembers">查看</span> --> <span v-show="!isUpdate">{{ groupNumber }}</span>
<span v-show="!isUpdate">{{ groupNumber }}</span> </div>
</div> </div>
</div> </el-form-item>
</el-form-item> </el-form>
</el-form> </div>
<!-- 编辑入群欢迎语 --> <!-- 编辑入群欢迎语 -->
<div class="title">编辑朋友圈消息</div> <div class="title">编辑朋友圈消息</div>
<div class="group-content"> <div class="group-content gl-form-page">
<el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="120px"> <el-form :model="basicForm" :rules="basicRules" ref="groupForm">
<el-form-item prop="attachmentList"> <el-form-item prop="attachmentList">
<label slot="label" class="required">内容正文</label> <label slot="label" class="required">内容正文:</label>
<GLEditor ref="welcome" :form="'customer'" :btnList="btnList" @previewWord="previewForm"></GLEditor> <GLEditor ref="welcome" :form="'customer'" :btnList="btnList" @previewWord="previewForm"></GLEditor>
<div v-show="attachmentShow" class="el-form-item__error">{{ attachmentText }}</div> <div v-show="attachmentShow" class="el-form-item__error">{{ attachmentText }}</div>
<div class="tips-text"> <div class="tips-text">
...@@ -48,7 +50,7 @@ ...@@ -48,7 +50,7 @@
<span>因企业微信限制,普通图片:总像素不超过1555200,大小不超过10M,数量不超过9张。视频建议不超过1280x720,帧率30FPS,视频码率1.67 Mbps,最长不超过30S,最大不超过10MB</span> <span>因企业微信限制,普通图片:总像素不超过1555200,大小不超过10M,数量不超过9张。视频建议不超过1280x720,帧率30FPS,视频码率1.67 Mbps,最长不超过30S,最大不超过10MB</span>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="发送时间" prop="sendType"> <el-form-item label="发送时间:" prop="sendType">
<el-radio-group v-model="basicForm.sendType"> <el-radio-group v-model="basicForm.sendType">
<el-radio :label="1">立即发送</el-radio> <el-radio :label="1">立即发送</el-radio>
<el-radio :label="2">定时发送</el-radio> <el-radio :label="2">定时发送</el-radio>
...@@ -432,8 +434,9 @@ export default { ...@@ -432,8 +434,9 @@ export default {
} }
.tips-text { .tips-text {
display: flex; display: flex;
align-items: center; // align-items: center;
justify-self: center; justify-self: center;
margin-left: 154px;
color: #000; color: #000;
font-size: 14px; font-size: 14px;
padding: 6px 16px; padding: 6px 16px;
...@@ -445,7 +448,7 @@ export default { ...@@ -445,7 +448,7 @@ export default {
.tips-icon { .tips-icon {
width: 14px; width: 14px;
height: 14px; height: 14px;
margin-right: 8px; margin: 6px 8px 0 0;
} }
} }
.info-box { .info-box {
...@@ -477,6 +480,7 @@ export default { ...@@ -477,6 +480,7 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
color: #999; color: #999;
margin-left: 154px;
font-size: 14px; font-size: 14px;
.filter-number { .filter-number {
display: inline-block; display: inline-block;
...@@ -529,6 +533,7 @@ export default { ...@@ -529,6 +533,7 @@ export default {
.sale-select { .sale-select {
display: flex; display: flex;
align-items: center; align-items: center;
margin-left: 80px;
} }
.input-tag-wrapper { .input-tag-wrapper {
max-height: 75px; max-height: 75px;
...@@ -598,8 +603,11 @@ export default { ...@@ -598,8 +603,11 @@ export default {
.el-scrollbar { .el-scrollbar {
padding-bottom: 10px; padding-bottom: 10px;
} }
.welcome-box {
display: inline-block;
}
} }
.group-content { .group-content {
padding: 22px 0 20px 20px; padding: 22px 0 20px;
} }
</style> </style>
...@@ -342,13 +342,14 @@ export default { ...@@ -342,13 +342,14 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.welcome-box { .welcome-box {
display: inline-block !important;
// padding-top: 20px; // padding-top: 20px;
// margin-left: 87px; // margin-left: 87px;
} }
.content { .content {
display: inline-block; display: inline-block;
vertical-align: text-top; vertical-align: text-top;
width: calc(100% - 103px); width: calc(100% - 103px) !important;
// margin-left: 12px; // margin-left: 12px;
.content-bg { .content-bg {
background-color: #f7f7f7; background-color: #f7f7f7;
......
...@@ -43,10 +43,10 @@ ...@@ -43,10 +43,10 @@
</div> </div>
<el-button class="seeEquity" size="small" type="primary" @click="openDialog">查看权益</el-button> <el-button class="seeEquity" size="small" type="primary" @click="openDialog">查看权益</el-button>
</div> </div>
<div class="cardDetail editForm" v-else> <div class="cardDetail editForm gl-form-page" v-else>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="90px" class="demo-ruleForm" style="width: 500px"> <el-form :model="ruleForm" :rules="rules" ref="ruleForm" class="demo-ruleForm">
<template v-if="!showGh"> <template v-if="!showGh">
<el-form-item label="会员卡名" prop="cardName" size="small"> <el-form-item label="会员卡名:" prop="cardName" size="small">
<el-input v-model.trim="ruleForm.cardName" size="small" class="cardNameInput" show-word-limit placeholder="请输入会员卡名" maxlength="15"></el-input> <el-input v-model.trim="ruleForm.cardName" size="small" class="cardNameInput" show-word-limit placeholder="请输入会员卡名" maxlength="15"></el-input>
</el-form-item> </el-form-item>
</template> </template>
...@@ -60,14 +60,14 @@ ...@@ -60,14 +60,14 @@
</template> </template>
<div class="pricesMerge"> <div class="pricesMerge">
<el-form-item label="售价" size="small" prop="price" style="width: 300px"> <el-form-item label="售价/元:" size="small" prop="price" style="width: 300px">
<el-input v-model="ruleForm.price" size="small" placeholder="请输入售价" @keyup.native="ruleForm.price = oninput(ruleForm.price)"> <el-input v-model="ruleForm.price" size="small" style="width: 136px;" placeholder="请输入售价" @keyup.native="ruleForm.price = oninput(ruleForm.price)">
<span slot="suffix" class="suffix-label">元</span> <!-- <span slot="suffix" class="suffix-label">元</span> -->
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="市场价" prop="marketPrice" size="small" style="width: 300px"> <el-form-item label="市场价/元:" prop="marketPrice" size="small" style="width: 300px">
<el-input v-model="ruleForm.marketPrice" size="small" placeholder="请输入市场价" @keyup.native="ruleForm.marketPrice = oninput(ruleForm.marketPrice)"> <el-input v-model="ruleForm.marketPrice" size="small" style="width: 136px;" placeholder="请输入市场价" @keyup.native="ruleForm.marketPrice = oninput(ruleForm.marketPrice)">
<span slot="suffix" class="suffix-label">元</span> <!-- <span slot="suffix" class="suffix-label">元</span> -->
</el-input> </el-input>
</el-form-item> </el-form-item>
</div> </div>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</span> </span>
</GLTable> </GLTable>
</div> </div>
<GLDialog :mode="mode" title="权益详情" :hasFooter="hasFooter" :type="'error'" :visible.sync="isDialogVisible"> <GLDialog :mode="mode" title="权益详情" :hasFooter="hasFooter" :type="'error'" :visible.sync="isDialogVisible">
<div class="modal-body"> <div class="modal-body">
<div class="equity-name">汽车权益</div> <div class="equity-name">汽车权益</div>
<div class="equity-panel"> <div class="equity-panel">
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
</div> </div>
</GLDialog> </GLDialog>
<!-- 推广弹窗 --> <!-- 推广弹窗 -->
<GLDialog :mode="mode" title="试用推广" @onOk="handleQRConfirm" @onCancel="handleQRClose" :visible.sync="isQRVisible"> <GLDialog :mode="mode" title="试用推广" @onOk="handleQRConfirm" @onCancel="handleQRClose" :visible.sync="isQRVisible">
<el-form class="proForm" :model="ruleForm" :rules="rules" ref="ruleForm" label-width="68px"> <el-form class="proForm" :model="ruleForm" :rules="rules" ref="ruleForm" label-width="68px">
<div class="form"> <div class="form">
<div class="main-qrcode"> <div class="main-qrcode">
...@@ -771,7 +771,6 @@ export default { ...@@ -771,7 +771,6 @@ export default {
width: 215px; width: 215px;
} }
/deep/.el-dialog__body { /deep/.el-dialog__body {
.modal-body { .modal-body {
max-height: 400px; max-height: 400px;
} }
......
...@@ -5,14 +5,14 @@ ...@@ -5,14 +5,14 @@
<p class="pageTitle" v-else>编辑套餐</p> <p class="pageTitle" v-else>编辑套餐</p>
<!-- <el-button type="primary" size="small" @click="goBack">返回</el-button> --> <!-- <el-button type="primary" size="small" @click="goBack">返回</el-button> -->
</div> </div>
<div class="live-room container marketing "> <div class="live-room container marketing gl-form-page">
<el-form ref="ruleForm" :rules="rules" :model="ruleForm" label-width="120px" class="demo-ruleForm"> <el-form ref="ruleForm" :rules="rules" :model="ruleForm" class="demo-ruleForm">
<el-form-item size="small" label="套餐名称" prop="packageName" style="width: 440px"> <el-form-item size="small" label="套餐名称:" prop="packageName">
<el-input size="small" v-model="ruleForm.packageName" maxlength="15" placeholder="请输入套餐名称"></el-input> <el-input size="small" v-model="ruleForm.packageName" maxlength="15" placeholder="请输入套餐名称"></el-input>
</el-form-item> </el-form-item>
<el-form-item size="small" label="服务内容" class="is-required"> <el-form-item size="small" label="服务内容:" class="is-required">
<el-button @click="handleGiftAdd" size="small" class="default-blue-btn">选择服务</el-button> <el-button @click="handleGiftAdd" size="small" class="default-blue-btn">选择服务</el-button>
<div class="gift-block m-t-10" :style="{ 'margin-left': labelWidth }" v-show="choseItemList.length != 0"> <div class="gift-block m-t-10" :style="{ 'margin-left': defaultLabelWidth }" v-show="choseItemList.length != 0">
<div v-for="(item, index) in orderShow" :key="index"> <div v-for="(item, index) in orderShow" :key="index">
<div class="gift-box flex-top" v-show="couponObj[item].list.length"> <div class="gift-box flex-top" v-show="couponObj[item].list.length">
<img class="gift-logo" :src="couponObj[item].logo" alt="" /> <img class="gift-logo" :src="couponObj[item].logo" alt="" />
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
<div class="el-form-item__error" v-if="setmealContentRules">请选择套餐</div> <div class="el-form-item__error" v-if="setmealContentRules">请选择套餐</div>
</el-form-item> </el-form-item>
<el-form-item size="small" label="套餐售价" prop="packagePrice" style="width: 315px"> <el-form-item size="small" label="套餐售价/元:" prop="packagePrice">
<el-input size="small" v-model="ruleForm.packagePrice" placeholder="请输入套餐售价" @keyup.native="ruleForm.packagePrice = oninput(ruleForm.packagePrice)"> <el-input size="small" v-model="ruleForm.packagePrice" placeholder="请输入套餐售价" @keyup.native="ruleForm.packagePrice = oninput(ruleForm.packagePrice)">
<span slot="suffix" class="suffix-label">元</span> <!-- <span slot="suffix" class="suffix-label">元</span> -->
</el-input> </el-input>
</el-form-item> </el-form-item>
<!-- <template v-if="accountLevel == 4"> <!-- <template v-if="accountLevel == 4">
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<span class="price">{{ totalShopPrice }}元</span> <span class="price">{{ totalShopPrice }}元</span>
</div> </div>
</template> --> </template> -->
<el-form-item size="small" label="说明" prop="notes" style="width: 670px"> <el-form-item size="small" label="说明:" prop="notes">
<el-input size="small" :rows="6" type="textarea" v-model="ruleForm.notes" placeholder="请输入" maxlength="200" show-word-limit></el-input> <el-input size="small" :rows="6" type="textarea" v-model="ruleForm.notes" placeholder="请输入" maxlength="200" show-word-limit></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
this.getServiceInfo() this.getServiceInfo()
// this.getSetmealServiceFun() //获取服务套餐,执行完了之后去获取编辑详情 // this.getSetmealServiceFun() //获取服务套餐,执行完了之后去获取编辑详情
}, },
mounted() {}, mounted() { },
methods: { methods: {
//获取会员卡上方卡片的相关信息 //获取会员卡上方卡片的相关信息
getCardContentFun() { getCardContentFun() {
......
...@@ -3,14 +3,12 @@ ...@@ -3,14 +3,12 @@
<div class="marketing order-manage"> <div class="marketing order-manage">
<div class="container"> <div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="flex"> <div class="flex">
<div class="flex-default"> <div class="flex-default">
<el-tabs v-model="activeName" @tab-click="handleTabClick"> <el-tabs v-model="activeName" @tab-click="handleTabClick">
<el-tab-pane label="全部订单" name="allOrder"></el-tab-pane> <el-tab-pane label="全部订单" name="allOrder"></el-tab-pane>
<el-tab-pane label="售后订单" name="afterOrder"></el-tab-pane> <el-tab-pane label="售后订单" name="afterOrder"></el-tab-pane>
</el-tabs> </el-tabs>
<span class="table-tips"> <span class="table-tips">
已生成有效订单 已生成有效订单
<span class="txt-blue">&nbsp;{{ statisticsInfo.orderCount || 0 }}&nbsp;</span> <span class="txt-blue">&nbsp;{{ statisticsInfo.orderCount || 0 }}&nbsp;</span>
...@@ -23,7 +21,6 @@ ...@@ -23,7 +21,6 @@
</div> </div>
<el-button class="default-blue-btn" :size="size" type="default" @click="handleExport">导出</el-button> <el-button class="default-blue-btn" :size="size" type="default" @click="handleExport">导出</el-button>
</div> </div>
<!-- 表格区域 - 全部订单/售后订单 - 开始 --> <!-- 表格区域 - 全部订单/售后订单 - 开始 -->
<GLTable ref="allOrderRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="allOrderRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div slot="weChatName" class="flex-align" slot-scope="scope"> <div slot="weChatName" class="flex-align" slot-scope="scope">
...@@ -124,7 +121,6 @@ ...@@ -124,7 +121,6 @@
</GLDialog> </GLDialog>
</div> </div>
</template> </template>
<script> <script>
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
...@@ -497,29 +493,19 @@ export default { ...@@ -497,29 +493,19 @@ export default {
tableOption: true, tableOption: true,
tableColumns: [ tableColumns: [
{ {
label: '客户名称', label: '订单编号',
prop: 'customerName', prop: 'orderCode',
line: 2, width: '180'
width: 180,
formatter: cellValue => {
return cellValue.customerName || '-'
}
}, },
{ {
label: '手机号', label: '商户订单号',
prop: 'customerPhone', prop: 'outTradeNo',
width: 130, width: '160',
formatter: cellValue => { formatter: cellValue => {
return cellValue.customerPhone || '-' return cellValue.outTradeNo || '-'
} }
}, },
{ {
label: '微信名称',
prop: 'weChatName',
addHtml: 'weChatName',
width: 300
},
{
label: '订单时间', label: '订单时间',
prop: 'createdDate', prop: 'createdDate',
width: '180', width: '180',
...@@ -544,6 +530,29 @@ export default { ...@@ -544,6 +530,29 @@ export default {
} }
}, },
{ {
label: '微信名称',
prop: 'weChatName',
addHtml: 'weChatName',
width: 300
},
{
label: '客户名称',
prop: 'customerName',
line: 2,
width: 180,
formatter: cellValue => {
return cellValue.customerName || '-'
}
},
{
label: '手机号',
prop: 'customerPhone',
width: 130,
formatter: cellValue => {
return cellValue.customerPhone || '-'
}
},
{
label: '车架号', label: '车架号',
prop: 'vinNo', prop: 'vinNo',
width: 130, width: 130,
...@@ -586,12 +595,6 @@ export default { ...@@ -586,12 +595,6 @@ export default {
} }
}, },
{ {
label: '其他信息',
prop: '',
width: '180',
line: 1
},
{
label: '活动名称', label: '活动名称',
prop: 'activityName', prop: 'activityName',
width: '120' width: '120'
...@@ -625,19 +628,6 @@ export default { ...@@ -625,19 +628,6 @@ export default {
formatter: cellValue => { formatter: cellValue => {
return this.baseData.deliveryTypeList.map(item => item.confId).includes(cellValue.deliveryType + '') ? this.baseData.deliveryTypeList.find(item => item.confId == cellValue.deliveryType).confName : '-' return this.baseData.deliveryTypeList.map(item => item.confId).includes(cellValue.deliveryType + '') ? this.baseData.deliveryTypeList.find(item => item.confId == cellValue.deliveryType).confName : '-'
} }
},
{
label: '订单编号',
prop: 'orderCode',
width: '180'
},
{
label: '商户订单号',
prop: 'outTradeNo',
width: '160',
formatter: cellValue => {
return cellValue.outTradeNo || '-'
}
} }
] ]
}, },
...@@ -662,12 +652,10 @@ export default { ...@@ -662,12 +652,10 @@ export default {
} }
} }
}, },
mounted() { mounted() {
// this.getCount() // this.getCount()
this.getOptionsList('searchFormData') this.getOptionsList('searchFormData')
}, },
methods: { methods: {
getParams() { getParams() {
var params = JSON.parse(JSON.stringify(this.searchForm)) var params = JSON.parse(JSON.stringify(this.searchForm))
...@@ -682,7 +670,6 @@ export default { ...@@ -682,7 +670,6 @@ export default {
delete params.createDate delete params.createDate
return params return params
}, },
beforeSearchFn() { beforeSearchFn() {
return new Promise(resolve => { return new Promise(resolve => {
this.tableSearchForm = this.getParams() this.tableSearchForm = this.getParams()
...@@ -690,7 +677,6 @@ export default { ...@@ -690,7 +677,6 @@ export default {
resolve() resolve()
}) })
}, },
getOptionsList(formName, hasAll = true, refreshSigle) { getOptionsList(formName, hasAll = true, refreshSigle) {
if (refreshSigle) { if (refreshSigle) {
var item = this[formName].find(k => k.name == refreshSigle) var item = this[formName].find(k => k.name == refreshSigle)
...@@ -716,7 +702,6 @@ export default { ...@@ -716,7 +702,6 @@ export default {
}) })
} }
}, },
secondConfirm(title, txt, apiModule, apiName, apiParams, fn) { secondConfirm(title, txt, apiModule, apiName, apiParams, fn) {
this.$confirm(txt, title, { this.$confirm(txt, title, {
confirmButtonText: '确定', confirmButtonText: '确定',
...@@ -738,7 +723,6 @@ export default { ...@@ -738,7 +723,6 @@ export default {
} }
}) })
}, },
getCount() { getCount() {
var params = this.getParams() var params = this.getParams()
delete params.createDate delete params.createDate
...@@ -746,7 +730,6 @@ export default { ...@@ -746,7 +730,6 @@ export default {
this.statisticsInfo = res || { orderCount: '', payPriceTotal: '', refundTotal: '' } this.statisticsInfo = res || { orderCount: '', payPriceTotal: '', refundTotal: '' }
}) })
}, },
handleDetail(row) { handleDetail(row) {
this.$router.push({ this.$router.push({
path: '/orderManage/orderDetail', path: '/orderManage/orderDetail',
...@@ -755,7 +738,6 @@ export default { ...@@ -755,7 +738,6 @@ export default {
} }
}) })
}, },
// 输入快递信息 - start // 输入快递信息 - start
handleExpressClose() { handleExpressClose() {
this.isExpressVisible = !this.isExpressVisible this.isExpressVisible = !this.isExpressVisible
...@@ -765,7 +747,6 @@ export default { ...@@ -765,7 +747,6 @@ export default {
deliveryNumber: '' deliveryNumber: ''
} }
}, },
handleExpressConfirm() { handleExpressConfirm() {
this.$refs.expressRef.$refs[this.editChildRef].validate(valid => { this.$refs.expressRef.$refs[this.editChildRef].validate(valid => {
if (valid) { if (valid) {
...@@ -785,13 +766,11 @@ export default { ...@@ -785,13 +766,11 @@ export default {
} }
}) })
}, },
handleExpressInfo(row) { handleExpressInfo(row) {
this.isExpressVisible = !this.isExpressVisible this.isExpressVisible = !this.isExpressVisible
this.orderCode = row.orderCode this.orderCode = row.orderCode
}, },
// 输入快递信息 - end // 输入快递信息 - end
// 订单核销 - start // 订单核销 - start
handleWriteOffClose() { handleWriteOffClose() {
this.isWriteOffVisible = !this.isWriteOffVisible this.isWriteOffVisible = !this.isWriteOffVisible
...@@ -800,7 +779,6 @@ export default { ...@@ -800,7 +779,6 @@ export default {
verificationCode: '' verificationCode: ''
} }
}, },
handleWriteOffConfirm() { handleWriteOffConfirm() {
this.$refs.writeOffRef.$refs[this.editChildRef].validate(valid => { this.$refs.writeOffRef.$refs[this.editChildRef].validate(valid => {
if (valid) { if (valid) {
...@@ -820,7 +798,6 @@ export default { ...@@ -820,7 +798,6 @@ export default {
} }
}) })
}, },
handleWriteOff(row) { handleWriteOff(row) {
if (row.orderSource == 4) { if (row.orderSource == 4) {
this.secondConfirm('订单核销', '请确定是否核销此订单?', 'orderManage', 'crowdFundWriteOffApi', { orderCode: row.orderCode }) this.secondConfirm('订单核销', '请确定是否核销此订单?', 'orderManage', 'crowdFundWriteOffApi', { orderCode: row.orderCode })
...@@ -830,7 +807,6 @@ export default { ...@@ -830,7 +807,6 @@ export default {
this.orderCode = row.orderCode this.orderCode = row.orderCode
}, },
// 订单核销 - end // 订单核销 - end
// 退款审核 - start // 退款审核 - start
handleExamineClose() { handleExamineClose() {
this.isExamineVisible = !this.isExamineVisible this.isExamineVisible = !this.isExamineVisible
...@@ -843,7 +819,6 @@ export default { ...@@ -843,7 +819,6 @@ export default {
contactPhone: '' contactPhone: ''
} }
}, },
submitExamine(params) { submitExamine(params) {
this.$apis.orderManage.examineAllowApi(params).then(res => { this.$apis.orderManage.examineAllowApi(params).then(res => {
this.$message({ this.$message({
...@@ -857,7 +832,6 @@ export default { ...@@ -857,7 +832,6 @@ export default {
} }
}) })
}, },
handleExamineConfirm() { handleExamineConfirm() {
var params = { var params = {
id: this.orderInfo.id id: this.orderInfo.id
...@@ -876,7 +850,6 @@ export default { ...@@ -876,7 +850,6 @@ export default {
this.submitExamine(params) this.submitExamine(params)
} }
}, },
handleExamine(row) { handleExamine(row) {
this.orderCode = row.orderCode this.orderCode = row.orderCode
this.$apis.orderManage.examineDetailApi({ orderCode: row.orderCode }).then(res => { this.$apis.orderManage.examineDetailApi({ orderCode: row.orderCode }).then(res => {
...@@ -887,14 +860,12 @@ export default { ...@@ -887,14 +860,12 @@ export default {
}) })
}, },
// 退款审核 - end // 退款审核 - end
// 确认收货 - start // 确认收货 - start
handleReceivingClose() { handleReceivingClose() {
this.isReceivingVisible = !this.isReceivingVisible this.isReceivingVisible = !this.isReceivingVisible
this.orderCode = '' this.orderCode = ''
this.orderInfo = {} this.orderInfo = {}
}, },
handleReceivingConfirm() { handleReceivingConfirm() {
var params = { var params = {
id: this.orderInfo.id id: this.orderInfo.id
...@@ -911,7 +882,6 @@ export default { ...@@ -911,7 +882,6 @@ export default {
} }
}) })
}, },
handleReceiving(row) { handleReceiving(row) {
this.$apis.orderManage.examineDetailApi({ orderCode: row.orderCode }).then(res => { this.$apis.orderManage.examineDetailApi({ orderCode: row.orderCode }).then(res => {
this.orderInfo = res || {} this.orderInfo = res || {}
...@@ -921,7 +891,6 @@ export default { ...@@ -921,7 +891,6 @@ export default {
}) })
}, },
// 确认收货 - end // 确认收货 - end
setTableFinishFun() { setTableFinishFun() {
this.$refs.allOrderRef.data.forEach(item => { this.$refs.allOrderRef.data.forEach(item => {
item.vinNo = item.vin ? (item.vin.split(',').length > 1 ? item.vin.split(',') : item.vin) : '-' item.vinNo = item.vin ? (item.vin.split(',').length > 1 ? item.vin.split(',') : item.vin) : '-'
...@@ -930,22 +899,18 @@ export default { ...@@ -930,22 +899,18 @@ export default {
this.$refs.allOrderRef.data.length ? (this.$refs.allOrderRef.tableHeightValues = '') : this.$refs.allOrderRef.setTableHeightFun() this.$refs.allOrderRef.data.length ? (this.$refs.allOrderRef.tableHeightValues = '') : this.$refs.allOrderRef.setTableHeightFun()
this.getCount() this.getCount()
}, },
handleSearch() { handleSearch() {
this.$refs.allOrderRef.refreshTable() this.$refs.allOrderRef.refreshTable()
}, },
handleTabClick() { handleTabClick() {
this.handleSearch() this.handleSearch()
}, },
handleExport(row) { handleExport(row) {
var params = this.getParams() var params = this.getParams()
this.$apis.orderManage.orderExportApi(params).then(res => { this.$apis.orderManage.orderExportApi(params).then(res => {
exportFn(res) exportFn(res)
}) })
}, },
handleReset() { handleReset() {
this.searchForm = { this.searchForm = {
orderCode: '', orderCode: '',
...@@ -967,7 +932,6 @@ export default { ...@@ -967,7 +932,6 @@ export default {
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss">
.order-table-popover { .order-table-popover {
min-width: 80px !important; min-width: 80px !important;
...@@ -993,4 +957,4 @@ export default { ...@@ -993,4 +957,4 @@ export default {
color: #5092ff; color: #5092ff;
} }
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -165,12 +165,12 @@ ...@@ -165,12 +165,12 @@
<span class="mode-radio">{{ n.confName }}</span> <span class="mode-radio">{{ n.confName }}</span>
<span class="mode-radio radio-tip-txt" @click.stop.prevent="e => handleCancelBubble(e)">{{ scope.scope.tipObj[n.confId] }}</span> <span class="mode-radio radio-tip-txt" @click.stop.prevent="e => handleCancelBubble(e)">{{ scope.scope.tipObj[n.confId] }}</span>
</div> </div>
<el-form-item v-show="n.confId == '0'" prop="takeFee" label="分润比例:" class="form-sub-block"> <el-form-item v-show="n.confId == '0'" prop="takeFee" label="分润比例/%:" class="form-sub-block">
<el-input v-model="editForm.takeFee" :disabled="isDisabled || editForm[scope.scope.name] != '0'" placeholder="请输入分润比例"><span slot="suffix">%</span></el-input> <el-input v-model="editForm.takeFee" :disabled="isDisabled || editForm[scope.scope.name] != '0'" placeholder="请输入分润比例"></el-input>
<p class="edit-tips">此商品由门店帮卖货后获得的分成比例</p> <p class="edit-tips">此商品由门店帮卖货后获得的分成比例</p>
</el-form-item> </el-form-item>
<el-form-item v-show="n.confId == '1'" prop="supplyPrice" label="供货价:" class="form-sub-block"> <el-form-item v-show="n.confId == '1'" prop="supplyPrice" label="供货价/元:" class="form-sub-block">
<el-input v-model="editForm.supplyPrice" :disabled="isDisabled || editForm[scope.scope.name] != '1'" placeholder="请输入供货价"><span slot="suffix">元</span></el-input> <el-input v-model="editForm.supplyPrice" :disabled="isDisabled || editForm[scope.scope.name] != '1'" placeholder="请输入供货价"></el-input>
<p class="edit-tips">作为货源供给门店的价格</p> <p class="edit-tips">作为货源供给门店的价格</p>
</el-form-item> </el-form-item>
</el-radio> </el-radio>
...@@ -696,22 +696,20 @@ export default { ...@@ -696,22 +696,20 @@ export default {
addHtml: 'specsDetail' addHtml: 'specsDetail'
}, },
{ {
label: '零售价', label: '零售价/元',
name: 'retailPrice', name: 'retailPrice',
type: 'input', type: 'input',
append: '元',
width: '320px',
suffixSlot: 'retailPrice', suffixSlot: 'retailPrice',
placeholder: '请输入零售价',
isHide: false, isHide: false,
isDisabled: false isDisabled: false
}, },
{ {
label: '划线价', label: '划线价/元',
name: 'originalPrice', name: 'originalPrice',
type: 'input', type: 'input',
append: '元',
width: '320px',
suffixSlot: 'originalPrice', suffixSlot: 'originalPrice',
placeholder: '请输入划线价',
isDisabled: false isDisabled: false
}, },
// { // {
...@@ -724,12 +722,11 @@ export default { ...@@ -724,12 +722,11 @@ export default {
// isDisabled: false // isDisabled: false
// }, // },
{ {
label: '会员价', label: '会员价/元',
name: 'memberPrice', name: 'memberPrice',
type: 'input', type: 'input',
append: '元',
width: '320px',
suffixSlot: 'memberPrice', suffixSlot: 'memberPrice',
placeholder: '请输入会员价',
isDisabled: false isDisabled: false
}, },
{ {
...@@ -744,12 +741,11 @@ export default { ...@@ -744,12 +741,11 @@ export default {
isDisabled: false isDisabled: false
}, },
{ {
label: '库存', label: '库存/件',
name: 'goodsStock', name: 'goodsStock',
type: 'input', type: 'input',
append: '件',
width: '320px',
suffixSlot: 'goodsStock', suffixSlot: 'goodsStock',
placeholder: '请输入库存',
isHide: false, isHide: false,
isDisabled: false isDisabled: false
} }
......
<!-- 众筹活动 --> <!-- 众筹活动 -->
<template> <template>
<div class="edit-share marketing edit-box edit-activity" v-loading="loading"> <div class="edit-share marketing edit-box edit-activity" v-loading="loading">
<!-- 基本信息 --> <div class="container edit-container">
<div class="container edit-container" style="min-height: 520px !important;"> <!-- 基本信息 -->
<p class="edit-title">基本信息</p> <p class="edit-title">基本信息</p>
<glsx-combi-form class="edit-form-container" ref="editFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"> <glsx-combi-form class="edit-form-container" ref="editFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
<div slot="activityImg" class="edit-tips m-t-8">展示在首页的活动详情页</div> <div slot="activityImg" class="edit-tips m-t-8">展示在首页的活动详情页</div>
...@@ -67,9 +67,7 @@ ...@@ -67,9 +67,7 @@
</p> </p>
</template> </template>
</glsx-combi-form> </glsx-combi-form>
</div> <!-- 活动配置 -->
<!-- 活动配置 -->
<div class="container edit-container crowd-config">
<p class="edit-title">活动配置</p> <p class="edit-title">活动配置</p>
<glsx-combi-form class="edit-form-container" ref="configEditFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="configEditFormData" :formRules="editRule"> <glsx-combi-form class="edit-form-container" ref="configEditFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="configEditFormData" :formRules="editRule">
<template slot="customerServiceFlag" slot-scope="scope"> <template slot="customerServiceFlag" slot-scope="scope">
...@@ -140,8 +138,7 @@ ...@@ -140,8 +138,7 @@
</div> </div>
</glsx-combi-form> </glsx-combi-form>
</div> </div>
<!-- 展示 --> <div class="wechat-box">
<!-- <div class="wechat-box">
<img class="w-100-percent" src="@/assets/seckillActivity/phone.png" /> <img class="w-100-percent" src="@/assets/seckillActivity/phone.png" />
<div class="wechat-back"> <div class="wechat-back">
<p class="wechat-name one-line-ellipsis">{{ editForm.activityName }}</p> <p class="wechat-name one-line-ellipsis">{{ editForm.activityName }}</p>
...@@ -168,7 +165,6 @@ ...@@ -168,7 +165,6 @@
<img class="icon-addr" src="@/assets/seckillActivity/icon-addr.png" /> <img class="icon-addr" src="@/assets/seckillActivity/icon-addr.png" />
</div> </div>
</div> </div>
<div class="wechat-block"> <div class="wechat-block">
<p class="wechat-block-title">{{ countDownObj.typeTxt }}</p> <p class="wechat-block-title">{{ countDownObj.typeTxt }}</p>
<p v-if="countDownObj.activityStatus != 3" class="wechat-count-down"> <p v-if="countDownObj.activityStatus != 3" class="wechat-count-down">
...@@ -189,7 +185,7 @@ ...@@ -189,7 +185,7 @@
</div> </div>
<img class="wechat-footer" src="@/assets/seckillActivity/crowd-footer.png" /> <img class="wechat-footer" src="@/assets/seckillActivity/crowd-footer.png" />
</div> </div>
</div> --> </div>
<GLFooter> <GLFooter>
<el-button @click="handleCancel" size="medium">{{ routeInfo.addOrEdit != 'detail' ? '取消' : '返回' }}</el-button> <el-button @click="handleCancel" size="medium">{{ routeInfo.addOrEdit != 'detail' ? '取消' : '返回' }}</el-button>
<el-button v-if="routeInfo.addOrEdit != 'detail'" type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button> <el-button v-if="routeInfo.addOrEdit != 'detail'" type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
...@@ -197,7 +193,6 @@ ...@@ -197,7 +193,6 @@
<select-single-pro-dialog v-if="isSingleSelectVisible" :isSingleSelectVisible="isSingleSelectVisible" :selectedProInfo="selectedProInfo" @handleSingleSelectConfirm="handleSingleSelectConfirm" @handleSingleSelectClose="handleSingleSelectClose(true)"></select-single-pro-dialog> <select-single-pro-dialog v-if="isSingleSelectVisible" :isSingleSelectVisible="isSingleSelectVisible" :selectedProInfo="selectedProInfo" @handleSingleSelectConfirm="handleSingleSelectConfirm" @handleSingleSelectClose="handleSingleSelectClose(true)"></select-single-pro-dialog>
</div> </div>
</template> </template>
<script> <script>
import { limitPrice } from '@/common/constant' import { limitPrice } from '@/common/constant'
export default { export default {
...@@ -626,12 +621,11 @@ export default { ...@@ -626,12 +621,11 @@ export default {
addHtml: 'activityMusic' addHtml: 'activityMusic'
}, },
{ {
label: '预估销量', label: '预估销量/元',
name: 'predictVolume', name: 'predictVolume',
width: '474px',
type: 'input', type: 'input',
append: '元',
maxlength: 20, maxlength: 20,
placeholder: '请输入预估销量',
tips: '用作战报的销量展示' tips: '用作战报的销量展示'
}, },
{ {
...@@ -642,7 +636,6 @@ export default { ...@@ -642,7 +636,6 @@ export default {
{ {
label: '转发标题', label: '转发标题',
name: 'forwardTitle', name: 'forwardTitle',
width: '474px',
type: 'input', type: 'input',
maxlength: 50 maxlength: 50
}, },
...@@ -671,9 +664,8 @@ export default { ...@@ -671,9 +664,8 @@ export default {
] ]
} }
}, },
mounted() { mounted() {
this.setMinHeight('.crowd-config') this.setMinHeight()
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
this.routeInfo.addOrEdit != 'add' ? this.getInfo() : this.getMerchantInfo() this.routeInfo.addOrEdit != 'add' ? this.getInfo() : this.getMerchantInfo()
var id = this.routeInfo.id var id = this.routeInfo.id
...@@ -693,7 +685,6 @@ export default { ...@@ -693,7 +685,6 @@ export default {
} }
} }
}, },
watch: { watch: {
editForm: { editForm: {
handler(val) { handler(val) {
...@@ -723,7 +714,6 @@ export default { ...@@ -723,7 +714,6 @@ export default {
this.editForm.fictitiousViewQuantity = limitPrice(newValue, oldValue, 7, 0, 0) this.editForm.fictitiousViewQuantity = limitPrice(newValue, oldValue, 7, 0, 0)
} }
}, },
methods: { methods: {
changeFormAttr(formName, attrName, labelList, attrValue) { changeFormAttr(formName, attrName, labelList, attrValue) {
labelList.forEach(item => { labelList.forEach(item => {
...@@ -754,11 +744,9 @@ export default { ...@@ -754,11 +744,9 @@ export default {
return '' return ''
} }
}, },
addZero(i) { addZero(i) {
return i < 10 ? `0${i}` : `${i}` return i < 10 ? `0${i}` : `${i}`
}, },
findCountDownTime() { findCountDownTime() {
let startTime = new Date(this.editForm.activityTime[0]) let startTime = new Date(this.editForm.activityTime[0])
let endTime = new Date(this.editForm.activityTime[1]) let endTime = new Date(this.editForm.activityTime[1])
...@@ -771,7 +759,6 @@ export default { ...@@ -771,7 +759,6 @@ export default {
endTime: activityStatus == 1 ? startTime : activityStatus == 2 ? endTime : endTime endTime: activityStatus == 1 ? startTime : activityStatus == 2 ? endTime : endTime
} }
}, },
countDown() { countDown() {
if (this.editForm.activityTime && this.editForm.activityTime.length) { if (this.editForm.activityTime && this.editForm.activityTime.length) {
let { activityStatus, startTime, endTime } = this.findCountDownTime() let { activityStatus, startTime, endTime } = this.findCountDownTime()
...@@ -810,16 +797,13 @@ export default { ...@@ -810,16 +797,13 @@ export default {
} }
} }
}, },
handleTimeChange(value, targetItem) { handleTimeChange(value, targetItem) {
!value && (this.editForm[targetItem.name] = []) !value && (this.editForm[targetItem.name] = [])
}, },
handleIsLimit(val) { handleIsLimit(val) {
this.editForm.limitPurchaseNumber = val == 1 ? '' : '1' this.editForm.limitPurchaseNumber = val == 1 ? '' : '1'
this.editRule.limitPurchaseNumber[0].required = val != 1 this.editRule.limitPurchaseNumber[0].required = val != 1
}, },
handleRelateProChange(val) { handleRelateProChange(val) {
this.editRule.goodsId[0].required = val == 2 this.editRule.goodsId[0].required = val == 2
var idx = this.editFormData.findIndex(item => item.name == 'goodsId') var idx = this.editFormData.findIndex(item => item.name == 'goodsId')
...@@ -844,7 +828,6 @@ export default { ...@@ -844,7 +828,6 @@ export default {
} }
this.isSingleSelectVisible = !this.isSingleSelectVisible this.isSingleSelectVisible = !this.isSingleSelectVisible
}, },
getGoodInfo(id) { getGoodInfo(id) {
this.$apis.proManage.getProInfoApi({ id: id }).then(res => { this.$apis.proManage.getProInfoApi({ id: id }).then(res => {
this.selectedProInfo = this.$common.utils.deepClone(res) this.selectedProInfo = this.$common.utils.deepClone(res)
...@@ -859,7 +842,6 @@ export default { ...@@ -859,7 +842,6 @@ export default {
} }
}) })
}, },
// 规格值解构 // 规格值解构
changeSpecs(isRecovery) { changeSpecs(isRecovery) {
this.specsWidth = 100 / (this.specificationDetailList.length + 4) + '%' this.specsWidth = 100 / (this.specificationDetailList.length + 4) + '%'
...@@ -915,7 +897,6 @@ export default { ...@@ -915,7 +897,6 @@ export default {
break break
} }
} }
if (this.activityInfo && this.activityInfo.specificationDetailWithGoodsList) { if (this.activityInfo && this.activityInfo.specificationDetailWithGoodsList) {
for (var k = 0; k < this.activityInfo.specificationDetailWithGoodsList.length; k++) { for (var k = 0; k < this.activityInfo.specificationDetailWithGoodsList.length; k++) {
var templ = this.activityInfo.specificationDetailWithGoodsList[k] var templ = this.activityInfo.specificationDetailWithGoodsList[k]
...@@ -946,20 +927,16 @@ export default { ...@@ -946,20 +927,16 @@ export default {
recoverySpec() { recoverySpec() {
this.changeSpecs(true) this.changeSpecs(true)
}, },
//规格-秒杀价输入控制 //规格-秒杀价输入控制
activityPrice_input(val, maxValue) { activityPrice_input(val, maxValue) {
return this.limitPriceForInput(val, 5, 2, 0, maxValue) return this.limitPriceForInput(val, 5, 2, 0, maxValue)
}, },
//规格-活动库存输入控制 //规格-活动库存输入控制
goodsStock_input(val, maxValue) { goodsStock_input(val, maxValue) {
return this.limitPriceForInput(val, 5, 0, 0, maxValue) return this.limitPriceForInput(val, 5, 0, 0, maxValue)
}, },
// 音乐 // 音乐
handleMusicUpload() { }, handleMusicUpload() { },
musicUpload(e, targetItem) { musicUpload(e, targetItem) {
var reader = new FileReader() var reader = new FileReader()
var file = e var file = e
...@@ -997,7 +974,6 @@ export default { ...@@ -997,7 +974,6 @@ export default {
}) })
} }
}, },
// 音乐 // 音乐
handleMusic(targetItem, idx) { handleMusic(targetItem, idx) {
// stop-音频结束;play-音频播放 // stop-音频结束;play-音频播放
...@@ -1018,12 +994,10 @@ export default { ...@@ -1018,12 +994,10 @@ export default {
} }
}) })
}, },
stopMusic() { stopMusic() {
this.playObj.idx = -1 this.playObj.idx = -1
this.playObj.src = '' this.playObj.src = ''
}, },
handleMusicChange(idx) { handleMusicChange(idx) {
this.musicList.forEach((item, index) => { this.musicList.forEach((item, index) => {
if (index != idx) { if (index != idx) {
...@@ -1033,17 +1007,14 @@ export default { ...@@ -1033,17 +1007,14 @@ export default {
this.musicList[idx].isCheck = !this.musicList[idx].isCheck this.musicList[idx].isCheck = !this.musicList[idx].isCheck
this.editForm.activityMusic = this.musicList[idx].isCheck ? this.musicList[idx].addr : '' this.editForm.activityMusic = this.musicList[idx].isCheck ? this.musicList[idx].addr : ''
}, },
handleMusicBeforeUpload(file, targetItem) { handleMusicBeforeUpload(file, targetItem) {
this.stopMusic() this.stopMusic()
this.musicUpload(file, targetItem) this.musicUpload(file, targetItem)
}, },
handleMusicDelete(targetItem) { handleMusicDelete(targetItem) {
this.$set(this.editForm, targetItem.name, '') this.$set(this.editForm, targetItem.name, '')
this.fileList = [] this.fileList = []
}, },
// 表单设置 // 表单设置
handleDescribeAdd() { handleDescribeAdd() {
this.formDescribeList.push({ this.formDescribeList.push({
...@@ -1062,7 +1033,6 @@ export default { ...@@ -1062,7 +1033,6 @@ export default {
} }
}) })
}, },
getMerchantInfo() { getMerchantInfo() {
this.loading = true this.loading = true
let merchantId = this.$globalState.session.merchantId let merchantId = this.$globalState.session.merchantId
...@@ -1091,7 +1061,6 @@ export default { ...@@ -1091,7 +1061,6 @@ export default {
this.loading = false this.loading = false
}) })
}, },
getInfo() { getInfo() {
this.loading = true this.loading = true
this.$apis.seckillActivity this.$apis.seckillActivity
...@@ -1169,7 +1138,6 @@ export default { ...@@ -1169,7 +1138,6 @@ export default {
this.loading = false this.loading = false
}) })
}, },
validateRules() { validateRules() {
if (this.specificationDetailList.length) { if (this.specificationDetailList.length) {
this.editRule.activityPrice[0].required = false this.editRule.activityPrice[0].required = false
...@@ -1179,7 +1147,6 @@ export default { ...@@ -1179,7 +1147,6 @@ export default {
this.editRule.goodsStock[0].required = true this.editRule.goodsStock[0].required = true
} }
}, },
getCouponInfoParams() { getCouponInfoParams() {
var _this = this var _this = this
var param = this.$common.utils.deepClone(this.editForm) var param = this.$common.utils.deepClone(this.editForm)
...@@ -1229,15 +1196,12 @@ export default { ...@@ -1229,15 +1196,12 @@ export default {
Object.values(this.describeIdxToAttr).forEach((item, idx) => { Object.values(this.describeIdxToAttr).forEach((item, idx) => {
param['formDescribe' + item] = this.formDescribeList.length > idx ? this.formDescribeList[idx].value : '' param['formDescribe' + item] = this.formDescribeList.length > idx ? this.formDescribeList[idx].value : ''
}) })
return param return param
}, },
// 跳转 // 跳转
whereToGo(id) { whereToGo(id) {
document.getElementById(id).scrollIntoView() document.getElementById(id).scrollIntoView()
}, },
checkValid(validList) { checkValid(validList) {
for (let i = 0; i < validList.length; i++) { for (let i = 0; i < validList.length; i++) {
let item = validList[i] let item = validList[i]
...@@ -1248,11 +1212,9 @@ export default { ...@@ -1248,11 +1212,9 @@ export default {
} }
return true return true
}, },
addOrUpdate() { addOrUpdate() {
this.loading = true this.loading = true
var params = this.getCouponInfoParams() var params = this.getCouponInfoParams()
this.$apis.seckillActivity this.$apis.seckillActivity
.addOrUpdateActivityApi(params) .addOrUpdateActivityApi(params)
.then(res => { .then(res => {
...@@ -1268,7 +1230,6 @@ export default { ...@@ -1268,7 +1230,6 @@ export default {
this.loading = false this.loading = false
}) })
}, },
handleConfirm() { handleConfirm() {
this.stopMusic() this.stopMusic()
this.validateRules() this.validateRules()
...@@ -1359,7 +1320,6 @@ export default { ...@@ -1359,7 +1320,6 @@ export default {
.edit-product-dh .table-spesc tbody tr { .edit-product-dh .table-spesc tbody tr {
border: 1px solid #e7e7e7; border: 1px solid #e7e7e7;
} }
.edit-product-dh .table-spesc tbody td { .edit-product-dh .table-spesc tbody td {
display: inline-block; display: inline-block;
box-sizing: border-box; box-sizing: border-box;
...@@ -1375,7 +1335,6 @@ export default { ...@@ -1375,7 +1335,6 @@ export default {
.edit-product-dh .w-320 { .edit-product-dh .w-320 {
width: 320px; width: 320px;
} }
/* 规格 */ /* 规格 */
.edit-activity { .edit-activity {
position: relative; position: relative;
...@@ -1620,16 +1579,14 @@ export default { ...@@ -1620,16 +1579,14 @@ export default {
cursor: pointer; cursor: pointer;
border-left: 1px solid rgb(220, 223, 230); border-left: 1px solid rgb(220, 223, 230);
} }
::-webkit-scrollbar { ::-webkit-scrollbar {
/*滚动条整体样式*/ /*滚动条整体样式*/
width: 6px; width: 6px;
height: 3px; height: 3px;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/ /*滚动条里面小方块*/
border-radius: 4px; border-radius: 4px;
background-color: rgba(144, 147, 153, 0.3); background-color: rgba(144, 147, 153, 0.3);
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!