From 4a6d69f3ff895918b1b8f1e8e9b122ed8fcd5afa Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 24 十一月 2022 17:15:47 +0800
Subject: [PATCH] 1.自动排程实现静态部分
---
src/views/scgl/cngh.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/views/scgl/cngh.vue b/src/views/scgl/cngh.vue
index 04964ae..8e49ea7 100644
--- a/src/views/scgl/cngh.vue
+++ b/src/views/scgl/cngh.vue
@@ -13,7 +13,7 @@
inline
style="display: flex;justify-content: space-between"
>
- <div class="elForm" style="justify-content: flex-start">
+ <div class="elForm">
<el-form-item label-width="70px" label="鐢熶骇杞﹂棿" style=" display: flex;">
<el-select
v-model="form.workshop"
@@ -125,7 +125,9 @@
min-width="300"
>
<template slot-scope="{row}">
+ <el-input v-if="row.CaptPlanWorkShift===null" :disabled="row.CaptPlanWorkShift===null" />
<date-picker
+ v-else
v-model="row.CaptPlanShopCalendarList"
:row-data="row"
style="width: 100%;"
@@ -203,6 +205,7 @@
highlight-current-row
:header-cell-style="this.$headerCellStyle"
:cell-style="this.$cellStyle"
+ @row-click="rowClick"
>
<el-table-column
@@ -214,8 +217,9 @@
v-model="radioSelectedCode"
:label="row.code"
style="padding-left: 10px;"
- @change.native="getCurrentRowSource(row.code)"
/>
+ <!-- @change.native="getCurrentRowSource(row.code)"-->
+
</template>
</el-table-column>
<el-table-column
@@ -659,6 +663,10 @@
this.getHeight()
},
methods: {
+ // 琛岀偣鍑讳簨浠�
+ rowClick(row, event, column) {
+ this.radioSelectedCode = row.code
+ },
// 瀛愮粍浠跺け鐒︽椂鎵ц
over(val) {
if (val) {
--
Gitblit v1.9.3