aa
This commit is contained in:
@@ -48,15 +48,4 @@ export function gettabledata1(num) {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 编辑完成时间
|
||||
export function editdata(processSerialNumber) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工进度查询_查询',
|
||||
param: '工艺计划流水号=' + processSerialNumber + '=int'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user