diff --git a/src/views/modules/base/propertiesItem/bmPropertiesModel.vue b/src/views/modules/base/propertiesItem/bmPropertiesModel.vue index 803fd55..db90a12 100644 --- a/src/views/modules/base/propertiesItem/bmPropertiesModel.vue +++ b/src/views/modules/base/propertiesItem/bmPropertiesModel.vue @@ -110,17 +110,6 @@ border v-loading="dataListLoading" style="width: 100%;"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -324,13 +213,9 @@ saveModalDetailsForBM, deleteModalDetailsForBM, // 多选删除 getItemListsForBM, - deleteModalDetailForBM, // 单删 - goUpItemForBM, - goDownForBM, updateBMModal, } from "@/api/base/properties.js" import Chooselist from '@/views/modules/common/Chooselist' - import {userFavoriteList, saveUserFavorite, removeUserFavorite} from '@/api/userFavorite.js' import { getBUList, } from "@/api/base/site.js" @@ -536,7 +421,7 @@ columnProp: 'editFlag', headerAlign: "center", align: "center", - columnLabel: '是否可编辑', + columnLabel: '是否可配置', columnHidden: false, columnImage: false, columnSortable: false, @@ -805,53 +690,8 @@ }) this.detailModelFlag = true; }, - goUp(row) { - goUpItemForBM(row).then(({data}) => { - if (data && data.code === 0) { - searchModalDetailsForBM(this.detailData).then(({data}) => { - this.detailList = data.rows - }) - } - }) - }, - goDown(row) { - goDownForBM(row).then(({data}) => { - if (data && data.code === 0) { - searchModalDetailsForBM(this.detailData).then(({data}) => { - this.detailList = data.rows - }) - } - }) - }, - deleteModalDetailForBM(row){ - this.$confirm(`是否删除这个属性项目?`, '提示', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - }).then(() => { - deleteModalDetailForBM(row).then(({data}) => { - if (data && data.code === 0) { - searchModalDetailsForBM(this.detailData).then(({data}) => { - this.detailList = data.rows - }) - this.$message({ - message: '操作成功', - type: 'success', - duration: 1500, - onClose: () => { - } - }) - } else { - this.$alert(data.msg, '错误', { - confirmButtonText: '确定' - }) - } - }) - }).catch(() => { - }) - }, chooseModal(row){ this.chooseModalData.site = row.site; this.chooseModalData.itemNo = row.itemNo;