This commit is contained in:
bryan sun
2019-10-28 14:12:51 +08:00
parent df888712b4
commit 80c11ee65d
2 changed files with 8 additions and 17 deletions

View File

@@ -48,15 +48,4 @@ export function gettabledata1(num) {
}
})
}
// 编辑完成时间
export function editdata(processSerialNumber) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间生产管理工艺_加工进度查询_查询',
param: '工艺计划流水号=' + processSerialNumber + '=int'
}
})
}

View File

@@ -27,6 +27,7 @@
<el-card>
<el-table
:data="tableData1"
:row-class-name="tableRowClassName"
loading="loading"
class="table"
style="max-height: 830px"
@@ -321,11 +322,12 @@ export default {
// this.isShow = true
// }
// },
// 完成日期变色
tableRowClassName({ row, rowIndex }) {
// row.index = rowIndex
// if (row.完成日期 === '') {
return 'CJPClingjianjinxing'
// }
row.index = rowIndex
if (row.完成日期 !== '') {
return 'CompleteColor'
}
},
handleSizeChange(val) {
this.pageSize = val
@@ -340,7 +342,7 @@ export default {
</script>
<style>
.CJPClingjianjinxing{
.CompleteColor{
background: #9bd7fc !important;
}
</style>