Commit 6697505b by wangql
2 parents 872781f9 72888b86
This diff could not be displayed because it is too large.
body,html {
body,
html {
width: 100%;
height: 100%;
margin: 0;
......@@ -6,6 +7,7 @@ body,html {
overflow: hidden;
background-color: #F4F5FA;
}
.marketing .container {
padding: 0px 20px 20px 40px;
background: #ffffff;
......@@ -19,6 +21,7 @@ body,html {
padding: 15px 20px;
box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.10);
}
// 单行省略
.ellipsis-1 {
overflow: hidden;
......@@ -52,15 +55,18 @@ body,html {
background: -moz-linear-gradient(left, transparent, #fff 55%);
background: linear-gradient(to right, transparent, #fff 55%);
}
.marketing .wechat-container {
width: 375px;
margin-right: 45px;
background: #ffffff;
position: relative;
}
.marketing .wechat-container .w-100-per {
width: 100%;
}
.marketing .wechat-container .wechat-box {
width: 375px;
border: 1px solid #cecece;
......@@ -85,7 +91,7 @@ body,html {
margin-bottom: 18px;
}
.el-scrollbar__bar.is-horizontal{
.el-scrollbar__bar.is-horizontal {
height: 10px !important;
left: 10px;
}
......@@ -179,7 +185,6 @@ body,html {
// left: 0;
// background-color: #0947C6;
// }
.marketing .edit-sub-title {
position: relative;
font-size: 13px;
......@@ -193,7 +198,7 @@ body,html {
}
.marketing .message-Z-zinde {
z-index: 3000 !important;
z-index: 9999 !important;
}
.marketing .txt-red {
......
......@@ -76,7 +76,7 @@ const auditStatusList = [{
]
//会员中心得状态list
const statusList=[
const statusList = [
// {
// confId: '',
// confName: '全部'
......@@ -89,10 +89,9 @@ const statusList=[
confId: 2,
confName: '已失效'
}
]
//会员订单类型字典
const orderTypesList=[
{
]
//会员订单类型字典
const orderTypesList = [{
confId: 1,
confName: '套餐'
},
......@@ -101,7 +100,7 @@ const orderTypesList=[
confName: '会员卡'
}
]
const orderStatusList=[
const orderStatusList = [
// 2: '待收货',
// 3: '已完成',
// 4: '售后中',
......@@ -128,8 +127,7 @@ const orderStatusList=[
confName: '已经退款'
},
]
const serviceStatusList=[
{
const serviceStatusList = [{
confId: 1,
confName: '未生效'
},
......@@ -143,8 +141,7 @@ const serviceStatusList=[
}
]
const memberTypeList=[
{
const memberTypeList = [{
confId: 1,
confName: '正式会员'
},
......@@ -153,8 +150,7 @@ const memberTypeList=[
confName: '试用会员'
}
]
const stateList=[
{
const stateList = [{
confId: 0,
confName: '待上架'
},
......@@ -168,5 +164,14 @@ const stateList=[
},
]
export { limitPrice, liveStatusList, auditStatusList,statusList ,serviceStatusList,
memberTypeList,stateList,orderTypesList,orderStatusList}
\ No newline at end of file
export {
limitPrice,
liveStatusList,
auditStatusList,
statusList,
serviceStatusList,
memberTypeList,
stateList,
orderTypesList,
orderStatusList
}
\ No newline at end of file
......@@ -62,7 +62,7 @@ export default {
tableOption: true,
tableColumns: [
{
label: '专区名称',
label: '分类名称',
prop: 'classifyName'
},
{
......
......@@ -28,7 +28,7 @@
<div class="cardDetail editForm" v-else>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="90px" class="demo-ruleForm" style="width: 500px">
<el-form-item label="会员卡名" prop="cardName" size="small">
<el-input v-model="ruleForm.cardName" class="cardNameInput" size="small" placeholder="请输入会员卡名" show-word-limit maxlength="15"></el-input>
<el-input v-model="ruleForm.cardName" size="small" class="cardNameInput" show-word-limit placeholder="请输入会员卡名" maxlength="15"></el-input>
</el-form-item>
<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)">
......@@ -65,7 +65,12 @@
</el-form-item>
</el-row>
<el-row>
<el-form-item size="small" label="开通日期">
<el-form-item size="small" label="会员类型" >
<el-select size="small" v-model="searchForm.memberType" placeholder="请选择">
<el-option v-for="item in memberTypeLists" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue"></el-option>
</el-select>
</el-form-item>
<el-form-item size="small" label="开通日期" style="margin-left:-10px">
<el-date-picker :size="size" v-model="searchForm.daterange" type="daterange" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions || {}"></el-date-picker>
</el-form-item>
......@@ -75,7 +80,7 @@
</el-form-item>
</el-row>
</el-form>
<GLTable v-if="isReload" ref="memberCenterRef" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<GLTable ref="memberCenterRef" v-if="isReload" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<span slot="accountName" slot-scope="scope">
<div>{{ scope.scope.accountName }}</div>
<div>{{ scope.scope.mobile }}</div>
......@@ -135,7 +140,7 @@ export default {
// }, 1000)
}
return {
isReload: true,
isReload:true,
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
......@@ -146,9 +151,24 @@ export default {
searchForm: {
userInfo: '',
status: '',
merchantName: ''
merchantName: '',
memberType:''
},
searchFormTable: {},
memberTypeLists:[
{
dictValue: '',
dictLabel: '全部'
},
{
dictValue: 1,
dictLabel: '正式会员'
},
{
dictValue: 2,
dictLabel: '试用会员'
}
],
memberCenterStatus: [
{
dictValue: '',
......@@ -196,7 +216,6 @@ export default {
{
label: '开通日期',
prop: 'activeTime'
// addHtml: 'activeTime'
},
{
......@@ -220,7 +239,8 @@ export default {
cardName: '',
price: '',
marketPrice: '',
linkUrl: ''
linkUrl: '',
tryAble:''
},
copyRuleForm: {},
rules: {
......@@ -237,7 +257,7 @@ export default {
//权益 - 弹窗
isDialogVisible: false,
merchantData: {},
merchantId: 0 //记得改 44184606
merchantId: 0 //记得改 glsxadmin:44184606
}
},
created() {
......@@ -286,6 +306,8 @@ export default {
this.ruleForm.price = res[0].price
this.ruleForm.marketPrice = res[0].marketPrice
this.ruleForm.linkUrl = res[0].url
this.ruleForm.tryAble=res[0].tryAble
})
},
openEditWrap() {
......@@ -308,7 +330,7 @@ export default {
params.cardClassName = this.ruleForm.cardName
params.price = this.ruleForm.price
params.marketPrice = this.ruleForm.marketPrice
params.tryAble=this.ruleForm.tryAble
updateCardContent(params).then(res => {
if (!res) {
return
......
......@@ -65,16 +65,17 @@ export default {
alink.remove()
},
handleSaveTxt(txt) {
this.$message({
message: '复制成功',
type: 'success',
customClass: 'message-Z-zinde'
})
const input = document.createElement('input')
document.body.appendChild(input)
input.setAttribute('value', txt)
input.select()
document.execCommand('Copy')
document.body.removeChild(input)
this.$message({
message: '复制成功',
type: 'success'
})
},
handleShareClose() {
this.$emit('handleShareClose')
......
......@@ -86,7 +86,7 @@
<img class="img-w-h" :src="subItem.content" />
<span class="img-btns">
<span class="btn-item">
<i class="el-icon-delete" @click="handleImgDelete(scope.scope.name, subIndex)"></i>
<i v-if="!isDisabled" class="el-icon-delete" @click="handleImgDelete(scope.scope.name, subIndex)"></i>
<i class="el-icon-zoom-in" @click="handleImgLook(subItem.content)"></i>
</span>
</span>
......@@ -830,6 +830,7 @@ export default {
if (spescInputVal) {
this.spescEditForm.specificationValueList.push({ specificationValue: spescInputVal })
}
this.$refs.spescRef.validateField('specificationValueList')
this.specsInputVisible = false
this.spescInputVal = ''
},
......@@ -844,6 +845,7 @@ export default {
}
this.editForm.retailPrice = ''
this.editForm.goodsStock = ''
this.spescEditForm = {}
this.handleSpescClose()
this.changeSpecs(false)
}
......
......@@ -245,7 +245,7 @@ export default {
// groupOrStore:1-集团;2-门店
handleEdit(addOrEdit, row) {
// 1-门店;2-带货
if (row.goodsSource == 2) {
if (addOrEdit != 1 && row.goodsSource == 2) {
this.$router.push('/productStore/editProductDh/' + addOrEdit + '/' + row.id)
return true
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!