From eae60bd4eb4f4f7fd9f2da981e962c718d91335a Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 13 十月 2023 14:14:46 +0800
Subject: [PATCH] 跟进记录的编辑反显bug+销售线索的新建,详情的调整
---
src/components/makepager/CommonFormTableView.vue | 28 ++++++++++++++++++++--------
1 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/src/components/makepager/CommonFormTableView.vue b/src/components/makepager/CommonFormTableView.vue
index 00c60c6..35e69fb 100644
--- a/src/components/makepager/CommonFormTableView.vue
+++ b/src/components/makepager/CommonFormTableView.vue
@@ -63,8 +63,12 @@
<div class="common-select-btn" @click="selClientClick(scope.row, item.prop)">
<i class="el-icon-circle-plus-outline" title="閫夋嫨"></i>
</div>
- <div class="common-select-btn" @click="clearupClient(scope.row)">
- <i class="el-icon-edit-outline" title="娓呴櫎"></i>
+ <div
+ v-if="scope.row[item.prop] && scope.row[item.prop].length > 0"
+ class="common-select-btn"
+ @click="clearupClient(scope.row)"
+ >
+ <i class="el-icon-remove-outline" title="娓呴櫎"></i>
</div>
</div>
</el-form-item>
@@ -121,7 +125,7 @@
</el-form-item>
<span v-else>{{ scope.row[item.prop] }}</span>
</template>
- <span v-else>{{ scope.row[item.prop] }}</span>
+ <span v-else style="text-align: right">{{ scope.row[item.prop] }}</span>
</template>
</el-table-column>
</el-table>
@@ -134,13 +138,13 @@
>閲嶇畻</el-button
>
</div>
- <div v-if="showSummary.total || showSummary.refundable" style="height: 42px; line-height: 42px">
+ <div v-if="false && (showSummary.total || showSummary.refundable)" style="height: 42px; line-height: 42px" >
<el-row :gutter="10">
- <el-col v-if="showSummary.total" :span="2" :offset="22">
+ <el-col v-if="showSummary.total" :span="3" :offset="21">
<span style="font-weight: bold">鍚堣</span>
<span style="margin-left: 10px">{{ total }}</span>
</el-col>
- <el-col v-if="showSummary.refundable" :span="2" :offset="22">
+ <el-col v-if="showSummary.refundable" :span="3" :offset="21">
<span style="font-weight: bold">搴旈��娆�</span>
<span style="margin-left: 10px">0.00</span>
</el-col>
@@ -328,6 +332,13 @@
commonInputChange(val, prop, row) {
console.log(val, prop)
console.log(row)
+ if (prop === "amount") {
+ this.tableList.tableData.map((ite) => {
+ if (ite.name === row.name) {
+ ite.total = row.amount * row.price
+ }
+ })
+ }
this.$emit("inputContent", val, prop, row)
},
// 娓呯┖
@@ -434,7 +445,7 @@
}
.el-table__footer-wrapper tbody td.el-table__cell {
background-color: #fff;
- text-align: right;
+ // text-align: right;
font-weight: bold;
}
.el-input--suffix .el-input__inner {
@@ -445,7 +456,8 @@
padding: 0 5px;
}
.el-input__inner {
- text-align: left;
+ // text-align: left;
+ text-align: center !important;
}
}
</style>
--
Gitblit v1.8.0