Commit 6f6ff1a6 by 张立顺

fix:线上bug

1 parent 359fdb08
......@@ -772,6 +772,11 @@ export default {
// console.log(this.$store.state.d2admin.user.info.detail.merchantId)
getPlatformMerchantList({}).then(res => {
console.log(res)
res.unshift({
merchantId: -1,
merchantName: '嘀加智慧云'
})
this.baseData.PlatformMerchantList = res
this.getOptionsList()
})
......
......@@ -155,7 +155,7 @@
</div>
</div>
<div class="step-desc-box">
<p class="desc-title">POS机扫码支付(10元)</p>
<p class="desc-title">POS机扫码支付({{goodsInfo.totalPrice||3.5}}元)</p>
<div class="txt-box">
<img class="middle"
src="./images/scan-code.png" />
......@@ -167,7 +167,9 @@
<el-form style="margin-top: 10px;"
:model="moneyForm"
:rules="moneyRules">
<el-form-item v-if="Object.values(needJudgeMerchantList).includes(1)">
<!-- <div>{{Object.values(needJudgeMerchantList).includes(1)}}</div> -->
<el-form-item
v-if="Object.values(needJudgeMerchantList).includes(1)&&merchantInfo.realityPlatformMerchant">
<p class="one-line-ellipsis"
:title="merchantInfo.realityPlatformMerchant ?merchantInfo.realityPlatformMerchant.merchantName: '嘀加智慧云'">
<img class="point"
......@@ -364,7 +366,8 @@ export default {
default: () => { }
}
},
computed: {
},
watch: {
stepStat(val) {
// console.log(val)
......@@ -524,21 +527,25 @@ export default {
this.needJudgeMerchantList[item] = this.merchantInfo.divisionRule[item]
}
})
// console.log(this.needJudgeMerchantList)
// console.log(this.needJudgeMerchantList)
this.noVirtualAccMerchantList = []
this.accessFirstMerchantList = []
this.needAccountNum = 0
this.isFind(this.needJudgeMerchantList, 1)
// console.log(this.needJudgeMerchantList)
this.isFind(this.needJudgeMerchantList, 2)
this.isFind(this.needJudgeMerchantList, 3)
this.isFind(this.needJudgeMerchantList, 4)
this.isFind(this.needJudgeMerchantList, 5)
for (let index = 1; index < 6; index++) {
this.isFind(this.needJudgeMerchantList, index)
}
// this.isFind(this.needJudgeMerchantList, 2)
// this.isFind(this.needJudgeMerchantList, 3)
// this.isFind(this.needJudgeMerchantList, 4)
// this.isFind(this.needJudgeMerchantList, 5)
if (this.needAccountNum === this.accessFirstMerchantList.length) {
this.$emit('changeParentVal', { attrName: 'isShowOkbtn', value: false })
}
console.log(this.needJudgeMerchantList)
console.log('this.noVirtualAccMerchantList', this.noVirtualAccMerchantList)
},
isFind(tempList, val) {
// valueToMerchantName: {
......@@ -550,10 +557,10 @@ export default {
this.needAccountNum = this.needAccountNum + 1
// 平台方是 嘀加云跳过下面校验
if (val == 1 && this.merchantInfo?.divisionRule?.realityPlatformMerchantId == -1) {
return this.accessFirstMerchantList.push('嘀加智慧云平台')
}
// if (val == 1 && this.merchantInfo?.divisionRule?.realityPlatformMerchantId == -1) {
// return this.accessFirstMerchantList.push('嘀加智慧云平台')
// }
console.log(this.merchantInfo[this.valueToMerchantName[val]])
if (this.merchantInfo[this.valueToMerchantName[val]]) {
if (this.merchantInfo[this.valueToMerchantName[val]].accountStatus !== 3) {
this.noVirtualAccMerchantList.push(this.merchantInfo[this.valueToMerchantName[val]].merchantName + '(' + this.merchantInfo[this.valueToMerchantName[val]].merchantId + ')')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!