| | |
| | | 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="创建人员" |
| | |
| | | <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" |
| | |
| | | { code: 'CLOSED', name: '已关闭' } |
| | | ], |
| | | total: 10, |
| | | radioSelected: '', |
| | | radioSelectedId: '', |
| | | tableData: [], |
| | | dialogVisible: false, |
| | |
| | | }, |
| | | // 单选框选中获取当前行信息 |
| | | getCurrentRow(id) { |
| | | // console.log(row, 2) |
| | | // this.radioSelected = row.wo |
| | | this.radioSelectedId = id |
| | | }, |
| | | // 订单关闭 |
| | |
| | | if (res.code === '200') { |
| | | this.$message.success('订单关闭成功!') |
| | | this.getErpOrderSearch() |
| | | // this.radioSelected = '' |
| | | } |
| | | }) |
| | | }).catch(() => { |