From 4ef06d948899e393515bd62819f4f773766f9449 Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期六, 16 七月 2022 13:16:42 +0800 Subject: [PATCH] 提交代码 --- src/views/device/batch/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/device/batch/index.vue b/src/views/device/batch/index.vue index 849c95b..3a92880 100644 --- a/src/views/device/batch/index.vue +++ b/src/views/device/batch/index.vue @@ -75,7 +75,7 @@ <span>{{ scope.$index + (queryParams.pageNum - 1) * queryParams.pageSize + 1 }} </span> </template> </el-table-column> - <el-table-column label="鐢熶骇鎵规" align="center" prop="batch" /> + <el-table-column label="鐢熶骇鎵规" align="center" prop="batch" show-overflow-tooltip/> <el-table-column label="涓嬪崟鏃ユ湡" align="center" prop="orderDate" width="180"> <template slot-scope="scope"> <span>{{ parseTime(scope.row.orderDate, '{y}-{m}-{d}') }}</span> @@ -86,7 +86,7 @@ <span>{{ parseTime(scope.row.arrivalDate, '{y}-{m}-{d}') }}</span> </template> </el-table-column> - <el-table-column label="鎵规璇存槑" align="center" prop="illustrate" /> + <el-table-column label="鎵规璇存槑" align="center" prop="illustrate" show-overflow-tooltip /> <el-table-column label="鎿嶄綔" fixed="right" width="120" align="center" class-name="small-padding fixed-width"> <template slot-scope="scope"> <el-button @@ -117,7 +117,7 @@ /> <!-- 娣诲姞鎴栦慨鏀圭敓浜ф壒娆″璇濇 --> - <el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="500px" append-to-body> + <Dialog :title="title" :visible.sync="open" width="500px" :append-to-body="true" :close-on-click-modal="false"> <el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form-item label="鐢熶骇鎵规" prop="batch"> <el-input v-model="form.batch" placeholder="璇疯緭鍏ョ敓浜ф壒娆�" /> @@ -146,7 +146,7 @@ <el-button :loading="buttonLoading" type="primary" @click="submitForm">纭� 瀹�</el-button> <el-button @click="cancel">鍙� 娑�</el-button> </div> - </el-dialog> + </Dialog> </div> </template> @@ -302,7 +302,7 @@ /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { const ids = row.id || this.ids; - this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(() => { + this.$modal.confirm(`鏄惁纭鍒犻櫎鐢熶骇鎵规涓�"${row.batch}"鐨勭敓浜ф壒娆★紵`).then(() => { this.loading = true; return delBatch(ids); }).then(() => { -- Gitblit v1.9.1