style
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<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 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">
|
<el-table-column label="项目编号" align="center" width="140px" fixed="left">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -182,8 +182,8 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<el-card>
|
<el-card>
|
||||||
<h3 style="display: inline-block;margin: 0">子计划:</h3>
|
<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="margin-left: 10px" @click="addTable()">增加</el-button>
|
<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 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">
|
<el-table-column min-width="100px" label="组号" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -293,6 +293,7 @@ import { getProject, getCustomerName, getToolNum, searchtable, editTable, search
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
machineNum: '',
|
||||||
jichuang: '',
|
jichuang: '',
|
||||||
title: '',
|
title: '',
|
||||||
tableData2: [],
|
tableData2: [],
|
||||||
@@ -444,6 +445,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 查询表格2数据
|
// 查询表格2数据
|
||||||
openDialog(row) {
|
openDialog(row) {
|
||||||
|
this.machineNum = row.机床图号
|
||||||
this.loading2 = true
|
this.loading2 = true
|
||||||
this.tableData2 = []
|
this.tableData2 = []
|
||||||
if (this.code === 1) {
|
if (this.code === 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user