This commit is contained in:
duan 2024-10-18 13:44:13 +08:00
commit 460bbc6e18
3 changed files with 16 additions and 10 deletions

View File

@ -2,7 +2,9 @@
<el-breadcrumb class="app-breadcrumb" separator="/">
<transition-group name="breadcrumb">
<el-breadcrumb-item v-for="(item, index) in levelList" :key="item.path">
<span v-if="item.redirect==='noredirect'||index==levelList.length-1" class="no-redirect">{{ item.meta.title }}</span>
<span v-if="item.redirect === 'noredirect' || index == levelList.length - 1" class="no-redirect">{{
item.meta.title
}}</span>
<a v-else @click.prevent="handleLink(item)">{{ item.meta.title }}</a>
</el-breadcrumb-item>
</transition-group>
@ -37,7 +39,7 @@ export default {
const first = matched[0]
if (!this.isDashboard(first)) {
matched = [{ path: '/data_statistics', meta: { title: '首页' }}].concat(matched)
matched = [{ path: '/', meta: { title: '首页' } }].concat(matched)
}
this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false)
@ -73,6 +75,7 @@ export default {
font-size: 14px;
line-height: 50px;
margin-left: 8px;
.no-redirect {
color: #97a8be;
cursor: text;

View File

@ -91,7 +91,7 @@
<div class="line_item">
<div class="line_item_top">
<div>销售金额</div>
<div class="t">{{ formatDecimal(tradeSale.totalSaleAmount || 0) }}</div>
<!-- <div class="t">{{ formatDecimal(tradeSale.totalSaleAmount || 0) }}</div> -->
</div>
<div class="line_gropress">
<div class="gropress l"
@ -112,7 +112,7 @@
<div class="line_item">
<div class="line_item_top">
<div>充值金额</div>
<div class="t">{{ formatDecimal(tradeSale.totalVipAmount || 0) }}</div>
<!-- <div class="t">{{ formatDecimal(tradeSale.totalVipAmount || 0) }}</div> -->
</div>
<div class="line_gropress">
<div class="gropress l"
@ -1118,7 +1118,6 @@ export default {
width: 200px;
color: #333;
display: flex;
justify-content: space-between;
&:not(:first-child) {
margin-top: 20px;
@ -1251,6 +1250,7 @@ export default {
display: flex;
align-items: center;
color: #333;
font-size: 14px;
.icon {
font-size: 12px;

View File

@ -133,10 +133,13 @@ export default {
this.form.lpNum = this.profitNumber
this.form.balance = this.form.stockNumber
this.loading = true
this.form.conInfoId = this.form.id
delete this.form['id'];
console.log(this.form)
let res = await tbConCheck(this.form)
console.log(this.form);
this.$emit('success', res)
// this.dialogVisible = false
this.dialogVisible = false
this.loading = false
this.$notify({
title: '注意',
@ -162,9 +165,9 @@ export default {
this.form = Object.assign(this.form, obj)
this.dialogVisible = true
this.form.conInfoId = obj.consId
this.form.stockNumber = obj.balance * 1
this.form.stockNumber = obj.stockNumber
this.form.balance = obj.stockNumber
this.form.price == null ? 0 : this.form.price
this.searhForm.skuId = obj.productId
this.searhForm.productId = obj.consId
this.getTableData()