项目管理

This commit is contained in:
liushuai
2019-04-19 17:51:24 +08:00
parent f6033a7ceb
commit 9599dc2eae
4 changed files with 77 additions and 11 deletions

View File

@@ -90,7 +90,7 @@
</template>
</template>
</el-table-column>
<el-table-column label="发图" align="center" width="150px">
<el-table-column label="发图(计划)" align="center" width="150px">
<template slot-scope="scope">
<template v-if="scope.row.edit">
<el-date-picker v-model="scope.row.机床设计完成时间" value-format="yyyy-MM-dd" size="mini" type="date" style="width: 100%"/>
@@ -100,7 +100,12 @@
</template>
</template>
</el-table-column>
<el-table-column label="采购" align="center" width="150px">
<el-table-column label="发图(实际)" align="center" width="150px">
<template slot-scope="scope">
<div class="bold-font">{{ scope.row.机床设计实际完成时间 }}</div>
</template>
</el-table-column>
<el-table-column label="采购(计划)" align="center" width="150px">
<template slot-scope="scope">
<template v-if="scope.row.edit">
<el-date-picker v-model="scope.row.采购完成时间" value-format="yyyy-MM-dd" size="mini" type="date" style="width: 100%"/>
@@ -110,7 +115,12 @@
</template>
</template>
</el-table-column>
<el-table-column label="备料" align="center" width="150px">
<el-table-column label="采购(实际)" align="center" width="150px">
<template slot-scope="scope">
<div class="bold-font">{{ scope.row.采购实际完成时间 }}</div>
</template>
</el-table-column>
<el-table-column label="备料(计划)" align="center" width="150px">
<template slot-scope="scope">
<template v-if="scope.row.edit">
<el-date-picker v-model="scope.row.备料完成时间" value-format="yyyy-MM-dd" size="mini" type="date" style="width: 100%"/>
@@ -120,7 +130,12 @@
</template>
</template>
</el-table-column>
<el-table-column label="制造" align="center" width="150px">
<el-table-column label="备料(实际)" align="center" width="150px">
<template slot-scope="scope">
<div class="bold-font">{{ scope.row.备料实际完成时间 }}</div>
</template>
</el-table-column>
<el-table-column label="制造(计划)" align="center" width="150px">
<template slot-scope="scope">
<template v-if="scope.row.edit">
<el-date-picker v-model="scope.row.机床生产完成时间" value-format="yyyy-MM-dd" size="mini" type="date" style="width: 100%"/>
@@ -130,7 +145,12 @@
</template>
</template>
</el-table-column>
<el-table-column label="装配" align="center" width="150px">
<el-table-column label="制造(实际)" align="center" width="150px">
<template slot-scope="scope">
<div class="bold-font">{{ scope.row.机床生产实际完成时间 }}</div>
</template>
</el-table-column>
<el-table-column label="装配(计划)" align="center" width="150px">
<template slot-scope="scope">
<template v-if="scope.row.edit">
<el-date-picker v-model="scope.row.机床装配完成时间" value-format="yyyy-MM-dd" size="mini" type="date" style="width: 100%"/>
@@ -140,6 +160,11 @@
</template>
</template>
</el-table-column>
<el-table-column label="装配(实际)" align="center" width="150px">
<template slot-scope="scope">
<div class="bold-font">{{ scope.row.机床装配实际完成时间 }}</div>
</template>
</el-table-column>
<!--<el-table-column label="顺序" align="center" width="100px">-->
<!--<template slot-scope="scope">-->
<!--<template v-if="scope.row.edit">-->
@@ -415,6 +440,21 @@ export default {
if (response.data.rows[i].机床装配完成时间 !== '' && response.data.rows[i].机床装配完成时间 !== null) {
response.data.rows[i].机床装配完成时间 = response.data.rows[i].机床装配完成时间.split(' ')[0]
}
if (response.data.rows[i].机床设计实际完成时间 !== '' && response.data.rows[i].机床设计实际完成时间 !== null) {
response.data.rows[i].机床设计实际完成时间 = response.data.rows[i].机床设计实际完成时间.split(' ')[0]
}
if (response.data.rows[i].采购实际完成时间 !== '' && response.data.rows[i].采购实际完成时间 !== null) {
response.data.rows[i].采购实际完成时间 = response.data.rows[i].采购实际完成时间.split(' ')[0]
}
if (response.data.rows[i].备料实际完成时间 !== '' && response.data.rows[i].备料实际完成时间 !== null) {
response.data.rows[i].备料实际完成时间 = response.data.rows[i].备料实际完成时间.split(' ')[0]
}
if (response.data.rows[i].机床生产实际完成时间 !== '' && response.data.rows[i].机床生产实际完成时间 !== null) {
response.data.rows[i].机床生产实际完成时间 = response.data.rows[i].机床生产实际完成时间.split(' ')[0]
}
if (response.data.rows[i].机床装配实际完成时间 !== '' && response.data.rows[i].机床装配实际完成时间 !== null) {
response.data.rows[i].机床装配实际完成时间 = response.data.rows[i].机床装配实际完成时间.split(' ')[0]
}
this.tableData.push({
edit: false,
项目编号: response.data.rows[i].项目编号,
@@ -431,6 +471,11 @@ export default {
备料完成时间: response.data.rows[i].备料完成时间,
机床生产完成时间: response.data.rows[i].机床生产完成时间,
机床装配完成时间: response.data.rows[i].机床装配完成时间,
机床设计实际完成时间: response.data.rows[i].机床设计实际完成时间,
采购实际完成时间: response.data.rows[i].采购实际完成时间,
备料实际完成时间: response.data.rows[i].备料实际完成时间,
机床生产实际完成时间: response.data.rows[i].机床生产实际完成时间,
机床装配实际完成时间: response.data.rows[i].机床装配实际完成时间,
完成顺序: response.data.rows[i].完成顺序,
更新: response.data.rows[i].更新,
项目流水号: response.data.rows[i].项目流水号,