From bc16d211c5a2b31f0e3127a102748806151eaecb Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 14 十二月 2023 16:23:19 +0800 Subject: [PATCH] modified: src/const/crud/customerOrder/customerOrderForm.js modified: src/views/plan/operationtask/operationtask-form.vue modified: src/views/product/workbench/operation-task-pane.vue modified: src/views/product/workbench/taskinfo-pane.vue modified: src/views/product/workbench/workReportCard.vue modified: src/views/quality/finishedProductInspection/finishedProduct-form.vue modified: src/views/quality/newReport/ReportForm.vue modified: src/views/quality/processInspect/processInspect-form.vue modified: src/views/quality/rawMaterial/rawMaterial-form.vue modified: src/views/quality/teststandard/standard-form.vue modified: src/views/technology/completeproductstructure/completeproductstructure-form.vue modified: src/views/technology/document/document-form.vue modified: src/views/technology/operation/operation-form.vue modified: src/views/technology/routing/routing-form.vue modified: src/views/warehouse/changestock/index.vue --- src/views/common/ztt-table.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue index e9cb8d8..fb445e3 100644 --- a/src/views/common/ztt-table.vue +++ b/src/views/common/ztt-table.vue @@ -245,6 +245,7 @@ :show-overflow-tooltip="!item.noShowTip" :width="inMemoryColWidth[item.prop] || item.width" :prop="item.prop" + align="center" > <template slot="header" slot-scope="scope"> <template v-if="item.isSearch"> @@ -324,7 +325,7 @@ <template v-if="!item.render"> <template v-if="item.formatter"> <span v-if="item.isTag" style="text-align: center;"> - <el-tag style="width:50px;margin: 3px;" :type="scope.row[item.prop] == 0 ? 'success' : 'info'"> + <el-tag style="width:60px;margin: 3px;" :type="scope.row[item.prop] == 0 ? 'success' : 'info'"> <span v-html="item.formatter(scope.row, item, scope.row[item.prop])"></span> </el-tag> </span> @@ -397,6 +398,7 @@ @size-change="sizeChangeHandle" :page-sizes="[10, 20, 50, 100]" :page-size="pagination.pageSize" + :page-count="pagination.size" :layout=" size ? 'total, prev, pager, next' @@ -718,6 +720,7 @@ currentPage: this.table.currentPage == null ? 1 : this.table.currentPage, pageSize: this.table.pageSize == null ? 20 : this.table.pageSize, + size: this.table.size == null ? 7 : this.table.size, total: this.table.total == null ? 0 : this.table.total }, // 鍒嗛〉淇℃伅 inMemoryColWidth: {}, // 璁板繂涓垪瀹斤紝榛樿鍒楀 @@ -1401,7 +1404,6 @@ } } } - console.log(this.multipleSelection) this.$emit('handleSelectionChange', this.multipleSelection) } else { this.multipleSelection = val @@ -1536,7 +1538,6 @@ } } } - console.log(this.columnList); this.tableKey = Math.random() // this.$forceUpdate(); const currPathColumnOrder = this.currPath + '_column' @@ -1578,10 +1579,18 @@ if (response.code != '0') { this.$message.warning(response.msg) } else { + if(response.data!=""&&response.data!=[]&&response.data!=null){ + this.$message({ + message: response.data, + type: 'success' + }) + }else{ this.$message({ message: '涓婁紶鎴愬姛', type: 'success' }) + } + this.importDialogVisible=false this.getDataList() } this.$refs.uploadScan.clearFiles() -- Gitblit v1.9.3