Commit 27c379e0 by cwq0219

合并

2 parents b33f638c 344d911e
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span :class="{'red': scope.row.merchantId === 44209293}">{{scope.row.yqMerchantName}}</span> <span :class="{'red': !scope.row.isSetUpgradeSettleRule}">{{scope.row.yqMerchantName}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -43,9 +43,9 @@ ...@@ -43,9 +43,9 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span :class="{'red': scope.row.merchantId === 44209293}">{{scope.row.merchantName}}</span> <span :class="{'red': !scope.row.isSetUpgradeSettleRule}">{{scope.row.merchantName}}</span>
<el-tooltip <el-tooltip
v-if="scope.row.merchantId === 44209293" v-if="!scope.row.isSetUpgradeSettleRule"
popper-class="tooltip-class" popper-class="tooltip-class"
effect="dark" effect="dark"
content="该门店无配置财务分润规则,无法关联!" content="该门店无配置财务分润规则,无法关联!"
...@@ -157,6 +157,7 @@ export default { ...@@ -157,6 +157,7 @@ export default {
if (this.sourcePage === 'editProduct') { if (this.sourcePage === 'editProduct') {
// 不能选的判断 // 不能选的判断
// isSelect = row.merchantId !== 44209294 // isSelect = row.merchantId !== 44209294
isSelect = row.isSetUpgradeSettleRule
} }
return isSelect return isSelect
}, },
......
...@@ -231,15 +231,17 @@ export default { ...@@ -231,15 +231,17 @@ export default {
optionId: 'confId', optionId: 'confId',
optionLabel: 'confLabel', optionLabel: 'confLabel',
optionsName: 'customerStatusList' optionsName: 'customerStatusList'
}, { },
label: '升级状态', // {
name: 'upgradeFinishFlag', // label: '升级状态',
type: 'select', // name: 'upgradeFinishFlag',
optionList: [], // type: 'select',
optionId: 'confId', // optionList: [],
optionLabel: 'confLabel', // optionId: 'confId',
optionsName: 'upgradeList' // optionLabel: 'confLabel',
}, { // optionsName: 'upgradeList'
// },
{
label: '服务门店', label: '服务门店',
name: 'sellerMerchantId', name: 'sellerMerchantId',
type: 'select', type: 'select',
...@@ -320,7 +322,7 @@ export default { ...@@ -320,7 +322,7 @@ export default {
}], }],
searchForm: { searchForm: {
customerStatus: '', customerStatus: '',
upgradeFinishFlag: '', // upgradeFinishFlag: '',
sellerMerchantId: '', sellerMerchantId: '',
merchantId: '', merchantId: '',
// baseGoodsId: '', // baseGoodsId: '',
...@@ -396,8 +398,8 @@ export default { ...@@ -396,8 +398,8 @@ export default {
merchantId: this.searchForm.merchantId, merchantId: this.searchForm.merchantId,
sellerMerchantId: this.searchForm.sellerMerchantId, sellerMerchantId: this.searchForm.sellerMerchantId,
name: this.searchForm.name, name: this.searchForm.name,
keyword: this.searchForm.keyword, keyword: this.searchForm.keyword
upgradeFinishFlag: this.searchForm.upgradeFinishFlag // 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.customerStatus && (params.statusList = this.customerStatusObj[this.searchForm.customerStatus])
...@@ -473,7 +475,7 @@ export default { ...@@ -473,7 +475,7 @@ export default {
handleReset() { handleReset() {
this.searchForm = { this.searchForm = {
customerStatus: '', customerStatus: '',
upgradeFinishFlag: '', // upgradeFinishFlag: '',
sellerMerchantId: '', sellerMerchantId: '',
merchantId: '', merchantId: '',
// baseGoodsId: '', // baseGoodsId: '',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!