loulijun2021
2022-08-29 1d739783b70e11e964d86a882b00c20d2e000997
src/views/scgl/scdd.vue
@@ -236,14 +236,24 @@
            prop="planstartdate"
            label="预计开工时间"
            sortable="custom"
            width="160"
          />
            width="130"
          >
            <template slot-scope="{row}">
              <div v-if="row.planstartdate">{{ row.planstartdate.substring(0,11) }}</div>
              <div v-else>/</div>
            </template>
          </el-table-column>
          <el-table-column
            prop="planenddate"
            label="预计完工时间"
            sortable="custom"
            width="160"
          />
            width="130"
          >
            <template slot-scope="{row}">
              <div v-if="row.planenddate">{{ row.planenddate.substring(0,11) }}</div>
              <div v-else>/</div>
            </template>
          </el-table-column>
          <el-table-column
            prop="createuser"
            label="创建人员"
@@ -258,9 +268,14 @@
          <el-table-column
            prop="createdate"
            label="创建时间"
            width="160"
            width="130"
            sortable="custom"
          />
          >
            <template slot-scope="{row}">
              <div v-if="row.createdate">{{ row.createdate.substring(0,11) }}</div>
              <div v-else>/</div>
            </template>
          </el-table-column>
          <el-table-column
            label="操作"
            fixed="right"
@@ -432,7 +447,6 @@
        { code: 'CLOSED', name: '已关闭' }
      ],
      total: 10,
      radioSelected: '',
      radioSelectedId: '',
      tableData: [],
      dialogVisible: false,
@@ -581,8 +595,6 @@
    },
    // 单选框选中获取当前行信息
    getCurrentRow(id) {
      // console.log(row, 2)
      // this.radioSelected = row.wo
      this.radioSelectedId = id
    },
    // 订单关闭
@@ -604,7 +616,6 @@
                if (res.code === '200') {
                  this.$message.success('订单关闭成功!')
                  this.getErpOrderSearch()
                  // this.radioSelected = ''
                }
              })
            }).catch(() => {