Commit 352aca02 by zhangquan

修改bug

1 parent 977ea1f8
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</div> </div>
<span slot="auth-button" slot-scope="scope" :data="scope.scope"> <span slot="auth-button" slot-scope="scope" :data="scope.scope">
<el-button type="text" @click="viewProdDetail(scope.scope)">产品详情</el-button> <el-button type="text" @click="viewProdDetail(scope.scope)">产品详情</el-button>
<el-button type="text" @click="editCategoryFn(scope.scope, 0)">编辑分类</el-button> <!-- <el-button type="text" @click="editCategoryFn(scope.scope, 0)">编辑分类</el-button> -->
</span> </span>
</GLTable> </GLTable>
</div> </div>
...@@ -381,6 +381,13 @@ export default { ...@@ -381,6 +381,13 @@ export default {
}, },
commitCategoryFn() { commitCategoryFn() {
const { basePackageType, categoryName, baseId } = this.categoryObj const { basePackageType, categoryName, baseId } = this.categoryObj
if (!categoryName) {
return this.$message({
message: '请输入或选择产品类别',
type: 'error',
customClass: 'msgHierarchy'
})
}
const params = { const params = {
basePackageType, basePackageType,
categoryName, categoryName,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!