From 691cbf9350a6e98bfeb3cc2274906da75466bf1d Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 22 九月 2023 09:08:16 +0800
Subject: [PATCH] 销售价
---
platform/src/views/business/category.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/platform/src/views/business/category.vue b/platform/src/views/business/category.vue
index 3f682ba..f937c4c 100644
--- a/platform/src/views/business/category.vue
+++ b/platform/src/views/business/category.vue
@@ -29,7 +29,7 @@
<el-table-column prop="priceRate" label="鍔犱环绯绘暟" min-width="100px"></el-table-column>
<el-table-column prop="sortnum" label="鎺掑簭鐮�(鍗囧簭)" min-width="100px"></el-table-column>
<el-table-column prop="createDate" label="鍒涘缓鏃堕棿" min-width="100px"></el-table-column>
- <el-table-column prop="status" label="鐘舵��" min-width="100px">
+ <el-table-column v-if="containPermissions(['business:category:update'])" prop="status" label="鐘舵��" min-width="100px">
<template slot-scope="{row}">
<el-switch v-model="row.status" @change="changeStatus(row)" :active-value="0" :inactive-value="1">
</el-switch>
@@ -88,8 +88,11 @@
status: item.status
}).then(res => {
this.$tip.apiSuccess('鏇存柊鎴愬姛')
- }).finally(() => {
- // this.search()
+ }).catch (err => {
+ this.$message.error(err)
+ })
+ .finally(() => {
+ this.handlePageChange()
})
},
edit(id) {
@@ -108,7 +111,7 @@
budgetList: res.budgetList,
fileList: res.imgurl ? [{ url: res.prefixUrl + res.imgurl }] : []
}
- this.$refs.operaCategoryWindow.open('缂栬緫绫诲埆', obj)
+ this.$refs.operaCategoryWindow.open('缂栬緫绫诲埆', res)
})
}
}
--
Gitblit v1.9.3