This commit is contained in:
chenjianan
2019-04-11 09:31:52 +08:00
parent c84d4ff323
commit 4a19c288c8

View File

@@ -33,7 +33,7 @@
</el-card>
<el-card>
<h3 style="display: inline-block;margin: 0 0 10px 0">总计划:</h3>
<h2 style="display: inline-block;margin: 0 0 10px 0">总计划:</h2>
<el-table v-loading="loading" :data="tableData" height="750" highlight-current-row style="width: 100%;" border element-loading-text="拼命加载中">
<el-table-column label="项目编号" align="center" width="140px" fixed="left">
<template slot-scope="scope">
@@ -182,8 +182,8 @@
</el-card>
<el-card>
<h3 style="display: inline-block;margin: 0">子计划:</h3>
<el-button size="small" icon="el-icon-circle-plus" type="primary" style="margin-left: 10px" @click="addTable()">增加</el-button>
<h2 style="width: 400px;float:left;display: inline-block;margin: 0 0 10px 0">子计划{{ machineNum }}</h2>
<el-button size="small" icon="el-icon-circle-plus" type="primary" style="float:left;margin: 7px 0 0 0" @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">
@@ -293,6 +293,7 @@ import { getProject, getCustomerName, getToolNum, searchtable, editTable, search
export default {
data() {
return {
machineNum: '',
jichuang: '',
title: '',
tableData2: [],
@@ -444,6 +445,7 @@ export default {
},
// 查询表格2数据
openDialog(row) {
this.machineNum = row.机床图号
this.loading2 = true
this.tableData2 = []
if (this.code === 1) {