From e66eb61ad006d057fec6b44b5e9f4b6b920c611e Mon Sep 17 00:00:00 2001 From: zds <2388969634@qq.com> Date: Mon, 26 Aug 2024 15:53:02 +0800 Subject: [PATCH] =?UTF-8?q?opt:=E4=BC=98=E5=8C=96=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=A1=B5=E9=9D=A2=E3=80=81=E7=82=B9=E4=BD=8D?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/wms/sch/point/index.vue | 72 +++++++------------ .../src/views/wms/sch/task/config/index.vue | 67 +++++++++-------- 2 files changed, 62 insertions(+), 77 deletions(-) diff --git a/lms/nladmin-ui/src/views/wms/sch/point/index.vue b/lms/nladmin-ui/src/views/wms/sch/point/index.vue index d829c79..910a6c6 100644 --- a/lms/nladmin-ui/src/views/wms/sch/point/index.vue +++ b/lms/nladmin-ui/src/views/wms/sch/point/index.vue @@ -175,17 +175,6 @@ > 禁用 - - - @@ -305,7 +284,7 @@ @@ -316,21 +295,10 @@ - - - - - - @@ -587,16 +547,19 @@ export default { this.crud.query.point_type = null this.crud.query.point_status = null this.hand() - }, openReasonDialog(row) { + }, + openReasonDialog(row) { // 打开选择原因的对话框 this.reasonDialogVisible = true // 这里可以将row存储到data中,以便在提交时使用 this.selectedRow = row - }, closeReasonDialog() { + }, + closeReasonDialog() { // 关闭选择原因的对话框 this.reasonDialogVisible = false this.$refs['reasonForm'].resetFields() - }, submitReason() { + }, + submitReason() { // 提交选择的原因到后端接口 const data = { reason: this.reasonForm.reason, @@ -617,9 +580,26 @@ export default { console.error('提交失败,废包材位有货', error) this.$message.error('提交失败,废包材位有货') }) - }, showConfirmationDialog() { + }, + showConfirmationDialog() { this.dialogVisible = true }, + mysubmit(){ + // 弹出输入回温时间和回温模式的对话框 + this.$confirm('当前货位信息发生变更,请确认货位信息与实际一致', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + console.log('提交') + this.crud.submitCU('form') + }).catch(() => { + this.$message({ + type: 'info', + message: '已取消删除' + }); + }); + }, confirmMove() { this.$axios.post('/api/schBaseTask/move', { }) .then(response => { diff --git a/lms/nladmin-ui/src/views/wms/sch/task/config/index.vue b/lms/nladmin-ui/src/views/wms/sch/task/config/index.vue index 7bf460c..ca262ee 100644 --- a/lms/nladmin-ui/src/views/wms/sch/task/config/index.vue +++ b/lms/nladmin-ui/src/views/wms/sch/task/config/index.vue @@ -47,6 +47,7 @@ v-model="form.workshop_code" placeholder="请选择" style="width: 240px;" + disabled > - + - + - + - + - + @@ -107,12 +110,12 @@ - + @@ -121,12 +124,12 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +