Commit bcf837f0 by 胡悦

Merge branch 'SAAS+V4.53.0-0528' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.53.0-0528
2 parents 9ddd63c5 16aec418
......@@ -208,8 +208,8 @@ export default {
},
async getGoodsCategoryConfigurationData() {
const result = await this.getGoodsCategoryConfiguration()
const list = result.list
console.log(list, "getGoodsCategoryConfigurationData")
const list = result
// console.log(result, list, "getGoodsCategoryConfigurationData")
if (list.length) {
this.productType = list.map(({ categoryType, categoryName }) => {
return {
......@@ -217,7 +217,7 @@ export default {
goodsTypeName: categoryName
}
})
console.log(this.productType, "getGoodsCategoryConfigurationData2")
// console.log(this.productType, "getGoodsCategoryConfigurationData2")
}
this.initBaseData()
},
......
......@@ -99,10 +99,13 @@ export default {
}
},
watch: {
recordId(newVal, oldVal) {
if (newVal) {
recordId: {
handler(val) {
this.getDetail()
}
},
immediate: true,
deep: true
}
},
mounted() { },
......@@ -148,8 +151,9 @@ export default {
return goodTabs_flag && packageTabs_flag
},
getDetail() {
getGoodsDetail({ id: this.recordId })
this.recordId && getGoodsDetail({ id: this.recordId })
.then((res) => {
console.log(res, "getGoodsDetail")
this.goodsInfo = res
const goodsList = deepClone(res.goodsList) || []
const packageGoodsList = deepClone(res.packageGoodsList) || []
......
......@@ -223,7 +223,7 @@ export default {
return length1 - length3 - 2 > 0 && length1 > length2
},
financialLedgerParty() {
console.log(this.financialObj, "wangzhh ")
// console.log(this.financialObj, "wangzhh ")
const {
realityPlatformMerchantId,
realityPlatformMerchantName,
......@@ -329,7 +329,7 @@ export default {
shelfUpdateParMer: {
handler(obj) {
// 服务商
console.log(obj, "shelfUpdateParMer")
// console.log(obj, "shelfUpdateParMer")
this.$set(this.financialObj, "partnerMerchantId", obj.merchantId)
this.$set(this.financialObj, "partnerMerchantName", obj.merchantName)
this.financialObj = deepClone(this.financialObj)
......@@ -396,7 +396,7 @@ export default {
goodsTypeName: categoryName
}
})
console.log(this.productType, "getGoodsCategoryConfigurationData1")
// console.log(this.productType, "getGoodsCategoryConfigurationData1")
}
},
initFeeCategoryByType(scene) {
......
......@@ -92,7 +92,7 @@ export default {
this.getMerchantSettleDistributeRuleLastRule()
},
mounted() {
this.isLoad = true
this.getBasicDetail()
this.$EventBus.$on("requestData", this.sendData)
// 页面可见性监听
......@@ -124,6 +124,7 @@ export default {
// })
},
async getBasicDetail() {
this.isLoad = true
const res = await getBusisDetailBasic({ id: this.routeObj.id })
// .then((res) => {
console.log(res, "res----")
......@@ -150,7 +151,9 @@ export default {
// })
// .finally(() => {
// })
this.isLoad = false
this.$nextTick(() => {
this.isLoad = false
}, 3000)
},
async sendData() {
// 返回测算数据
......
......@@ -27,13 +27,12 @@
:before-search-fn="beforeSearchFn">
<div slot="merchantName" slot-scope="scope">
<el-tooltip class="item" :content="scope.scope.merchantName" placement="right">
<span>
{{
scope.scope.merchantName.length > 10
<!-- scope.scope.merchantName.length > 10
? scope.scope.merchantName.substring(0, 10) + "..."
: scope.scope.merchantName
}}
</span>
: -->
<div class="merchant-item one-line-ellipsis">
{{ scope.scope.merchantName }}
</div>
</el-tooltip>
</div>
<div slot="auth-button" slot-scope="scope">
......@@ -382,4 +381,8 @@ export default {
}
}
</script>
<style lang="scss" scoped></style>
<style lang="scss" scoped>
.merchant-item {
width: 150px;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!