|
|
@@ -0,0 +1,657 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <basic-container class="page-crad">
|
|
|
+ <avue-crud ref="crud" :option="option" :data="dataList" :page.sync="page" :search.sync="search"
|
|
|
+ :cell-style="cellStyle" @search-change="searchChange" @current-change="currentChange"
|
|
|
+ @size-change="sizeChange"
|
|
|
+ @refresh-change="refreshChange" @on-load="onLoad" :table-loading="loading" @saveColumn="saveColumn"
|
|
|
+ @resetColumn="resetColumn" @search-criteria-switch="searchCriteriaSwitch">
|
|
|
+ <template slot="menuLeft">
|
|
|
+ <el-button type="danger" style="border: none;background: none;color: red" icon="el-icon-arrow-left"
|
|
|
+ @click="backToList">返回列表
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </avue-crud>
|
|
|
+ </basic-container>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import {detailedStatistics} from "@/api/statisticAnalysis/AmtAmount"
|
|
|
+export default {
|
|
|
+ name: "index",
|
|
|
+ props: {
|
|
|
+ codeValue: Number,
|
|
|
+ search: Object,
|
|
|
+ url:String
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ UConfiguration: {
|
|
|
+ multipleChoices: false,
|
|
|
+ multiple: false,
|
|
|
+ disabled: false,
|
|
|
+ searchShow: true,
|
|
|
+ collapseTags: false,
|
|
|
+ placeholder: '请点击右边按钮选择',
|
|
|
+ dicData: []
|
|
|
+ },
|
|
|
+ form: {},
|
|
|
+ dataList: [],
|
|
|
+ loading: false,
|
|
|
+ detailData: {},
|
|
|
+ page: {
|
|
|
+ pageSize: 20,
|
|
|
+ currentPage: 1,
|
|
|
+ total: 0,
|
|
|
+ pageSizes: [10, 20, 30, 40, 50, 100, 200, 300, 400, 500]
|
|
|
+ },
|
|
|
+ option: {},
|
|
|
+ optionBack: {},
|
|
|
+ "225.1": {
|
|
|
+ searchBtn:false,
|
|
|
+ searchShow: false,
|
|
|
+ align: "center",
|
|
|
+ searchMenuPosition: "right",
|
|
|
+ searchSpan: 8,
|
|
|
+ searchMenuSpan: 24,
|
|
|
+ searchLabelWidth: 100,
|
|
|
+ border: true,
|
|
|
+ index: true,
|
|
|
+ addBtn: false,
|
|
|
+ viewBtn: false,
|
|
|
+ editBtn: false,
|
|
|
+ delBtn: false,
|
|
|
+ searchIcon: true,
|
|
|
+ menu: false,
|
|
|
+ height: "auto",
|
|
|
+ summaryText: "合计",
|
|
|
+ showSummary: true,
|
|
|
+ sumColumnList: [{
|
|
|
+ name: "quantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "amount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "actualQuantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "arrivalAmount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }],
|
|
|
+ column: [{
|
|
|
+ label: '日期',
|
|
|
+ prop: 'createTime',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '销售单号',
|
|
|
+ prop: 'orderNo',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '数量',
|
|
|
+ prop: 'quantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '金额',
|
|
|
+ prop: 'amount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货数量',
|
|
|
+ prop: 'actualQuantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货金额',
|
|
|
+ prop: 'arrivalAmount',
|
|
|
+ overHidden: true
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ "226.1": {
|
|
|
+ searchBtn:false,
|
|
|
+ searchShow: false,
|
|
|
+ align: "center",
|
|
|
+ searchMenuPosition: "right",
|
|
|
+ searchSpan: 8,
|
|
|
+ searchMenuSpan: 24,
|
|
|
+ searchLabelWidth: 100,
|
|
|
+ border: true,
|
|
|
+ index: true,
|
|
|
+ addBtn: false,
|
|
|
+ viewBtn: false,
|
|
|
+ editBtn: false,
|
|
|
+ delBtn: false,
|
|
|
+ searchIcon: true,
|
|
|
+ menu: false,
|
|
|
+ height: "auto",
|
|
|
+ summaryText: "合计",
|
|
|
+ showSummary: true,
|
|
|
+ sumColumnList: [{
|
|
|
+ name: "quantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "amount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "actualQuantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "arrivalAmount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }],
|
|
|
+ column: [{
|
|
|
+ label: '日期',
|
|
|
+ prop: 'createTime',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '销售单号',
|
|
|
+ prop: 'orderNo',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '数量',
|
|
|
+ prop: 'quantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '金额',
|
|
|
+ prop: 'amount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货数量',
|
|
|
+ prop: 'actualQuantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货金额',
|
|
|
+ prop: 'arrivalAmount',
|
|
|
+ overHidden: true
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ "227.1": {
|
|
|
+ searchBtn:false,
|
|
|
+ searchShow: false,
|
|
|
+ align: "center",
|
|
|
+ searchMenuPosition: "right",
|
|
|
+ searchSpan: 8,
|
|
|
+ searchMenuSpan: 24,
|
|
|
+ searchLabelWidth: 100,
|
|
|
+ border: true,
|
|
|
+ index: true,
|
|
|
+ addBtn: false,
|
|
|
+ viewBtn: false,
|
|
|
+ editBtn: false,
|
|
|
+ delBtn: false,
|
|
|
+ searchIcon: true,
|
|
|
+ menu: false,
|
|
|
+ height: "auto",
|
|
|
+ summaryText: "合计",
|
|
|
+ showSummary: true,
|
|
|
+ sumColumnList: [{
|
|
|
+ name: "quantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "amount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "actualQuantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "arrivalAmount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "grossProfit",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }],
|
|
|
+ column: [{
|
|
|
+ label: '日期',
|
|
|
+ prop: 'createTime',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '销售单号',
|
|
|
+ prop: 'orderNo',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '数量',
|
|
|
+ prop: 'quantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '金额',
|
|
|
+ prop: 'amount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货数量',
|
|
|
+ prop: 'actualQuantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货金额',
|
|
|
+ prop: 'arrivalAmount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '毛利额',
|
|
|
+ prop: 'grossProfit',
|
|
|
+ overHidden: true
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ "230.1": {
|
|
|
+ searchBtn:false,
|
|
|
+ searchShow: false,
|
|
|
+ align: "center",
|
|
|
+ searchMenuPosition: "right",
|
|
|
+ searchSpan: 8,
|
|
|
+ searchMenuSpan: 24,
|
|
|
+ searchLabelWidth: 100,
|
|
|
+ border: true,
|
|
|
+ index: true,
|
|
|
+ addBtn: false,
|
|
|
+ viewBtn: false,
|
|
|
+ editBtn: false,
|
|
|
+ delBtn: false,
|
|
|
+ searchIcon: true,
|
|
|
+ menu: false,
|
|
|
+ height: "auto",
|
|
|
+ summaryText: "合计",
|
|
|
+ showSummary: true,
|
|
|
+ sumColumnList: [{
|
|
|
+ name: "quantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "amount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "actualQuantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "arrivalAmount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }],
|
|
|
+ column: [{
|
|
|
+ label: '日期',
|
|
|
+ prop: 'createTime',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '销售单号',
|
|
|
+ prop: 'orderNo',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '数量',
|
|
|
+ prop: 'quantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '金额',
|
|
|
+ prop: 'amount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货数量',
|
|
|
+ prop: 'actualQuantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货金额',
|
|
|
+ prop: 'arrivalAmount',
|
|
|
+ overHidden: true
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ "231.1": {
|
|
|
+ searchBtn:false,
|
|
|
+ searchShow: false,
|
|
|
+ align: "center",
|
|
|
+ searchMenuPosition: "right",
|
|
|
+ searchSpan: 8,
|
|
|
+ searchMenuSpan: 24,
|
|
|
+ searchLabelWidth: 100,
|
|
|
+ border: true,
|
|
|
+ index: true,
|
|
|
+ addBtn: false,
|
|
|
+ viewBtn: false,
|
|
|
+ editBtn: false,
|
|
|
+ delBtn: false,
|
|
|
+ searchIcon: true,
|
|
|
+ menu: false,
|
|
|
+ height: "auto",
|
|
|
+ summaryText: "合计",
|
|
|
+ showSummary: true,
|
|
|
+ sumColumnList: [{
|
|
|
+ name: "quantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "amount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "actualQuantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "arrivalAmount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "thisUsedProfit",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "netGrossProfit",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "predictOceanFreight",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }],
|
|
|
+ column: [{
|
|
|
+ label: '日期',
|
|
|
+ prop: 'createTime',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '销售单号',
|
|
|
+ prop: 'orderNo',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '数量',
|
|
|
+ prop: 'quantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '金额',
|
|
|
+ prop: 'amount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货数量',
|
|
|
+ prop: 'actualQuantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货金额',
|
|
|
+ prop: 'arrivalAmount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '返利',
|
|
|
+ prop: 'thisUsedProfit',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '毛利额',
|
|
|
+ prop: 'netGrossProfit',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '订单运费',
|
|
|
+ prop: 'predictOceanFreight',
|
|
|
+ overHidden: true
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ "228.1": {
|
|
|
+ searchBtn:false,
|
|
|
+ searchShow: false,
|
|
|
+ align: "center",
|
|
|
+ searchMenuPosition: "right",
|
|
|
+ searchSpan: 8,
|
|
|
+ searchMenuSpan: 24,
|
|
|
+ searchLabelWidth: 100,
|
|
|
+ border: true,
|
|
|
+ index: true,
|
|
|
+ addBtn: false,
|
|
|
+ viewBtn: false,
|
|
|
+ editBtn: false,
|
|
|
+ delBtn: false,
|
|
|
+ searchIcon: true,
|
|
|
+ menu: false,
|
|
|
+ height: "auto",
|
|
|
+ summaryText: "合计",
|
|
|
+ showSummary: true,
|
|
|
+ sumColumnList: [{
|
|
|
+ name: "quantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "amount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "actualQuantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "arrivalAmount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "thisUsedProfit",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "netGrossProfit",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "predictOceanFreight",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }],
|
|
|
+ column: [{
|
|
|
+ label: '日期',
|
|
|
+ prop: 'createTime',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '销售单号',
|
|
|
+ prop: 'orderNo',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '数量',
|
|
|
+ prop: 'quantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '金额',
|
|
|
+ prop: 'amount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货数量',
|
|
|
+ prop: 'actualQuantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货金额',
|
|
|
+ prop: 'arrivalAmount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '返利',
|
|
|
+ prop: 'thisUsedProfit',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '毛利额',
|
|
|
+ prop: 'netGrossProfit',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '订单运费',
|
|
|
+ prop: 'predictOceanFreight',
|
|
|
+ overHidden: true
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ "229.1": {
|
|
|
+ searchBtn:false,
|
|
|
+ searchShow: false,
|
|
|
+ align: "center",
|
|
|
+ searchMenuPosition: "right",
|
|
|
+ searchSpan: 8,
|
|
|
+ searchMenuSpan: 24,
|
|
|
+ searchLabelWidth: 100,
|
|
|
+ border: true,
|
|
|
+ index: true,
|
|
|
+ addBtn: false,
|
|
|
+ viewBtn: false,
|
|
|
+ editBtn: false,
|
|
|
+ delBtn: false,
|
|
|
+ searchIcon: true,
|
|
|
+ menu: false,
|
|
|
+ height: "auto",
|
|
|
+ summaryText: "合计",
|
|
|
+ showSummary: true,
|
|
|
+ sumColumnList: [{
|
|
|
+ name: "quantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "amount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "actualQuantity",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 0
|
|
|
+ }, {
|
|
|
+ name: "arrivalAmount",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "thisUsedProfit",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "netGrossProfit",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }, {
|
|
|
+ name: "predictOceanFreight",
|
|
|
+ type: "sum",
|
|
|
+ decimals: 2
|
|
|
+ }],
|
|
|
+ column: [{
|
|
|
+ label: '日期',
|
|
|
+ prop: 'createTime',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '销售单号',
|
|
|
+ prop: 'orderNo',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '数量',
|
|
|
+ prop: 'quantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '金额',
|
|
|
+ prop: 'amount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货数量',
|
|
|
+ prop: 'actualQuantity',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '到货金额',
|
|
|
+ prop: 'arrivalAmount',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '返利',
|
|
|
+ prop: 'thisUsedProfit',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '毛利额',
|
|
|
+ prop: 'netGrossProfit',
|
|
|
+ overHidden: true
|
|
|
+ }, {
|
|
|
+ label: '订单运费',
|
|
|
+ prop: 'predictOceanFreight',
|
|
|
+ overHidden: true
|
|
|
+ }]
|
|
|
+ }
|
|
|
+ };
|
|
|
+ },
|
|
|
+ async created() {
|
|
|
+ this.optionBack = this[this.codeValue]
|
|
|
+ this.option = await this.getColumnData(this.getColumnName(this.codeValue), this.optionBack);
|
|
|
+ },
|
|
|
+ activated() {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.crud.refreshTable();
|
|
|
+ });
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ getAllWorkDicts() {
|
|
|
+ this.getWorkDicts('brand').then(res => {
|
|
|
+ this.findObject(this.option.column, "brand").dicData =
|
|
|
+ res.data.data;
|
|
|
+ })
|
|
|
+ },
|
|
|
+ cellStyle() {
|
|
|
+ return "padding:0;height:40px;";
|
|
|
+ },
|
|
|
+ searchCriteriaSwitch(type) {
|
|
|
+ this.$refs.crud.doLayout();
|
|
|
+ this.$refs.crud.getTableHeight();
|
|
|
+ },
|
|
|
+ //点击搜索按钮触发
|
|
|
+ searchChange(params, done) {
|
|
|
+ this.page.currentPage = 1;
|
|
|
+ this.onLoad(this.page, params);
|
|
|
+ done();
|
|
|
+ },
|
|
|
+ refreshChange() {
|
|
|
+ this.onLoad(this.page, this.search);
|
|
|
+ },
|
|
|
+ currentChange(val) {
|
|
|
+ this.page.currentPage = val;
|
|
|
+ },
|
|
|
+ sizeChange(val) {
|
|
|
+ this.page.currentPage = 1;
|
|
|
+ this.page.pageSize = val;
|
|
|
+ },
|
|
|
+ onLoad(page, params = {}) {
|
|
|
+ let data = this.deepClone(Object.assign({}, params, this.search));
|
|
|
+ this.loading = true;
|
|
|
+ detailedStatistics(
|
|
|
+ page.currentPage,
|
|
|
+ page.pageSize,
|
|
|
+ Object.assign(data),this.url
|
|
|
+ ).then(res => {
|
|
|
+ this.dataList = res.data.data.records ? res.data.data.records : [];
|
|
|
+ this.page.total = res.data.data.total;
|
|
|
+ }).finally(() => {
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ backToList() {
|
|
|
+ this.$emit("backToList");
|
|
|
+ },
|
|
|
+ //列保存触发
|
|
|
+ async saveColumn() {
|
|
|
+ const inSave = await this.saveColumnData(this.getColumnName(this.codeValue), this.option);
|
|
|
+ if (inSave) {
|
|
|
+ this.$message.success("保存成功");
|
|
|
+ //关闭窗口
|
|
|
+ this.$refs.crud.$refs.dialogColumn.columnBox = false;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ async resetColumn() {
|
|
|
+ this.option = this.optionBack;
|
|
|
+ const inSave = await this.delColumnData(this.getColumnName(this.codeValue), this.optionBack);
|
|
|
+ this.getAllWorkDicts()
|
|
|
+ if (inSave) {
|
|
|
+ this.$message.success("重置成功");
|
|
|
+ this.$refs.crud.$refs.dialogColumn.columnBox = false;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.page-crad ::v-deep .basic-container__card {
|
|
|
+ height: 94.2vh;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-table__expanded-cell[class*="cell"] {
|
|
|
+ padding: 0px;
|
|
|
+}
|
|
|
+
|
|
|
+.itemTable ::v-deep .el-table {
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+</style>
|