项目计划管理查询
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<!-- <h3 style="display: inline-block;margin: 0 0 0 20px">客户名称:</h3> -->
|
||||
<el-input v-model="CustomerNameValue" placeholder="客户名称" size="small" clearable style="width:200px"/>
|
||||
<el-button size="small" icon="el-icon-search" type="primary" plain style="margin-left: 10px" @click="pageSize=10; pageCurrent=1;searchTable()">查询</el-button>
|
||||
<el-button size="small" style="margin: 0px 0px 3px 750px" type="warning" icon="el-icon-edit-outline" plain @click="editPro()">保存</el-button>
|
||||
<el-button size="small" style="margin: 0px 0px 3px 680px" type="success" icon="el-icon-edit-outline" plain @click="editPro()">保存</el-button>
|
||||
</el-row>
|
||||
<el-row v-if="false">
|
||||
<h3 style="display: inline-block;margin: 0">签订日期:</h3>
|
||||
@@ -87,6 +87,16 @@
|
||||
{{ scope.row.安装调试节点 !== '1900/1/1' ? scope.row.安装调试节点 : '' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="项目生成" align="center" width="100px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.项目生成 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划制定" align="center" width="100px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.项目计划制定人 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column v-if="false" label="操作" width="150px" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button v-if="scope.row.edit" type="success" size="small" @click="confirmEdit(scope.row)">确定</el-button>
|
||||
@@ -224,7 +234,7 @@
|
||||
<span v-if="radio==='3'" style="float:left;margin: 10px 0 10px 0">子计划:{{ machineNum }} 备料</span>
|
||||
<span v-if="radio==='4'" style="float:left;margin: 10px 0 10px 0">子计划:{{ machineNum }} 制造</span>
|
||||
<span v-if="radio==='5'" style="float:left;margin: 10px 0 10px 0">子计划:{{ machineNum }} 装配</span>
|
||||
<el-button size="small" icon="el-icon-circle-plus" type="warning" style="float:left;margin: 5px 0 3px 10px" plain @click="addTable()">增加</el-button>
|
||||
<el-button size="small" icon="el-icon-circle-plus" type="warning" style="float:right;margin: 5px 100px 3px 0px" plain @click="addTable()">计划</el-button>
|
||||
<el-table v-loading="loading2" :data="tableData2" style="margin-top: 10px;width: 100%;" stripe border element-loading-text="拼命加载中">
|
||||
<el-table-column min-width="100px" label="组号" align="center">
|
||||
<template slot-scope="scope">
|
||||
@@ -338,6 +348,8 @@
|
||||
|
||||
<script>
|
||||
import { getProject, getCustomerName, searchgroupName, getToolNum, searchtable, editTable, searchTable2, searchgroup, addTable, editTable2, Delete } from '@/api/ManufacturingCenter/ProjectPlanningManagement'
|
||||
import { mapGetters } from 'vuex'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -379,6 +391,11 @@ export default {
|
||||
pageCurrent: 1 // 后台获取页
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapGetters([
|
||||
'id'
|
||||
])
|
||||
},
|
||||
watch: {
|
||||
radio(val) {
|
||||
if (this.项目流水号) {
|
||||
@@ -496,7 +513,9 @@ 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].项目计划制定人
|
||||
})
|
||||
}
|
||||
this.total = response.data.total
|
||||
@@ -535,7 +554,7 @@ export default {
|
||||
this.备料完成 ? this.备料完成 : this.备料完成 = null
|
||||
this.制造完成 ? this.制造完成 : this.制造完成 = null
|
||||
this.装配完成 ? this.装配完成 : this.装配完成 = null
|
||||
editTable(this.项目流水号, this.机床流水号, this.项目编号, this.设计者, this.审图开始, this.审图结束, '', this.发图完成, this.采购完成, this.备料完成, this.制造完成, this.装配完成, '', this.更新时间).then(response => {
|
||||
editTable(this.项目流水号, this.机床流水号, this.项目编号, this.设计者, this.审图开始, this.审图结束, '', this.发图完成, this.采购完成, this.备料完成, this.制造完成, this.装配完成, '', this.更新时间, this.id).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.tableData.map(v => {
|
||||
if (v.项目流水号 === this.项目流水号) {
|
||||
|
||||
@@ -98,6 +98,16 @@
|
||||
{{ scope.row.安装调试节点 !== '1900/1/1' ? scope.row.安装调试节点 : '' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="项目生成" align="center" width="100px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.项目生成 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划制定" align="center" width="100px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.项目计划制定人 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column v-if="false" label="操作" width="150px" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button v-if="scope.row.edit" type="success" size="small" @click="confirmEdit(scope.row)">确定</el-button>
|
||||
|
||||
Reference in New Issue
Block a user