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 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +