zouyu
2023-12-28 7b8e525766b1676931f164d7ee5994e166fad1f7
	modified:   src/views/plan/productionschedul/index.vue
已修改1个文件
27 ■■■■ 文件已修改
src/views/plan/productionschedul/index.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plan/productionschedul/index.vue
@@ -3,7 +3,7 @@
    <basic-container>
      <el-row>
        <el-col :span="14" style="height:100vh">
          <el-row style="height:50%;padding:0px 10px;">
          <el-row style="height:70%;padding:0px 10px;">
            <el-col :span="24">
              <div>
                <span style="position: relative;top:40px;color:#E84738">未完成</span>
@@ -42,7 +42,7 @@
              </div>
            </el-col>
          </el-row>
          <el-row style="height:50%;padding:0px 10px;">
          <el-row style="height:30%;padding:0px 10px;">
            <el-col :span="24">
              <div>
                <span style="position: relative;top:0px;color:#34BD66">已完成</span>
@@ -79,6 +79,8 @@
                <el-timeline>
                    <el-timeline-item
                      placement="top"
                      :color="(item.planTime||item.actualTime) ? '#34BD66' :null"
                      :icon="(item.planTime||item.actualTime) ? 'el-icon-circle-check' :null"
                      v-for="(item, index) in scheduleList"
                      :key="index"
                      :timestamp="item.title">
@@ -223,7 +225,7 @@
          prop:'id',
          order:'descending'
        },
        height: 230,
        height: 360,
        selection: true,
        columnBtn: false,
        index: true,
@@ -333,7 +335,7 @@
          prop:'id',
          order:'descending'
        },
        height: 250,
        height: 150,
        selection: true,
        columnBtn: false,
        index: true,
@@ -660,18 +662,17 @@
      }
    },
    selectionRow(val){
      // if (val.length > 1) {
      //   const preVal = val.shift();
      //   this.$refs.crud.toggleRowSelection(preVal, false);
      // }
      // else{
      //   this.scheduleList=[]
      // }
      if (val.length > 1) {
        const preVal = val.shift();
        this.$refs.crud.toggleRowSelection(preVal, false);
      }
      else{
        this.scheduleList=[]
      }
      this.multipleSelection = val
      // this.getScheduleById(val[0].id)
      this.getScheduleById(val[0].mid)
    },
    selectionFinishedRow(val){
      console.log(val);
      if (val.length > 1) {
        const preVal = val.shift();
        this.$refs.finished.toggleRowSelection(preVal, false);