Commit c7e336ef by cwq0219

客户列表-搜索项和表单-字段删除

1 parent 9dbdfac6
......@@ -94,7 +94,7 @@
</el-table-column>
</el-table-column>
<el-table-column label="商品信息">
<el-table-column
<!-- <el-table-column
label="基础商品"
align="center"
prop="baseGoodsNameList"
......@@ -110,8 +110,8 @@
</block>
<p v-else>-</p>
</template>
</el-table-column>
<el-table-column
</el-table-column> -->
<!-- <el-table-column
label="升级商品"
align="center"
prop="upgradeGoodsName"
......@@ -127,8 +127,8 @@
</block>
<p v-else>-</p>
</template>
</el-table-column>
<el-table-column
</el-table-column> -->
<!-- <el-table-column
label="升级状态"
align="center"
prop="upgradeFlag"
......@@ -136,7 +136,7 @@
<template slot-scope="scope">
<span>{{!scope.row.upgradeFlag ? '待升级' : (scope.row.upgradeFlag === 'Y' ? '已升级' : '未升级')}}</span>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column
label="服务时间"
align="center"
......@@ -240,9 +240,9 @@ export default {
optionsName: 'parkServiceList',
changeAttr: (value, targetItem) => {
value ? this.getServiceStore(value) : this.baseData.storeIdList = []
this.baseData.goodList = []
// this.baseData.goodList = []
this.searchForm.merchantId = ''
this.searchForm.baseGoodsId = ''
// this.searchForm.baseGoodsId = ''
this.getOptionsList()
}
}, {
......@@ -253,36 +253,37 @@ export default {
optionList: [],
optionId: 'merchantId',
optionLabel: 'merchantName',
optionsName: 'storeIdList',
changeAttr: (value, targetItem) => {
this.searchForm.baseGoodsId = ''
if (value) {
getGoods({ 'merchantId': value }).then(res => {
this.baseData.goodList = res || []
this.baseData.goodList.forEach(item => {
item.goodsName = item.goodsInfo.goodsName
})
this.getOptionsList()
})
} else {
this.baseData.goodList = []
this.getOptionsList()
}
}
optionsName: 'storeIdList'
// changeAttr: (value, targetItem) => {
// if (value) {
// getGoods({ 'merchantId': value }).then(res => {
// this.baseData.goodList = res || []
// this.baseData.goodList.forEach(item => {
// item.goodsName = item.goodsInfo.goodsName
// })
// this.getOptionsList()
// })
// } else {
// this.baseData.goodList = []
// this.getOptionsList()
// }
// }
}, {
label: '服务时间',
name: 'successTime',
type: 'datePicker',
pickerOptions: 'rangePickerOptions'
}, {
label: '基础商品',
name: 'baseGoodsId',
type: 'select',
optionList: [],
optionId: 'goodsCode',
optionLabel: 'goodsName',
optionsName: 'goodList'
}, {
},
// {
// label: '基础商品',
// name: 'baseGoodsId',
// type: 'select',
// optionList: [],
// optionId: 'goodsCode',
// optionLabel: 'goodsName',
// optionsName: 'goodList'
// },
{
label: '创建时间',
name: 'createTime',
type: 'datePicker',
......@@ -313,7 +314,7 @@ export default {
upgradeFinishFlag: '',
sellerMerchantId: '',
merchantId: '',
baseGoodsId: '',
// baseGoodsId: '',
source: ''
},
// 表格
......@@ -332,7 +333,7 @@ export default {
baseData: {
parkServiceList: [],
storeIdList: [],
goodList: [],
// goodList: [],
customerStatusList: [{
confId: 1,
confLabel: '未完成'
......@@ -389,7 +390,7 @@ export default {
keyword: this.searchForm.keyword,
upgradeFinishFlag: this.searchForm.upgradeFinishFlag
}
this.searchForm.baseGoodsId && (params.baseGoodsCodeList = [this.searchForm.baseGoodsId])
// this.searchForm.baseGoodsId && (params.baseGoodsCodeList = [this.searchForm.baseGoodsId])
this.searchForm.customerStatus && (params.statusList = this.customerStatusObj[this.searchForm.customerStatus])
this.searchForm.source && (params.sourceList = this.sourceStatusObj[this.searchForm.source])
if (this.searchForm.successTime) {
......@@ -466,11 +467,11 @@ export default {
upgradeFinishFlag: '',
sellerMerchantId: '',
merchantId: '',
baseGoodsId: '',
// baseGoodsId: '',
source: ''
}
this.userInfo.beSuper && (this.baseData.storeIdList = [])
this.baseData.goodList = []
// this.baseData.goodList = []
this.getOptionsList()
},
handleExport() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!