This commit is contained in:
2025-07-28 11:02:26 +08:00
parent 859a342326
commit 6de8ce34e6
10 changed files with 2038 additions and 348 deletions

View File

@@ -55,21 +55,21 @@
<!-- -->
<el-table-column
v-if="!disableOperate"
v-if="!isDisableOperate"
header-align="center"
align="center"
label="操作"
width="120"
:width="operationWidth?operationWidth:120"
>
<template slot-scope="scope">
<slot name="operation" :row="scope.row"></slot>
<el-button
type="text"
v-if="urlList.editCourse"
v-if="urlList.editCourse&&!isShowNewOperation"
@click="editCourse(scope.row)"
>编辑</el-button
>
<el-button
<el-button v-if="!isShowNewOperation"
type="text"
style="color: red;"
@click="shopDelete(scope.row)"
@@ -155,11 +155,14 @@ export default {
"isShowPagination",
"axiosType",
"otherInfo",
"isShowNewOperation",
"operationWidth",
"CustomEdit",
"pageSizes"
],
data() {
return {
isDisableOperate: this.disableOperate,
multipleSelectionAll: [], // 所有选中的数据包含跨页数据
goodsTypeList: [], // goodsTypeList
multipleSelection: [], // 当前页选中的数据
@@ -458,7 +461,7 @@ export default {
// 获取关联数据列表
async getAssociatedGoodsList() {
this.$emit("changeStatisticsQuery");
this.disableOperate = false;
this.isDisableOperate = false;
console.log("🚀 ~ getAssociatedGoodsList ~ form:11111", form);
var form = { ...this.defaultForm, ...this.dataForm };
@@ -564,7 +567,7 @@ export default {
}
},
async statisticsQuery() {
this.disableOperate = true;
this.isDisableOperate = true;
var form = { ...this.defaultForm, ...this.dataForm };
this.dataListLoading = true;