Commit 3f381dc6 by wangql

Merge branch 'dev_v4.8.0' of http://192.168.3.233:8090/glsx-business/dj-car-life…

…-system into dev_v4.8.0
2 parents f76349d7 ef5d6e59
...@@ -772,6 +772,11 @@ export default { ...@@ -772,6 +772,11 @@ export default {
// console.log(this.$store.state.d2admin.user.info.detail.merchantId) // console.log(this.$store.state.d2admin.user.info.detail.merchantId)
getPlatformMerchantList({}).then(res => { getPlatformMerchantList({}).then(res => {
console.log(res)
res.unshift({
merchantId: -1,
merchantName: '嘀加智慧云'
})
this.baseData.PlatformMerchantList = res this.baseData.PlatformMerchantList = res
this.getOptionsList() this.getOptionsList()
}) })
......
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
</div> </div>
</div> </div>
<div class="step-desc-box"> <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"> <div class="txt-box">
<img class="middle" <img class="middle"
src="./images/scan-code.png" /> src="./images/scan-code.png" />
...@@ -167,7 +167,9 @@ ...@@ -167,7 +167,9 @@
<el-form style="margin-top: 10px;" <el-form style="margin-top: 10px;"
:model="moneyForm" :model="moneyForm"
:rules="moneyRules"> :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" <p class="one-line-ellipsis"
:title="merchantInfo.realityPlatformMerchant ?merchantInfo.realityPlatformMerchant.merchantName: '嘀加智慧云'"> :title="merchantInfo.realityPlatformMerchant ?merchantInfo.realityPlatformMerchant.merchantName: '嘀加智慧云'">
<img class="point" <img class="point"
...@@ -364,7 +366,8 @@ export default { ...@@ -364,7 +366,8 @@ export default {
default: () => { } default: () => { }
} }
}, },
computed: {
},
watch: { watch: {
stepStat(val) { stepStat(val) {
// console.log(val) // console.log(val)
...@@ -524,21 +527,25 @@ export default { ...@@ -524,21 +527,25 @@ export default {
this.needJudgeMerchantList[item] = this.merchantInfo.divisionRule[item] this.needJudgeMerchantList[item] = this.merchantInfo.divisionRule[item]
} }
}) })
// console.log(this.needJudgeMerchantList)
// console.log(this.needJudgeMerchantList) // console.log(this.needJudgeMerchantList)
this.noVirtualAccMerchantList = [] this.noVirtualAccMerchantList = []
this.accessFirstMerchantList = [] this.accessFirstMerchantList = []
this.needAccountNum = 0 this.needAccountNum = 0
this.isFind(this.needJudgeMerchantList, 1) for (let index = 1; index < 6; index++) {
// console.log(this.needJudgeMerchantList) this.isFind(this.needJudgeMerchantList, index)
this.isFind(this.needJudgeMerchantList, 2) }
this.isFind(this.needJudgeMerchantList, 3)
this.isFind(this.needJudgeMerchantList, 4) // this.isFind(this.needJudgeMerchantList, 2)
this.isFind(this.needJudgeMerchantList, 5) // this.isFind(this.needJudgeMerchantList, 3)
// this.isFind(this.needJudgeMerchantList, 4)
// this.isFind(this.needJudgeMerchantList, 5)
if (this.needAccountNum === this.accessFirstMerchantList.length) { if (this.needAccountNum === this.accessFirstMerchantList.length) {
this.$emit('changeParentVal', { attrName: 'isShowOkbtn', value: false }) this.$emit('changeParentVal', { attrName: 'isShowOkbtn', value: false })
} }
console.log(this.needJudgeMerchantList)
console.log('this.noVirtualAccMerchantList', this.noVirtualAccMerchantList)
}, },
isFind(tempList, val) { isFind(tempList, val) {
// valueToMerchantName: { // valueToMerchantName: {
...@@ -550,10 +557,10 @@ export default { ...@@ -550,10 +557,10 @@ export default {
this.needAccountNum = this.needAccountNum + 1 this.needAccountNum = this.needAccountNum + 1
// 平台方是 嘀加云跳过下面校验 // 平台方是 嘀加云跳过下面校验
if (val == 1 && this.merchantInfo?.divisionRule?.realityPlatformMerchantId == -1) { // if (val == 1 && this.merchantInfo?.divisionRule?.realityPlatformMerchantId == -1) {
return this.accessFirstMerchantList.push('嘀加智慧云平台') // return this.accessFirstMerchantList.push('嘀加智慧云平台')
} // }
console.log(this.merchantInfo[this.valueToMerchantName[val]])
if (this.merchantInfo[this.valueToMerchantName[val]]) { if (this.merchantInfo[this.valueToMerchantName[val]]) {
if (this.merchantInfo[this.valueToMerchantName[val]].accountStatus !== 3) { if (this.merchantInfo[this.valueToMerchantName[val]].accountStatus !== 3) {
this.noVirtualAccMerchantList.push(this.merchantInfo[this.valueToMerchantName[val]].merchantName + '(' + this.merchantInfo[this.valueToMerchantName[val]].merchantId + ')') 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!