From 1f97b2269b5b378668c4cc8edfa06a4d7c7a6dc2 Mon Sep 17 00:00:00 2001 From: fanfan Date: Sat, 13 Jul 2024 17:07:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/goods/distributionPrice/Index.vue | 20 ++++++++++---------- src/views/goods/memberPrice/Index.vue | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/views/goods/distributionPrice/Index.vue b/src/views/goods/distributionPrice/Index.vue index f382b44..a5b167e 100644 --- a/src/views/goods/distributionPrice/Index.vue +++ b/src/views/goods/distributionPrice/Index.vue @@ -29,8 +29,8 @@
- - ~ + + ~
@@ -107,21 +107,21 @@ export default { const list = form.getFieldValue('list') if (0 >= list[index_1].price_list[index_2].min) { list[index_1].price_list[index_2].min = null - this.$message.warning('最小利润值必须大于0', 1.5) + this.$message.warning('最低成本价必须大于0', 1.5) list[index_1].price_list[index_2].startProfit = 0 list[index_1].price_list[index_2].endProfit = 0 return } if (0 >= list[index_1].price_list[index_2].max) { list[index_1].price_list[index_2].max = null - this.$message.warning('最大利润值必须大于0', 1.5) + this.$message.warning('最高成本价必须大于0', 1.5) list[index_1].price_list[index_2].startProfit = 0 list[index_1].price_list[index_2].endProfit = 0 return } if (list[index_1].price_list[index_2].min > list[index_1].price_list[index_2].max) { list[index_1].price_list[index_2].max = null - this.$message.warning('最大利润值不能低于最小利润值', 1.5) + this.$message.warning('最高成本价不能低于最低成本价', 1.5) list[index_1].price_list[index_2].startProfit = 0 list[index_1].price_list[index_2].endProfit = 0 return @@ -155,12 +155,12 @@ export default { let max = list[index_1].price_list[index_2].max if (!min && !max) { list[index_1].price_list[index_2].add_price_rate = '' - this.$message.warning('利润值不能低于为空', 1.5) + this.$message.warning('利润率不能低于为空', 1.5) return } if (0 > rate) { list[index_1].price_list[index_2].add_price_rate = '' - this.$message.warning('最低利率不能低于等于0', 1.5) + this.$message.warning('利润率不能低于等于0', 1.5) return } list[index_1].price_list[index_2].startProfit = Number( @@ -382,19 +382,19 @@ export default { item_1.category = item.category if (!item_1.min) { step++ - let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的最低价格' + let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的最低成本价' this.$message.warning(name, 1.5) return } if (!item_1.max) { step++ - let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的最高价格' + let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的最高成本价' this.$message.warning(name, 1.5) return } if (!item_1.add_price_rate) { step++ - let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的会员加价率' + let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的会员利润率' this.$message.warning(name, 1.5) return } diff --git a/src/views/goods/memberPrice/Index.vue b/src/views/goods/memberPrice/Index.vue index 4a9bdc7..705f694 100644 --- a/src/views/goods/memberPrice/Index.vue +++ b/src/views/goods/memberPrice/Index.vue @@ -28,8 +28,8 @@
- - ~ + + ~
@@ -106,21 +106,21 @@ export default { const list = form.getFieldValue('list') if (0 >= list[index_1].price_list[index_2].min) { list[index_1].price_list[index_2].min = null - this.$message.warning('最小利润值必须大于0', 1.5) + this.$message.warning('最低成本价必须大于0', 1.5) list[index_1].price_list[index_2].startProfit = 0 list[index_1].price_list[index_2].endProfit = 0 return } if (0 >= list[index_1].price_list[index_2].max) { list[index_1].price_list[index_2].max = null - this.$message.warning('最大利润值必须大于0', 1.5) + this.$message.warning('最高成本价必须大于0', 1.5) list[index_1].price_list[index_2].startProfit = 0 list[index_1].price_list[index_2].endProfit = 0 return } if (list[index_1].price_list[index_2].min > list[index_1].price_list[index_2].max) { list[index_1].price_list[index_2].max = null - this.$message.warning('最大利润值不能低于最小利润值', 1.5) + this.$message.warning('最高成本价不能低于最低成本价', 1.5) list[index_1].price_list[index_2].startProfit = 0 list[index_1].price_list[index_2].endProfit = 0 return @@ -154,12 +154,12 @@ export default { let max = list[index_1].price_list[index_2].max if (!min && !max) { list[index_1].price_list[index_2].add_price_rate = '' - this.$message.warning('利润值不能低于为空', 1.5) + this.$message.warning('利润率不能低于为空', 1.5) return } if (0 > rate) { list[index_1].price_list[index_2].add_price_rate = '' - this.$message.warning('最低利率不能低于等于0', 1.5) + this.$message.warning('利润率不能低于等于0', 1.5) return } list[index_1].price_list[index_2].startProfit = Number( @@ -381,19 +381,19 @@ export default { item_1.category = item.category if (!item_1.min) { step++ - let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的最低价格' + let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的最低成本价' this.$message.warning(name, 1.5) return } if (!item_1.max) { step++ - let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的最高价格' + let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的最高成本价' this.$message.warning(name, 1.5) return } if (!item_1.add_price_rate) { step++ - let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的会员加价率' + let name = '请完善第' + (index + 1) + '行分类模版的' + '第' + (index_1 + 1) + '行分类的利润率' this.$message.warning(name, 1.5) return }