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